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

Hi all, I wanted to post the answer to my question! I figured it out!

To get the value of a param from ROS using roslibjs, you must supply the full parameter name, not a truncated version!

My application was putting all of the params that ROS reported into a collapsible/expandable tree, and was stripping the /blah/ prefix from params like /blah/blahparam.

To reiterate, to get the value of a param from ROS, you must specify /blah/blahparam, not just blahparam.

Cheers!