@ -249,6 +249,7 @@ public:
@@ -249,6 +249,7 @@ public:
Q_PROPERTY ( qreal gimbalPitch READ gimbalPitch NOTIFY gimbalPitchChanged )
Q_PROPERTY ( qreal gimbalYaw READ gimbalYaw NOTIFY gimbalYawChanged )
Q_PROPERTY ( bool gimbalData READ gimbalData NOTIFY gimbalDataChanged )
Q_PROPERTY ( bool hasGripper READ hasGripper CONSTANT )
Q_PROPERTY ( bool isROIEnabled READ isROIEnabled NOTIFY isROIEnabledChanged )
Q_PROPERTY ( CheckList checkListState READ checkListState WRITE setCheckListState NOTIFY checkListStateChanged )
Q_PROPERTY ( bool readyToFlyAvailable READ readyToFlyAvailable NOTIFY readyToFlyAvailableChanged ) ///< true: readyToFly signalling is available on this vehicle
@ -470,7 +471,7 @@ public:
@@ -470,7 +471,7 @@ public:
bool roiModeSupported ( ) const ;
bool takeoffVehicleSupported ( ) const ;
QString gotoFlightMode ( ) const ;
bool hasGripper ( ) const ;
bool haveMRSpeedLimits ( ) const { return _multirotor_speed_limits_available ; }
bool haveFWSpeedLimits ( ) const { return _fixed_wing_airspeed_limits_available ; }
@ -529,8 +530,18 @@ public:
@@ -529,8 +530,18 @@ public:
* @ brief Send MAV_CMD_DO_GRIPPER command to trigger specified action in the vehicle
*
* @ param gripperAction Gripper action to trigger
*/
*/
enum GRIPPER_OPTIONS
{
Gripper_release = GRIPPER_ACTION_RELEASE ,
Gripper_grab = GRIPPER_ACTION_GRAB ,
Invalid_option = GRIPPER_ACTIONS_ENUM_END ,
} ;
Q_ENUM ( GRIPPER_OPTIONS )
void setGripperAction ( GRIPPER_ACTIONS gripperAction ) ;
Q_INVOKABLE void sendGripperAction ( GRIPPER_OPTIONS gripperOption ) ;
bool fixedWing ( ) const ;
bool multiRotor ( ) const ;