ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
By default yes you must declare parameters, but there is an option to opt out. To opt out, set allow_undeclared_parameters to true
. Here is an example.
In many cases you know all the parameters that your node can use. In these cases you should use the default behavior and declare your parameters.