joystick_drivers
joystick_drivers copied to clipboard
If starting joy before xbox controller - no controller is detected
If I start my ros2 joy node before I turn on the bluetooth xbox controller then joy doesn't detect it.
Steps to reproduce:
- Start joy node:
ros2 launch joy teleop_joy_node - Turn on xbox controller
- Start
ros2 topic echo joy - No output
However, this works just fine:
- Turn on xbox controller
- Start joy node:
ros2 launch joy teleop_joy_node - Start
ros2 topic echo joy - Output present.
Consequently, if the controller is ever turned-off during operation, we are back to the first problem - it's not detected upon starting.
I would love if there was some way to force joy node to somehow keep reconnecting to it.