|
|
|
@ -64,6 +64,10 @@ public:
@@ -64,6 +64,10 @@ public:
|
|
|
|
|
/// init_loiter_target - initialize's loiter position and feed-forward velocity from current pos and velocity
|
|
|
|
|
void init_loiter_target(); |
|
|
|
|
|
|
|
|
|
/// shift_loiter_target - shifts the loiter target by the given pos_adjustment
|
|
|
|
|
/// used by precision landing to adjust horizontal position target
|
|
|
|
|
void shift_loiter_target(const Vector3f &pos_adjustment); |
|
|
|
|
|
|
|
|
|
/// loiter_soften_for_landing - reduce response for landing
|
|
|
|
|
void loiter_soften_for_landing(); |
|
|
|
|
|
|
|
|
@ -85,6 +89,9 @@ public:
@@ -85,6 +89,9 @@ public:
|
|
|
|
|
/// get_loiter_bearing_to_target - get bearing to loiter target in centi-degrees
|
|
|
|
|
int32_t get_loiter_bearing_to_target() const; |
|
|
|
|
|
|
|
|
|
/// get_loiter_target - returns loiter target position
|
|
|
|
|
const Vector3f& get_loiter_target() const { return _pos_control.get_pos_target(); } |
|
|
|
|
|
|
|
|
|
/// update_loiter - run the loiter controller - should be called at 10hz
|
|
|
|
|
void update_loiter(float ekfGndSpdLimit, float ekfNavVelGainScaler); |
|
|
|
|
|
|
|
|
|