-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
device_name param ignored ROS2 #199
Comments
I was having problems with Joy also and came across your issue. I think I discovered the bug in the handleJoyDeviceAdded function. Here's the code snippet for reference:
Say you set Now comes this function. This function (I assume) is called whenever a new device is added (like at the beginning of the node running). It checks if This function needs a way to return early if the Specs: Pop!_OS 20.04, ROS Foxy |
I'm using an xbox360 located at
/dev/input/js0
//dev/input/event0
on my machine on ROS2 Foxy. I specified these parameters asI noticed that when
device_id
is set incorrectly butdevice_name
is correct, the joystick isn't found. Vice versa whendevice_name
is set incorrectly butdevice_id
is set correctly` the joystick is found.The documentation states
The text was updated successfully, but these errors were encountered: