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

Menu and parameter passing issue

asked 2012-09-28 17:25:42 -0500

alfa_80 gravatar image

updated 2012-09-29 11:20:21 -0500

joq gravatar image

I would like to ask several things regarding my implementation issue in menu setup.

  1. When I set up a menu, just popping up a menu to select at run-time in the terminal, my menu will not be able to be read by user because the terminal is flooded/surrounded by a lot of messages published by other nodes. Perhaps there is a way we can set so that it gives a priority for that node of interest to be read its menu. Any idea to set in launch file? Also,the strange thing, the menu information is not even appeared, even I've coded using ROS_INFO(), not std::cout.

  2. When popping up a menu, a user will enter his/her choice, and with that choice it triggers a parameter in my code. How do I do this in ROS because I don't want to pass in argv[] argument. I want the parameter to be set after the command is run, not while the command is run.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-29 08:53:16 -0500

joq gravatar image

Dynamic reconfigure seems like a good solution for the problem you describe.

edit flag offensive delete link more

Question Tools


Asked: 2012-09-28 17:25:42 -0500

Seen: 194 times

Last updated: Sep 29 '12