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

But when I try to get parameters

rospy.get_param('/robot1/spawn/radius')

It raises KeyError: '/robot1/spawn/radius'

They are not shown in the rosparam list either.

that's because arg are not necessarily (ros)param.

args are arguments that get passed to the .launch file you include.

Whether they end up as parameters on the parameter server depends on what the included .launch file does with them.