Commanding the Ardrone using the keyboard
In this demo the Ardrone is commanded using the keyboard.
The reference frame is the ardrone's.
Keys:
- Enter - Take-off / Land
- Space - Stand / Stop
- W - Forward
- S - Backward
- A - Left
- D - Right
- Up arrow - Up
- Down arrow - Down
- Left arrow - Rotate around Z axis clockwise
- Right arrow - Rotate around Z axis counter-clockwise
Requisits
- Install the ROS package "romap" from the repository https://github.com/joseparnau/rosjac
- Install ROS the package ardrone_autonomy
Steps
- $ roslaunch romap ardrone_key_teleop.launch
- Wait 20 seconds
- Press "Enter" to take-off
- Move the Ardrone
- Press "Enter" to land
Caution
Press "space" before landing the robot.
If you lose track of the ardrone, or forget about the keys, just press "space" to stop the robot on air.