Robotics StackExchange | Archived questions

How can I use a gamepad with Gazebo? Is ROS required for that? Do I need to build Gazebo with a certain compile-time option?

Hi. I'm trying to get started with Gazebo by playing around. I am running Linux, and I have a working joypad available at /dev/input/js1, /dev/input/event22, and /dev/hidraw6. The permissions for all 3 device nodes is ugo+rw. I don't see anywhere in the Gazebo user interface to configure a controller, and I can hardly find any instructions online. All that I do find seem to require ROS. Is there any way to do this without ROS?

Asked by pxc on 2016-03-04 14:20:56 UTC

Comments

Answers

It's possible to use it only with Gazebo, but you'll probably have to write a custom plugin to make that work.

Take a look for example on the support for the Razer Hydra controllers. Here's a tutorial on how to use it and here's the relevant plugin code.

Asked by chapulina on 2016-03-05 17:03:01 UTC

Comments