We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b6cb1 commit dc0c59aCopy full SHA for dc0c59a
controller_interface/src/controller_interface.cpp
@@ -34,7 +34,7 @@ return_type ControllerInterface::init(const std::string & controller_name)
34
35
try
36
{
37
- node_->declare_parameter("update_rate", 0);
+ auto_declare<int>("update_rate", 0);
38
}
39
catch (const std::exception & e)
40
@@ -49,7 +49,6 @@ return_type ControllerInterface::init(const std::string & controller_name)
49
case LifecycleNodeInterface::CallbackReturn::ERROR:
50
case LifecycleNodeInterface::CallbackReturn::FAILURE:
51
return return_type::ERROR;
52
- break;
53
54
55
node_->register_on_configure(
0 commit comments