Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
/ deepracer_joy Public archive

Joystick (gamepad) control of the AWS DeepRacer

License

Notifications You must be signed in to change notification settings

athackst/deepracer_joy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deepracer_joy

This package will allow you to control your DeepRacer via joystick using ROS.

Quickstart

Run the launch file

roslaunch deepracer_joy deepracer_joy.launch joystick_device=/dev/input/js0

Detailed directions

Find your joystick device name

On linux:

cd /dev/input/
ls

My device name is /dev/input/js0.

Test your input

You can test your gamepad using jstest

sudo apt-get install jstest-gtk

sudo jstest --normal /dev/input/js0

Note: You may need to update the permissions of your device to read/write sudo chmod a+rw /dev/input/js0

Configure your joystick

I've included an example configuration file that I use with my wired Logitech gamepad.

logitech_dual_action.yaml

For the DeepRacer you need to both enable the control mode with the /enable_state rosservice and you will need to publish your commands to /manual_drive.

About

Joystick (gamepad) control of the AWS DeepRacer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages