Skip to content

Commit

Permalink
ArduPlane: Scripted follow in Plane
Browse files Browse the repository at this point in the history
  • Loading branch information
timtuxworth committed Sep 13, 2024
1 parent 67732e0 commit c66aedf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ArduPlane/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ bool Mode::enter()
plane.guided_state.target_heading_type = GUIDED_HEADING_NONE;
plane.guided_state.target_airspeed_cm = -1; // same as above, although an airspeed of -1 is rare on plane.
plane.guided_state.target_alt = -1; // same as above, although a target alt of -1 is rare on plane.
//printf("Mode enter: set target alt -1\n");
plane.guided_state.target_alt_time_ms = 0;
plane.guided_state.last_target_alt = 0;
#endif
Expand Down Expand Up @@ -165,7 +164,6 @@ bool Mode::is_vtol_man_throttle() const
void Mode::update_target_altitude()
{
Location target_location;
//printf("Mode: update_target_altitude:\n" );
if (plane.landing.is_flaring()) {
// during a landing flare, use TECS_LAND_SINK as a target sink
// rate, and ignores the target altitude
Expand Down

0 comments on commit c66aedf

Please sign in to comment.