@ -319,23 +319,14 @@ public:
@@ -319,23 +319,14 @@ public:
Q_PROPERTY ( QmlObjectListModel * adsbVehicles READ adsbVehicles CONSTANT )
Q_PROPERTY ( bool initialPlanRequestComplete READ initialPlanRequestComplete NOTIFY initialPlanRequestCompleteChanged )
/// true: Vehicle is flying, false: Vehicle is on ground
Q_PROPERTY ( bool flying READ flying NOTIFY flyingChanged )
/// true: Vehicle is flying, false: Vehicle is on ground
Q_PROPERTY ( bool landing READ landing NOTIFY landingChanged )
/// true: Vehicle is in Guided mode and can respond to guided commands, false: vehicle cannot respond to direct control commands
Q_PROPERTY ( bool guidedMode READ guidedMode WRITE setGuidedMode NOTIFY guidedModeChanged )
/// true: Guided mode commands are supported by this vehicle
Q_PROPERTY ( bool guidedModeSupported READ guidedModeSupported CONSTANT )
/// true: pauseVehicle command is supported
Q_PROPERTY ( bool pauseVehicleSupported READ pauseVehicleSupported CONSTANT )
/// true: Orbit mode is supported by this vehicle
Q_PROPERTY ( bool orbitModeSupported READ orbitModeSupported CONSTANT )
// Vehicle state used for guided control
Q_PROPERTY ( bool flying READ flying NOTIFY flyingChanged ) ///< Vehicle is flying
Q_PROPERTY ( bool landing READ landing NOTIFY landingChanged ) ///< Vehicle is in landing pattern (DO_LAND_START)
Q_PROPERTY ( bool guidedMode READ guidedMode WRITE setGuidedMode NOTIFY guidedModeChanged ) ///< Vehicle is in Guided mode and can respond to guided commands
Q_PROPERTY ( bool guidedModeSupported READ guidedModeSupported CONSTANT ) ///< Guided mode commands are supported by this vehicle
Q_PROPERTY ( bool pauseVehicleSupported READ pauseVehicleSupported CONSTANT ) ///< Pause vehicle command is supported
Q_PROPERTY ( bool orbitModeSupported READ orbitModeSupported CONSTANT ) ///< Orbit mode is supported by this vehicle
Q_PROPERTY ( bool takeoffVehicleSupported READ takeoffVehicleSupported CONSTANT ) ///< Guided takeoff supported
Q_PROPERTY ( ParameterManager * parameterManager READ parameterManager CONSTANT )
@ -441,9 +432,10 @@ public:
@@ -441,9 +432,10 @@ public:
Q_INVOKABLE void motorTest ( int motor , int percent , int timeoutSecs ) ;
# endif
bool guidedModeSupported ( void ) const ;
bool pauseVehicleSupported ( void ) const ;
bool orbitModeSupported ( void ) const ;
bool guidedModeSupported ( void ) const ;
bool pauseVehicleSupported ( void ) const ;
bool orbitModeSupported ( void ) const ;
bool takeoffVehicleSupported ( void ) const ;
// Property accessors