ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Reading command line parameters is explained in the ROS CPP Tutorial on parameters. To give my_param the value val, use:

rosrun package node _my_param:=val