mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 15:33:34 +08:00
remove in air vs landed knowledge from TECS
- create integral and trajectory generator reset methods - always run TECS unless in rotary-wing mode (or in transition) - constantly reset TECS integrals and trajectory generators when landed
This commit is contained in:
committed by
Daniel Agar
parent
ddeca2538c
commit
eed073887d
@@ -302,7 +302,7 @@ private:
|
||||
matrix::Vector3f _body_velocity{};
|
||||
|
||||
bool _reinitialize_tecs{true};
|
||||
bool _is_tecs_running{false};
|
||||
bool _tecs_is_running{false};
|
||||
|
||||
hrt_abstime _time_last_tecs_update{0}; // [us]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user