Simple controller for Parrot Bebop2
python3
pip install untangle
pip install zeroconf
pip install pyparrot
sudo apt-get install bluetooth
sudo apt-get install bluez
sudo apt-get install python-bluez
brew install opencv
- v = percentage for roll, pitch, and yaw degrees
- d = duration for each command in seconds
python3 controller.py
python3 controller.py -v 30 -d 2
bebop.set_max_tilt(15) # maximum allowable tilt in degrees: 5(very slow) ~ 30(very fast)
bebop.set_max_vertical_speed(1) # maximum allowable vertical speed: 0.5 m/s ~ 2.5 m/s
- w/s: forward, backward
- a/d: left, right
- q/e: left_yaw, right_yaw
- j/k: vertical_up, vertical_down
- o/p: takeoff, land