Skip to content

Commit

Permalink
Copter: Enable processing
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and tridge committed Jun 10, 2024
1 parent f7cc7ee commit da3a9c1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ArduCopter/mode_guided.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,14 @@ bool ModeGuided::get_wp(Location& destination) const
case SubMode::Pos:
destination = Location(guided_pos_target_cm.tofloat(), guided_pos_terrain_alt ? Location::AltFrame::ABOVE_TERRAIN : Location::AltFrame::ABOVE_ORIGIN);
return true;
default:
return false;
case SubMode::Angle:
case SubMode::TakeOff:
case SubMode::Accel:
case SubMode::VelAccel:
case SubMode::PosVelAccel:
break;
}

// should never get here but just in case
return false;
}

Expand Down

0 comments on commit da3a9c1

Please sign in to comment.