Ask Your Question

GUI based control in ROS

asked 2017-11-07 06:58:05 -0600

Ravi Joshi gravatar image

I am trying to develop an application, which has a robot having multiple tasks. For example task 1 can be "move left arm", task 2 can be "move both the arms", task 3 can be "start recording from the camera" etc. I have written the code for doing all these tasks in ROS using c++ and python.

At present, I can visualize robot and camera output inside RViz. However, I want to create some GUI elements such as Buttons. Button 1 can be "move left arm", similarly button 2 can be "move both the arms" etc.

I am not able to find out the documentation in order to add GUI elements in RViz. I am looking for suggestions and references. Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-11 19:48:52 -0600

tfoote gravatar image

You are going to need to create a custom rviz plugin. There are several tutorials

I think you'll likely want to first look at the New Dockable Panel which shows how to make a TeleopPanel as an example:

edit flag offensive delete link more


Thank you very much. Meanwhile, I shifted to RQT and developed a custom plugin. It was quite easy as it was based on QT on python. I will surely check your suggestion too.

Ravi Joshi gravatar image Ravi Joshi  ( 2018-01-14 22:13:34 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-11-07 06:58:05 -0600

Seen: 222 times

Last updated: Jan 11 '18