mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:13:34 +08:00
FixedWingPositionControl: set waypoint straight ahead for front transition
- this fixes the case where the navigator publishes a loiter waypoint or any waypoint which is too close to the vehicle. Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
@@ -253,6 +253,8 @@ private:
|
||||
|
||||
bool _vtol_tailsitter{false};
|
||||
|
||||
Vector2f _transition_waypoint{NAN, NAN};
|
||||
|
||||
// estimator reset counters
|
||||
uint8_t _pos_reset_counter{0}; ///< captures the number of times the estimator has reset the horizontal position
|
||||
uint8_t _alt_reset_counter{0}; ///< captures the number of times the estimator has reset the altitude state
|
||||
|
||||
Reference in New Issue
Block a user