How to recover the drone's heading?


I would like to obtain the drone (Parrot ANAFI AI) current heading from Olympe via the “moveToChanged”. Unfortunately it remains impossible and i get a RuntimeError in the console explaining that “moveToChanged” is uninitialized.

I developp something using the GPS position and the haversine formula but it remains inaccurate…

Any suggestion on how to overcome this problem, is more than welcome! Or maybe there is another way to get the heading ?

Thank you,

This topic was automatically closed after 30 days. New replies are no longer allowed.

Hi @AlanGrvs,

you can catch this event to get the heading of the drone (yaw). Please, refers to this example.