ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As a general rule (there are exceptions), you should access parameters using getPrivateNodeHandle()
, and topics via getNodeHandle()
.
That is because parameters are (generally) private to your nodelet, while topics will be shared with other nodes and nodelets.