Closed sopje closed 1 year ago
Hi Sophie,
this error is somewhat surprising to be honest, since using a joystick/joypad for controlling the robot in simulation so far worked rather reliably for us. What kind of joypad/joystick are you using? Does this error appear directly when running the launch file or only when pressing a button?
Best regards, Thomas
Hi Sophie,
could you please show a screenshot if the output of the following command? ls /dev/input/
Thank you,
Davide
Hi,
I found the problem. I have a js0, even though there is no joystick connected (some internal laptop joystick). I have set teleop.launch to find js1 instead of js0, this worked.
I get the following error when launching the simulation with driving the robot through keyboard teleop:
Error:
The issue is that in smb_control.launch, the arg name "joystick" is set to default true:
So setting this to false fixes the error. However, not a nice solution if you do want to work with the joystick as we cannot set this argument through launching of sim.launch. Better fix to add this argument setting in sim.launch.
Kind Regards,
Sophie