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

You are correct as per the tutorial:

<node pkg="nxt_ros" type="nxt_ros.py" name="nxt_ros" output="screen" respawn="true"> <rosparam command="load" file="$(find learning_nxt)/robot.yaml" /> </node>

This launch file XML takes the robot.yaml file and loads the values to the ROS parameter server. It does this using the <rosparam> tags. Since it is nested in the <node> tags it sets all the parameters as private names under the nxt_ros node.

Hope this helps.