-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hook to generate node options in ComponentManager #1702
Changes from all commits
731e3f7
a37b38b
33e3010
9f7cedc
f28a4eb
5db2a22
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,6 +131,15 @@ class ComponentManager : public rclcpp::Node | |
create_component_factory(const ComponentResource & resource); | ||
|
||
protected: | ||
/// Create node options for loaded component | ||
/* | ||
* \param request information with the node to load | ||
* \return node options | ||
*/ | ||
RCLCPP_COMPONENTS_PUBLIC | ||
virtual rclcpp::NodeOptions | ||
CreateNodeOptions(const std::shared_ptr<LoadNode::Request> request); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I missed this when skimming before, but can we please change this to be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, I just saw that more of these methods (protected ones only) are CamelCase... so I guess this can be left as-is for now... we really need to change them though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've opened #1716 to address these style issues. |
||
|
||
/// Service callback to load a new node in the component | ||
/* | ||
* This function allows to add parameters, remap rules, a specific node, name a namespace | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this should be
/**
, but this whole file is wrong...