Browse Source

fix typo in comment

sbg
Thomas Gubler 11 years ago
parent
commit
97f7c0088f
  1. 2
      src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

2
src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

@ -1223,7 +1223,7 @@ FixedwingPositionControl::control_position(const math::Vector<2> &current_positi
} }
if (_vehicle_status.engine_failure || _vehicle_status.engine_failure_cmd) { if (_vehicle_status.engine_failure || _vehicle_status.engine_failure_cmd) {
/* Set thrrust to 0 to minimize damage */ /* Set thrust to 0 to minimize damage */
_att_sp.thrust = 0.0f; _att_sp.thrust = 0.0f;
} else if (pos_sp_triplet.current.type == SETPOINT_TYPE_TAKEOFF && } else if (pos_sp_triplet.current.type == SETPOINT_TYPE_TAKEOFF &&
launch_detection_state != LAUNCHDETECTION_RES_DETECTED_ENABLEMOTORS) { launch_detection_state != LAUNCHDETECTION_RES_DETECTED_ENABLEMOTORS) {

Loading…
Cancel
Save