Browse Source

Plane: minor format and comment fixes

c415-sdk
Leonard Hall 4 years ago committed by Andrew Tridgell
parent
commit
1ce63bf433
  1. 5
      ArduPlane/quadplane.cpp

5
ArduPlane/quadplane.cpp

@ -1075,7 +1075,6 @@ void QuadPlane::control_stabilize(void) @@ -1075,7 +1075,6 @@ void QuadPlane::control_stabilize(void)
// normal QSTABILIZE mode
float pilot_throttle_scaled = get_pilot_throttle();
hold_stabilize(pilot_throttle_scaled);
}
// run the multicopter Z controller
@ -1789,7 +1788,7 @@ void QuadPlane::update_transition(void) @@ -1789,7 +1788,7 @@ void QuadPlane::update_transition(void)
// the quad should provide some assistance to the plane
assisted_flight = true;
if (!is_tailsitter()) {
// update tansition state for vehicles using airspeed wait
// update transition state for vehicles using airspeed wait
if (transition_state != TRANSITION_AIRSPEED_WAIT) {
gcs().send_text(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", (double)aspeed);
}
@ -1950,7 +1949,7 @@ void QuadPlane::update_transition(void) @@ -1950,7 +1949,7 @@ void QuadPlane::update_transition(void)
}
case TRANSITION_ANGLE_WAIT_VTOL:
// nothing to do, this is handled in the fw attitude controller
// nothing to do, this is handled in the fixed wing attitude controller
return;
case TRANSITION_DONE:

Loading…
Cancel
Save