Hi All! New to ROS but have been following the examples and I have my PC setup with VS Code and I am communicating with Leo. I am following the joystick example using an Xbox controller connected to my PC via USB. The PC sees the controller.
When launching “rosrun joy joy_node” I have been encountering the following problem:
pi@leo:~/ros_ws$ rosrun joy joy_node
[ERROR] [1612287001.154726375]: Couldn’t open joystick /dev/input/js0. Will retry every second.
Although I seem to have the packages needed – I installed jstest-gtk just in case.
pi@leo:~/ros_ws$ sudo apt install jstest-gtk
pi@leo:~/ros_ws$ ls -l /dev/input/js0
ls: cannot access ‘/dev/input/js0’: No such file or directory
pi@leo:~/ros_ws$
On another terminal when I run rostopic, I get nothing.
Tried several USB ports, tried running it on Putty. Tried rerunning the build all over and I reach the same error. Any ideas would be nice! Circled all the ROS and Raspberry Pi forums on this!