Assumed ROS Indigo is already installed on your PC.
roscd
cd ../src
git clone https://github.com/agent-system/bebop_tutorials
rosdep install --from-paths . --ignore-src -r -n -y
catkin b bebop_tutorials
roscd
source setup.bash
-
Check your PC is connected to Bebop Wifi.
-
Execute commands followings:
roslaunch bebop_tutorials bebop_keyboard_teleop.launch
- You can takeoff by pressing
t
key.
(#\q (return))
(#\t
(send-command "takeoff"))
(#\n
(send-command "land"))
(#\r
(send-command "reset"))
(#\i ;; forward
(send msg :linear :x *speed*))
(#\k ;; backward
(send msg :linear :x *speed*))
(#\j ;; left
(send msg :linear :y *speed*))
(#\l ;; right
(send msg :linear :y *speed*))
(#\w ;; up
(send msg :linear :z *speed*))
(#\s ;; down
(send msg :linear :z *speed*))
(#\a ;; ccw
(send msg :angular :z (deg2rad 3)))
(#\d ;; cw
(send msg :angular :z (deg2rad 3)))