-
Notifications
You must be signed in to change notification settings - Fork 31
Control the Crazyflie with a joystick
Bárbara Barros Carlos edited this page Aug 20, 2021
·
2 revisions
When using the crazyflie_controller
package, you have the possibility of commanding the Crazyflie using our joystick node which was developed for the Logitech GAMEPAD F310
.
Hence, for teleoperation use:
$ roslaunch crazyflie_controller teleop_logitech.launch uri:=radio://0/80/2M/E7E7E7E7E7
where the uri in this launch file specifies the uri of your Crazyflie. You can find valid uris using the scan command in the crazyflie_tools
package.
If you rather use a ps3
or Xbox 360
joystick, you should check the launch
folder of the crazyflie_demo
package.
Note By default the services of take-off and landing in teleoperation mode are disabled, while the emergency service is always enabled in any type of mode. The button mapping for each service can be found in
crazyflie_nmpc/crazyflie_demo/scripts/controller.py