FurqanHabibi / joystick_ros2

Joystick driver for ROS2, support all platforms: Linux, OS X, Windows
Apache License 2.0
44 stars 22 forks source link
joystick joystick-driver joystick-ros2 linux osx ros2 windows

joystick_ros2

The first joystick driver for ROS2 created from scratch to support all platforms: Linux, OS X, Windows.

Install

# with ROS2 already sourced
$ cd <ros2_workspace>/src
$ git clone https://github.com/FurqanHabibi/joystick_ros2
$ cd ..
$ ament build

# for Linux / OS X
$ source install/local_setup.bash

# for Windows
$ call install/local_setup.bat

Usage

Supported joysticks

Windows:

- All Xinput Controller

Linux, Mac OSX:

- PS4 Controller
- Logitech F710
- Xbox One Controller

ROS2 Node

Published Topics

Notes

OS X Permissions

You probably have to use the settings application to allow gamepad input on OS X. Mac Settings