Distance from current pos to home in a quadplane


I need to calculate the distance from current position to home position of a quadplane. As arduplane can’t head to its home position directly, so I can’t use the current_location.get_distance() to calculate the distance.

How to estimate the (navigational)distance of a quad plane from its current position?