Home

Awesome

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

Parameters

TODO : use ros2 param when it becomes available on rclpy.

Notes

OS X Permissions

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