ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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.