Home

Awesome

<a href="https://107-systems.org/"><img align="right" src="https://raw.githubusercontent.com/107-systems/.github/main/logo/107-systems.png" width="15%"></a> :floppy_disk: l3xz_joy

Build Status Spell Check status

A generic PS3 joystick driver for feeding the l3xz_teleop node.

<p align="center"> <a href="https://github.com/107-systems/l3xz"><img src="https://raw.githubusercontent.com/107-systems/.github/main/logo/l3xz-logo-memento-mori-github.png" width="40%"></a> </p>

How-to-build

cd $COLCON_WS/src
git clone https://github.com/107-systems/l3xz_joy
cd $COLCON_WS
source /opt/ros/humble/setup.bash
colcon build --packages-select l3xz_joy

How-to-run

cd $COLCON_WS
. install/setup.bash
ros2 launch l3xz_joy joy.py

Display the published messages by

ros2 topic echo /l3xz/joy

Interface Documentation

Published Topics
Default nameType
/joysensor_msgs/Joy
Parameters
NameDefaultDescription
joy_dev_node/dev/input/js0Name of input device node under which joystick is registered in Linux.
joy_topic/joyName of topic for publishing the joystick message.
joy_topic_publish_period_ms50Publishing period for the joystick message in milliseconds (ms).
joy_topic_deadline_ms100Deadline in milliseconds within which publishing of a new joystick message is expected.
joy_topic_liveliness_lease_duration1000The time within which the RMW node or publisher must show that it is alive.
joy_deadzone0.01Deadzone of the joystick, if the axis value is below this value than 0.0 is reported instead.