AP_TECS: Remove hgt_afe from update_50hz()
This commit is contained in:
parent
475e731e34
commit
fd51c3cc16
@ -252,7 +252,7 @@ const AP_Param::GroupInfo AP_TECS::var_info[] = {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void AP_TECS::update_50hz(float hgt_afe)
|
void AP_TECS::update_50hz(void)
|
||||||
{
|
{
|
||||||
// Implement third order complementary filter for height and height rate
|
// Implement third order complementary filter for height and height rate
|
||||||
// estimted height rate = _climb_rate
|
// estimted height rate = _climb_rate
|
||||||
|
@ -39,7 +39,7 @@ public:
|
|||||||
// Update of the estimated height and height rate internal state
|
// Update of the estimated height and height rate internal state
|
||||||
// Update of the inertial speed rate internal state
|
// Update of the inertial speed rate internal state
|
||||||
// Should be called at 50Hz or greater
|
// Should be called at 50Hz or greater
|
||||||
void update_50hz(float hgt_afe);
|
void update_50hz(void);
|
||||||
|
|
||||||
// Update the control loop calculations
|
// Update the control loop calculations
|
||||||
void update_pitch_throttle(int32_t hgt_dem_cm,
|
void update_pitch_throttle(int32_t hgt_dem_cm,
|
||||||
|
Loading…
Reference in New Issue
Block a user