how to set parameter in rosrun command line?
my code:
ros::NodeHandle priv_nh("~");
priv_nh.getParam ("filename", filename_);
i use:
rosrun my_package my_node _filename:=test
it is not working.
Please show a complete piece of code. There is a chance you are missing some lines which could cause the problems you are having.