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,