Home | Tutorials | Wiki | Issues
Ask Your Question

Library for simple buttons and controllers

asked 2017-05-17 07:56:20 -0500

phihe gravatar image

I want to build a simulation of a robot that uses an arm and a hand to interact with an existing system consisting of various buttons and other control interfaces.

Is there somewhere a library of simple control interfaces (buttons, toggles, knobs,...) that can be used in conjunction with ROS and Gazebo?

Or otherwise a tutorial that shows how to build these kinds of models?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-17 08:29:05 -0500

updated 2017-05-17 08:44:20 -0500

I don't think there are any tutorials, but there are examples you can get an idea from. The idea is basically to add a prismatic joint to your model to make the button pressable, ideally with a spring. Then have a plugin monitor the current state of the joint, and do something once the joint is past a threshold.

Here's an example:

old answer about GUI overlays

This tutorial explains how to add an interactive button to the simulation.

edit flag offensive delete link more


Thanks, it seems that this is not what I am looking for. I want to add a physical button object into the world that can be pushed by a robot not extend the Gazebo user interface. Or did I not understand the tutorial correctly?

phihe gravatar imagephihe ( 2017-05-17 08:35:09 -0500 )edit

Ah sorry, I just read your question correctly. Let me update the answer.

chapulina gravatar imagechapulina ( 2017-05-17 08:36:31 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-05-17 07:56:20 -0500

Seen: 19 times

Last updated: May 17