amymcgovern / pyparrot

Python interface for Parrot Drones
MIT License
276 stars 129 forks source link

I'am wondering how to turn the bebop2? #130

Closed lengyuyu2333 closed 5 years ago

lengyuyu2333 commented 5 years ago

File "fly.py", line 21, in bebop.turn_degrees(45) AttributeError: 'Bebop' object has no attribute 'turn_degrees'

This fonction is not used like this? Hoping for help :)

amymcgovern commented 5 years ago

There is not a turn_degrees function in the bebop. That is an error in the documentation and I will fix it right now. There is a move_relative and that will accomplish what you want. For some reason, mambo has an internal turn_degrees function while bebop does everything in radians (and uses a different command).