AP_TECS: Remove hgt_afe from update_50hz()

This commit is contained in:
Michael du Breuil 2016-04-20 23:45:57 -07:00 committed by Andrew Tridgell
parent 475e731e34
commit fd51c3cc16
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,