Skip to content

Commit

Permalink
Copter: Enable processing
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed May 23, 2024
1 parent 91423d4 commit adc7e52
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 @@ -408,11 +408,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 adc7e52

Please sign in to comment.