-
Notifications
You must be signed in to change notification settings - Fork 298
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
A method to get node options to setup the controller node #api-breaking #1169
Changes from all commits
7c4b4cd
39135c4
fbbdda5
b8985d2
143aa93
5ef12fa
7621fef
abbf271
439eae0
a0c1341
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
controller_name: | ||
ros__parameters: | ||
parameter_list: | ||
parameter1: 20.0 | ||
parameter2: 23.14 | ||
parameter3: -52.323 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,14 +31,6 @@ TestControllerFailedInit::on_init() | |
return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::FAILURE; | ||
} | ||
|
||
controller_interface::return_type TestControllerFailedInit::init( | ||
const std::string & /* controller_name */, const std::string & /* urdf */, | ||
unsigned int /*cm_update_rate*/, const std::string & /*node_namespace*/, | ||
const rclcpp::NodeOptions & /*node_options*/) | ||
{ | ||
return controller_interface::return_type::ERROR; | ||
} | ||
|
||
Comment on lines
-34
to
-41
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. Shouldn't we still keep this test? What I understand, you are here not moving the node options only, but changing how init is provoking error in this case. It could be that I am missing a detail or something. 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. Ideally, you don't need to have this as the same behavior will be achieved as the main |
||
controller_interface::return_type TestControllerFailedInit::update( | ||
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/) | ||
{ | ||
|
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.
@destogl @bmagyar @christophfroehlich These tests should give you guys an idea on how we are going to tackle in the CM with the other PR