mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 10:33:33 +08:00
fix
This commit is contained in:
@@ -620,9 +620,8 @@ void TECS::update_pitch_throttle(const math::Matrix<3,3> &rotMat, float pitch, f
|
||||
_tecs_state.energy_error_integ = _integ6_state;
|
||||
_tecs_state.energy_distribution_error_integ = _integ7_state;
|
||||
|
||||
|
||||
_tecs_state.throttle_sp = _throttle_dem;
|
||||
_tecs_state.pitch_sp = _pitch_dem;
|
||||
_tecs_state.throttle_integ = _integ6_state;
|
||||
_tecs_state.pitch_integ = _integ7_state;
|
||||
|
||||
_update_pitch_throttle_last_usec = now;
|
||||
|
||||
|
||||
@@ -155,8 +155,8 @@ public:
|
||||
float total_energy_rate_error;
|
||||
float energy_distribution_error;
|
||||
float energy_distribution_rate_error;
|
||||
float throttle_sp;
|
||||
float pitch_sp;
|
||||
float throttle_integ;
|
||||
float pitch_integ;
|
||||
enum ECL_TECS_MODE mode;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user