Copter: terrain spelling fix

This commit is contained in:
Randy Mackay 2021-09-03 12:58:37 +09:00
parent ba50f68390
commit af9a91c853
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ void ModeGuided::pva_control_start()
// initialise yaw // initialise yaw
auto_yaw.set_mode_to_default(false); auto_yaw.set_mode_to_default(false);
// initialise terain alt // initialise terrain alt
guided_pos_terrain_alt = false; guided_pos_terrain_alt = false;
} }

View File

@ -263,7 +263,7 @@ protected:
Vector3f _destination; // target destination in cm from ekf origin Vector3f _destination; // target destination in cm from ekf origin
float _track_scalar_dt; // time compression multiplier to slow the progress along the track float _track_scalar_dt; // time compression multiplier to slow the progress along the track
float _terrain_vel; // maximum horizontal velocity used to ensure the aircraft can maintain height above terrain float _terrain_vel; // maximum horizontal velocity used to ensure the aircraft can maintain height above terrain
float _terrain_accel; // acceleration value used to change _terain_vel float _terrain_accel; // acceleration value used to change _terrain_vel
// terrain following variables // terrain following variables
bool _terrain_alt; // true if origin and destination.z are alt-above-terrain, false if alt-above-ekf-origin bool _terrain_alt; // true if origin and destination.z are alt-above-terrain, false if alt-above-ekf-origin