-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Ignore global parameters when spawning sub-nodes #851
Changes from 4 commits
0633e23
3f8e650
b40f275
4efce6f
ac09676
0f3cb80
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 |
---|---|---|
|
@@ -67,9 +67,9 @@ rclcpp::Node::SharedPtr generate_internal_node(const std::string & prefix) | |
{ | ||
rclcpp::NodeOptions options; | ||
options.use_global_arguments(false); | ||
options.start_parameter_services(false); | ||
options.start_parameter_event_publisher(false); | ||
return rclcpp::Node::make_shared(generate_internal_node_name(prefix)); | ||
// options.start_parameter_services(false); | ||
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. Prefer removing commented-out code. I'm generally not a fan of leaving commented-out code around for documentation purposes, but would instead rather have it in the revision history and keep the current code as clean as possible. 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. Done |
||
// options.start_parameter_event_publisher(false); | ||
return rclcpp::Node::make_shared(generate_internal_node_name(prefix), options); | ||
} | ||
|
||
rclcpp::NodeOptions | ||
|
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.
Looks like the code is exceeding 100 columns here and will fail the cpplint tool. Please run ament_cpplint and ament_uncrustify. We're trying to get all code to pass cleanly.