Library for simple buttons and controllers
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?
Asked by phihe on 2017-05-17 07:56:20 UTC
Answers
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.
Asked by chapulina on 2017-05-17 08:29:05 UTC
Comments
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?
Asked by phihe on 2017-05-17 08:35:09 UTC
Ah sorry, I just read your question correctly. Let me update the answer.
Asked by chapulina on 2017-05-17 08:36:31 UTC
Comments