I am trying to make the ANAFI drone fly an autonomous trajectory (example: z coordinate = sin(x-coordinate)).
To do this, I want to know the current physical location of the drone in real time, so that I can use the MoveBy command.
Can any one please discuss if:
- We can read the drone’s state in some absolute frame (position and attitude) in real time?
- If yes, can you please post a code snippet that shows this ?