|
|
|
@ -230,19 +230,6 @@ private:
@@ -230,19 +230,6 @@ private:
|
|
|
|
|
bool _has_guidance_updated = |
|
|
|
|
false; ///< this flag is set to true by any of the guidance methods. This flag has to be manually reset using has_guidance_updated_reset()
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Convert a 2D vector from WGS84 to planar coordinates. |
|
|
|
|
* |
|
|
|
|
* This converts from latitude and longitude to planar |
|
|
|
|
* coordinates with (0,0) being at the position of ref and |
|
|
|
|
* returns a vector in meters towards wp. |
|
|
|
|
* |
|
|
|
|
* @param ref The reference position in WGS84 coordinates |
|
|
|
|
* @param wp The point to convert to into the local coordinates, in WGS84 coordinates |
|
|
|
|
* @return The vector in meters pointing from the reference position to the coordinates |
|
|
|
|
*/ |
|
|
|
|
matrix::Vector2f get_local_planar_vector(const matrix::Vector2d &origin, const matrix::Vector2d &target) const; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update roll angle setpoint. This will also apply slew rate limits if set. |
|
|
|
|
* |
|
|
|
|