ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.2k stars 756 forks source link

Keyboard Control Failure #670

Closed natunator closed 3 years ago

natunator commented 3 years ago

Hello, I am trying to simulate rotors in a gazebo environment. I am trying manual ( keyboard ) control for now, however I don't seem to understand the Thrust-roll-pitch-yaw controls in the joystick. The throttle and yaw do not work, i.e. they are non-responsive. Pitch seems to tilt, but also elevate ( gain altitude ) the drone. Only roll is working fine. What can I do to fix this ? Also, when I launch the gazebo launch file, i get these two errors:

[ERROR] [1623858667.176245245]: Couldn't open joystick /dev/input/js0. Will retry every second.

[ WARN] [1623858668.223723209]: Couldn't set gain on joystick force feedback: Bad file descriptor

I checked /dev/input/. There are several event files, as well as 'mice' files, but no js files

My configuration is Ubuntu 18.04 with ROS melodic.

Pondigo commented 2 years ago

Hello, how resolve this?