Ask Your Question
0

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
2

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: http://docs.ros.org/lunar/api/rviz_pl...

edit flag offensive delete link more

Comments

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 imageRavi 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

3 followers

Stats

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

Seen: 96 times

Last updated: Jan 11 '18