getCurrentDirective

Retrieves the current guided flight directive.

This method returns the current guided flight directive, if any. It can be either LocationDirective or RelativeMoveDirective. The flight parameters have the values returned by the drone.

Return

the current guided flight directive, or null if there's no guided flight in progress