- SG_LOG(SG_AUTOPILOT, SG_WARN, "auto-brake: cannot select RTO mode, no weight on wheels");
+ // some systems combine RTO with a standard step, selecting RTO if on
+ // the ground. Handle that case by setting _rto = false, and letting
+ // setStep() do the rest of the work as normal.
+ if ((_configRTOStep > 0) && (_configRTOStep <= _configNumSteps)) {
+ // RTO is combined with a normal step, select that
+ } else {
+ SG_LOG(SG_AUTOPILOT, SG_WARN, "auto-brake: cannot select RTO mode, no weight on wheels");
+ }
+
+ _rto = false;