robotika / katarina

Parrot drone Bebop
MIT License
75 stars 33 forks source link

Can you read the compass? #17

Open AlgorithMan-de opened 5 years ago

AlgorithMan-de commented 5 years ago

I have ordered a used bebop 1 drone - It hasn't been delivered yet, but I have already started writing some code based on katarina. It is quite important to me to move the drone around as precisely as possible - the movePCMDCmd function doesn't exactly provide precise control - I will have to fiddle with the percentages and cycles to get as much precision as I can and hope it is precise enough for my application...

However, in Section 3.5.2 of the "unofficial Bebop drone hacking guide 1.6" I have read that the bebop drone has a compass. I think the FreeFlight app even shows it(?) - If I had access to that compass, I would be able get high precision at least on the rotation of the drone - this would be very good because small deviations wouldn't add up to big deviations anymore.

So my question is: can you read the compass via katarina?