Browse Source

Rover: minor comment fix to acro

non-functional change
mission-4.1.18
Randy Mackay 7 years ago
parent
commit
30ba463f42
  1. 2
      APMrover2/mode_acro.cpp

2
APMrover2/mode_acro.cpp

@ -16,7 +16,7 @@ void ModeAcro::update() @@ -16,7 +16,7 @@ void ModeAcro::update()
float desired_steering, desired_throttle;
get_pilot_desired_steering_and_throttle(desired_steering, desired_throttle);
// convert pilot throttle input to desired speed (up to twice the cruise speed)
// convert pilot throttle input to desired speed
float target_speed = desired_throttle * 0.01f * calc_speed_max(g.speed_cruise, g.throttle_cruise * 0.01f);
// convert pilot steering input to desired turn rate in radians/sec

Loading…
Cancel
Save