How to control drone in Gazebo ?

As is suggested in the document, a joystick is required, however i currently do not have such a joystick? is there a way to arm and set fly_mode using keyboard on command line?

Thank you for your response

hi,

Yes you can with mavros http://wiki.ros.org/mavros .
Alex Buyval made sometime ago a keyboard teleop in python : https://github.com/alexbuyval/mavros/commit/0a945201a230d921a5839adbf68f10d1b7fb8ff9

1 Like

thanks for your advises

I think Alex’s kbteleop is a solution, as you mentioned.