Skip to content

Commit

Permalink
Copter: terrain spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Sep 6, 2021
1 parent ba50f68 commit af9a91c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ArduCopter/mode_guided.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void ModeGuided::pva_control_start()
// initialise yaw
auto_yaw.set_mode_to_default(false);

// initialise terain alt
// initialise terrain alt
guided_pos_terrain_alt = false;
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/AC_WPNav/AC_WPNav.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class AC_WPNav
Vector3f _destination; // target destination in cm from ekf origin
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_accel; // acceleration value used to change _terain_vel
float _terrain_accel; // acceleration value used to change _terrain_vel

// terrain following variables
bool _terrain_alt; // true if origin and destination.z are alt-above-terrain, false if alt-above-ekf-origin
Expand Down

0 comments on commit af9a91c

Please sign in to comment.