* Helper to determine if all throttles are at idle
* (or have reverse thrust engaged)
*/
- bool throttlesAtIdle();
+ bool throttlesAtIdle() const;
+
+ /**
+ * Helper to determine if we're airbone, i.e weight off all wheels
+ */
+ bool airborne() const;
// accessors, mostly for SGRawValueMethods use
void setArmed(bool aArmed);
double _rightBrakeOutput;
SGPropertyNode_ptr _root;
- SGPropertyNode* _brakeInputs[4];
+ SGPropertyNode_ptr _brakeInputs[4];
SGPropertyNode_ptr _weightOnWheelsNode;
SGPropertyNode_ptr _engineControlsNode;
SGPropertyNode_ptr _groundspeedNode;
int _configNumSteps;
int _configRTOStep;
+ int _configDisengageStep;
double _configMaxDecel; ///< deceleration (in ft-sec^2) corresponding to step=numSteps
double _configRTODecel; ///< deceleration (in ft-sec^2) to use in RTO mode
double _configRTOSpeed; ///< speed (in kts) for RTO mode to arm