Gazebo | Ignition | Community
Ask Your Question

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?

asked 2016-03-04 13:20:56 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-05 16:03:01 -0500

chapulina gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-04 13:20:56 -0500

Seen: 1,604 times

Last updated: Mar 05 '16