ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you want to use ROS parameters in your C++ code, you need to explicitly read those parameters into a variable.
I'd suggest you go through the ROS C++ parameters tutorial
2 | No.2 Revision |
If you want to use ROS parameters in your C++ code, you need to explicitly read those parameters into a variable.
I'd suggest you go through the ROS C++ parameters tutorial
When you declare a parameter with a <param>
tag in a launch file, you're creating a private parameter within that node's namespace, so you should also read through the tutorial on private namespaces: Accessing Private Names from a NodeHandle (roscpp)