Browse Source

fix spelling

sbg
Daniel Agar 10 years ago committed by Lorenz Meier
parent
commit
3e5ce55b94
  1. 2
      src/lib/launchdetection/CatapultLaunchMethod.cpp
  2. 2
      src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

2
src/lib/launchdetection/CatapultLaunchMethod.cpp

@ -90,7 +90,7 @@ void CatapultLaunchMethod::update(float accel_x)
break; break;
case LAUNCHDETECTION_RES_DETECTED_ENABLECONTROL: case LAUNCHDETECTION_RES_DETECTED_ENABLECONTROL:
/* Vehicle is currently controlling attitude but not with full throttle. Waiting undtil delay is /* Vehicle is currently controlling attitude but not with full throttle. Waiting until delay is
* over to allow full throttle */ * over to allow full throttle */
motorDelayCounter += dt; motorDelayCounter += dt;
if (motorDelayCounter > motorDelay.get()) { if (motorDelayCounter > motorDelay.get()) {

2
src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp

@ -1363,7 +1363,7 @@ FixedwingPositionControl::control_position(const math::Vector<2> &current_positi
/* Detect launch */ /* Detect launch */
launchDetector.update(_sensor_combined.accelerometer_m_s2[0]); launchDetector.update(_sensor_combined.accelerometer_m_s2[0]);
/* update our copy of the laucn detection state */ /* update our copy of the launch detection state */
launch_detection_state = launchDetector.getLaunchDetected(); launch_detection_state = launchDetector.getLaunchDetected();
} else { } else {
/* no takeoff detection --> fly */ /* no takeoff detection --> fly */

Loading…
Cancel
Save