|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <Vehicle.h>
Inheritance diagram for Vehicle:
Collaboration diagram for Vehicle:Public Slots | |
| void | setVtolInFwdFlight (bool vtolInFwdFlight) |
| void | _offlineFirmwareTypeSettingChanged (QVariant varFirmwareType) |
| void | _offlineVehicleTypeSettingChanged (QVariant varVehicleType) |
| Q_INVOKABLE void | sendGripperAction (GRIPPER_ACTIONS gripperOption) |
Public Member Functions | |
| Vehicle (LinkInterface *link, int vehicleId, int defaultComponentId, MAV_AUTOPILOT firmwareType, MAV_TYPE vehicleType, QObject *parent=nullptr) | |
| Vehicle (MAV_AUTOPILOT firmwareType, MAV_TYPE vehicleType, QObject *parent=nullptr) | |
| ~Vehicle () | |
| Q_INVOKABLE void | resetCounters () |
| < Flight mode vehicle is in while performing goto | |
| Q_INVOKABLE void | virtualTabletJoystickValue (double roll, double pitch, double yaw, double thrust) |
| Q_INVOKABLE void | guidedModeRTL (bool smartRTL) |
| Command vehicle to return to launch. | |
| Q_INVOKABLE void | guidedModeLand () |
| Command vehicle to land at current location. | |
| Q_INVOKABLE void | guidedModeTakeoff (double altitudeRelative) |
| Command vehicle to takeoff from current location. | |
| Q_INVOKABLE double | minimumTakeoffAltitudeMeters () |
| Q_INVOKABLE double | maximumHorizontalSpeedMultirotorMetersSecond () |
| Q_INVOKABLE double | maximumEquivalentAirspeed () |
| Q_INVOKABLE double | minimumEquivalentAirspeed () |
| Q_INVOKABLE bool | guidedModeGotoLocation (const QGeoCoordinate &gotoCoord, double forwardFlightLoiterRadius=0.0f) |
| Q_INVOKABLE void | guidedModeChangeAltitude (double altitudeChange, bool pauseVehicle) |
| Q_INVOKABLE void | guidedModeChangeHeading (const QGeoCoordinate &headingCoord) |
| Q_INVOKABLE void | guidedModeChangeGroundSpeedMetersSecond (double groundspeed) |
| Q_INVOKABLE void | guidedModeChangeEquivalentAirspeedMetersSecond (double airspeed) |
| Q_INVOKABLE void | guidedModeOrbit (const QGeoCoordinate ¢erCoord, double radius, double amslAltitude) |
| Q_INVOKABLE void | guidedModeROI (const QGeoCoordinate ¢erCoord) |
| Q_INVOKABLE void | stopGuidedModeROI () |
| Q_INVOKABLE void | pauseVehicle () |
| Q_INVOKABLE void | emergencyStop () |
| Command vehicle to kill all motors no matter what state. | |
| Q_INVOKABLE void | abortLanding (double climbOutAltitude) |
| Command vehicle to abort landing. | |
| Q_INVOKABLE void | landingGearDeploy () |
| Command vichecle to deploy landing gear. | |
| Q_INVOKABLE void | landingGearRetract () |
| Command vichecle to retract landing gear. | |
| Q_INVOKABLE void | startTakeoff () |
| Q_INVOKABLE void | startMission () |
| Q_INVOKABLE void | setCurrentMissionSequence (int seq) |
| Alter the current mission item on the vehicle. | |
| Q_INVOKABLE void | rebootVehicle () |
| Reboot vehicle. | |
| Q_INVOKABLE void | sendPlan (QString planFile) |
| Q_INVOKABLE void | setEstimatorOrigin (const QGeoCoordinate ¢erCoord) |
| void | setEstimatorOrigin_SET_GPS_GLOBAL_ORIGIN (const QGeoCoordinate ¢erCoord) |
| Fallback for setEstimatorOrigin which sends the deprecated SET_GPS_GLOBAL_ORIGIN message. | |
| Q_INVOKABLE int | versionCompare (const QString &compare) const |
| Used to check if running current version is equal or higher than the one being compared. | |
| Q_INVOKABLE int | versionCompare (int major, int minor, int patch) const |
| Q_INVOKABLE void | motorTest (int motor, int percent, int timeoutSecs, bool showError) |
| Q_INVOKABLE void | setPIDTuningTelemetryMode (PIDTuningTelemetryMode mode) |
| Q_INVOKABLE void | forceArm () |
| Q_INVOKABLE void | sendParamMapRC (const QString ¶mName, double scale, double centerValue, int tuningID, double minValue, double maxValue) |
| Sends PARAM_MAP_RC message to vehicle. | |
| Q_INVOKABLE void | clearAllParamMapRC (void) |
| Clears all PARAM_MAP_RC settings from vehicle. | |
| Q_INVOKABLE void | closeVehicle () |
| Removes the vehicle from the system. | |
| Q_INVOKABLE void | triggerSimpleCamera (void) |
| Trigger camera using MAV_CMD_DO_DIGICAM_CONTROL command. | |
| Q_INVOKABLE void | doSetHome (const QGeoCoordinate &coord) |
| Set home from flight map coordinate. | |
| Q_INVOKABLE QVariant | expandedToolbarIndicatorSource (const QString &indicatorName) |
| bool | isInitialConnectComplete () const |
| QString | gotoFlightMode () const |
| VehicleSupports * | supports () |
| bool | hasGripper () const |
| bool | haveMRSpeedLimits () const |
| bool | haveFWSpeedLimits () const |
| QGeoCoordinate | coordinate () |
| QGeoCoordinate | armedPosition () |
| qreal | getInitialGCSPressure () const |
| qreal | getInitialGCSTemperature () const |
| void | setInitialGCSPressure (qreal pressure) |
| void | setInitialGCSTemperature (qreal temperature) |
| void | updateFlightDistance (double distance) |
| void | sendJoystickDataThreadSafe (float roll, float pitch, float yaw, float thrust, quint16 buttons, quint16 buttons2, float pitchExtension, float rollExtension, float aux1, float aux2, float aux3, float aux4, float aux5, float aux6) |
| void | sendJoystickAuxRcOverrideThreadSafe (const std::array< uint16_t, kAuxRcOverrideChannelCount > &channelValues, const std::array< bool, kAuxRcOverrideChannelCount > &channelEnabled, bool useRcOverride) |
| int | id () const |
| int | compId () const |
| MAV_AUTOPILOT | firmwareType () const |
| MAV_TYPE | vehicleType () const |
| QGCMAVLink::VehicleClass_t | vehicleClass (void) const |
| Q_INVOKABLE QString | vehicleClassInternalName () const |
| bool | sendMessageOnLinkThreadSafe (LinkInterface *link, mavlink_message_t message) |
| void | sendMessageMultiple (mavlink_message_t message) |
| AutoPilotPlugin * | autopilotPlugin () |
| Provides access to AutoPilotPlugin for this vehicle. | |
| FirmwarePlugin * | firmwarePlugin () |
| Provides access to the Firmware Plugin for this Vehicle. | |
| QGeoCoordinate | homePosition () |
| bool | armed () const |
| void | setArmed (bool armed, bool showError) |
| void | setArmedShowError (bool armed) |
| bool | flightModeSetAvailable () |
| QStringList | flightModes () |
| QString | flightMode () const |
| void | setFlightMode (const QString &flightMode) |
| bool | airship () const |
| void | pairRX (int rxType, int rxSubType) |
| bool | fixedWing () const |
| bool | multiRotor () const |
| bool | vtol () const |
| bool | rover () const |
| bool | sub () const |
| bool | spacecraft () const |
| void | setGuidedMode (bool guidedMode) |
| QString | prearmError () const |
| void | setPrearmError (const QString &prearmError) |
| QmlObjectListModel * | cameraTriggerPoints () |
| void | startMavlinkLog () |
| void | stopMavlinkLog () |
| void | requestDataStream (MAV_DATA_STREAM stream, uint16_t rate, bool sendMultiple=true) |
| void | trackFirmwareVehicleTypeChanges (void) |
| void | stopTrackingFirmwareVehicleTypeChanges (void) |
| float | latitude () |
| float | longitude () |
| bool | px4Firmware () const |
| bool | apmFirmware () const |
| bool | genericFirmware () const |
| uint | messagesReceived () const |
| uint | messagesSent () const |
| uint | messagesLost () const |
| bool | flying () const |
| bool | landing () const |
| bool | guidedMode () const |
| bool | inFwdFlight () const |
| bool | vtolInFwdFlight () const |
| uint8_t | baseMode () const |
| uint32_t | customMode () const |
| uint32_t | effectiveCustomMode () const |
| bool | isOfflineEditingVehicle () const |
| int | sensorsPresentBits () const |
| int | sensorsEnabledBits () const |
| int | sensorsHealthBits () const |
| int | sensorsUnhealthyBits () const |
| QString | missionFlightMode () const |
| QString | pauseFlightMode () const |
| QString | rtlFlightMode () const |
| QString | smartRTLFlightMode () const |
| QString | landFlightMode () const |
| QString | takeControlFlightMode () const |
| QString | followFlightMode () const |
| QString | motorDetectionFlightMode () const |
| QString | stabilizedFlightMode () const |
| double | defaultCruiseSpeed () const |
| double | defaultHoverSpeed () const |
| QString | firmwareTypeString () const |
| QString | vehicleTypeString () const |
| bool | autoDisarm () |
| bool | orbitActive () const |
| QGCMapCircle * | orbitMapCircle () |
| bool | readyToFlyAvailable () const |
| bool | readyToFly () const |
| bool | allSensorsHealthy () const |
| QObject * | sysStatusSensorInfo () |
| bool | requiresGpsFix () const |
| bool | hilMode () const |
| Actuators * | actuators () const |
| VehicleSigningController * | signingController () |
| const VehicleSigningController * | signingController () const |
| void | startCalibration (QGCMAVLink::CalibrationType calType) |
| void | stopCalibration (bool showError) |
| void | startUAVCANBusConfig (void) |
| void | stopUAVCANBusConfig (void) |
| FactGroup * | vehicleFactGroup () |
| FactGroup * | gpsFactGroup () |
| FactGroup * | gps2FactGroup () |
| FactGroup * | gpsAggregateFactGroup () |
| FactGroup * | windFactGroup () |
| FactGroup * | vibrationFactGroup () |
| FactGroup * | temperatureFactGroup () |
| FactGroup * | clockFactGroup () |
| FactGroup * | setpointFactGroup () |
| FactGroup * | distanceSensorFactGroup () |
| FactGroup * | localPositionFactGroup () |
| FactGroup * | localPositionSetpointFactGroup () |
| FactGroup * | estimatorStatusFactGroup () |
| FactGroup * | terrainFactGroup () |
| FactGroup * | hygrometerFactGroup () |
| FactGroup * | generatorFactGroup () |
| FactGroup * | efiFactGroup () |
| FactGroup * | radioStatusFactGroup () |
| FactGroup * | rpmFactGroup () |
| QmlObjectListModel * | batteries () |
| QmlObjectListModel * | escs () |
| MissionManager * | missionManager () |
| GeoFenceManager * | geoFenceManager () |
| RallyPointManager * | rallyPointManager () |
| ParameterManager * | parameterManager () |
| ParameterManager * | parameterManager () const |
| VehicleLinkManager * | vehicleLinkManager () |
| FTPManager * | ftpManager () |
| ComponentInformationManager * | compInfoManager () |
| VehicleObjectAvoidance * | objectAvoidance () |
| Autotune * | autotune () const |
| RemoteIDManager * | remoteIDManager () |
| void | sendMavCommand (int compId, MAV_CMD command, bool showError, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, float param5=0.0f, float param6=0.0f, float param7=0.0f) |
| void | sendMavCommandDelayed (int compId, MAV_CMD command, bool showError, int milliseconds, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, float param5=0.0f, float param6=0.0f, float param7=0.0f) |
| void | sendMavCommandInt (int compId, MAV_CMD command, MAV_FRAME frame, bool showError, float param1, float param2, float param3, float param4, double param5, double param6, float param7) |
| bool | isMavCommandPending (int targetCompId, MAV_CMD command) |
| isMavCommandPending Query whether the specified MAV_CMD is in queue to be sent or has already been sent but whose reply has not yet been received and whose timeout has not yet expired. | |
| Q_INVOKABLE void | sendCommand (int compId, int command, bool showError, double param1=0.0, double param2=0.0, double param3=0.0, double param4=0.0, double param5=0.0, double param6=0.0, double param7=0.0) |
| Same as sendMavCommand but available from Qml. | |
| void | sendMavCommandWithHandler (const MavCmdAckHandlerInfo_t *ackHandlerInfo, int compId, MAV_CMD command, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, float param5=0.0f, float param6=0.0f, float param7=0.0f) |
| Sends the command and calls the callback with the result. | |
| void | sendMavCommandIntWithHandler (const MavCmdAckHandlerInfo_t *ackHandlerInfo, int compId, MAV_CMD command, MAV_FRAME frame, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, double param5=0.0f, double param6=0.0f, float param7=0.0f) |
| void | sendMavCommandWithLambdaFallback (std::function< void()> lambda, int compId, MAV_CMD command, bool showError, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, float param5=0.0f, float param6=0.0f, float param7=0.0f) |
| void | sendMavCommandIntWithLambdaFallback (std::function< void()> lambda, int compId, MAV_CMD command, MAV_FRAME frame, bool showError, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, double param5=0.0, double param6=0.0, float param7=0.0f) |
| void | requestMessage (RequestMessageResultHandler resultHandler, void *resultHandlerData, int compId, int messageId, float param1=0.0f, float param2=0.0f, float param3=0.0f, float param4=0.0f, float param5=0.0f) |
| int | firmwareMajorVersion () const |
| int | firmwareMinorVersion () const |
| int | firmwarePatchVersion () const |
| int | firmwareVersionType () const |
| int | firmwareCustomMajorVersion () const |
| int | firmwareCustomMinorVersion () const |
| int | firmwareCustomPatchVersion () const |
| int | firmwareBoardVendorId () const |
| int | firmwareBoardProductId () const |
| QString | firmwareVersionTypeString () const |
| void | setFirmwareVersion (int majorVersion, int minorVersion, int patchVersion, FIRMWARE_VERSION_TYPE versionType=FIRMWARE_VERSION_TYPE_OFFICIAL) |
| void | setFirmwareCustomVersion (int majorVersion, int minorVersion, int patchVersion) |
| QString | gitHash () const |
| quint64 | vehicleUID () const |
| QString | vehicleUIDStr () |
| bool | soloFirmware () const |
| void | setSoloFirmware (bool soloFirmware) |
| int | defaultComponentId () const |
| void | setOfflineEditingDefaultComponentId (int defaultComponentId) |
| Sets the default component id for an offline editing vehicle. | |
| int | motorCount () |
| bool | coaxialMotors () |
| bool | xConfigMotors () |
| class FirmwarePluginInstanceData * | firmwarePluginInstanceData () |
| void | setFirmwarePluginInstanceData (FirmwarePluginInstanceData *firmwarePluginInstanceData) |
| QString | vehicleImageOpaque () const |
| QString | vehicleImageOutline () const |
| const QVariantList & | toolIndicators () |
| bool | capabilitiesKnown () const |
| uint64_t | capabilityBits () const |
| QString | hobbsMeter () |
| bool | initialPlanRequestComplete () const |
| void | forceInitialPlanRequestComplete () |
| void | _setFlying (bool flying) |
| void | _setLanding (bool landing) |
| void | _setHomePosition (QGeoCoordinate &homeCoord) |
| void | prepareDelete () |
| Vehicle is about to be deleted. | |
| void | deleteGimbalController () |
| Delete gimbal controller, handy for RequestMessageTest.cc, otherwise gimbal controller message requests will mess with this test. | |
| quint64 | mavlinkSentCount () const |
| quint64 | mavlinkReceivedCount () const |
| Calculated total number of messages sent to us. | |
| quint64 | mavlinkLossCount () const |
| Total number of sucessful messages received. | |
| float | mavlinkLossPercent () const |
| Total number of lost messages. | |
| bool | isROIEnabled () const |
| Running loss rate. | |
| CheckList | checkListState () |
| void | setCheckListState (CheckList cl) |
| double | loadProgress () const |
| void | setActuatorsMetadata (uint8_t compid, const QString &metadataJsonFileName, const QJsonDocument &metadataJson) |
| GimbalController * | gimbalController () |
| int | _findMavCommandListEntryIndex (int targetCompId, MAV_CMD command) |
| Test-only helper: forwards to MavCommandQueue::findEntryIndex. | |
| int32_t | getMessageRate (uint8_t compId, uint16_t msgId) |
| void | setMessageRate (uint8_t compId, uint16_t msgId, int32_t rate) |
| Q_INVOKABLE void | flashBootloader () |
| Q_INVOKABLE void | motorInterlock (bool enable) |
| Command vehicle to Enable/Disable Motor Interlock. | |
| Q_INVOKABLE void | startTimerRevertAllowTakeover () |
| Q_INVOKABLE void | requestOperatorControl (bool allowOverride, int requestTimeoutSecs=0) |
| Q_INVOKABLE void | resetAllMessages () |
| Q_INVOKABLE void | resetErrorLevelMessages () |
| Q_INVOKABLE void | clearMessages () |
| bool | messageTypeNone () const |
| bool | messageTypeNormal () const |
| bool | messageTypeWarning () const |
| bool | messageTypeError () const |
| int | messageCount () const |
| QString | formattedMessages () const |
| uint32_t | flowImageIndex () const |
| MAVLinkLogManager * | mavlinkLogManager () const |
| QGCCameraManager * | cameraManager () |
| const QVariantList & | staticCameraList () const |
| HealthAndArmingCheckReport * | healthAndArmingCheckReport () |
| void | setEventsMetadata (uint8_t compid, const QString &metadataJsonFileName) |
Public Member Functions inherited from VehicleFactGroup | |
| VehicleFactGroup (QObject *parent=nullptr) | |
| Fact * | roll () |
| Fact * | pitch () |
| Fact * | heading () |
| Fact * | rollRate () |
| Fact * | pitchRate () |
| Fact * | yawRate () |
| Fact * | airSpeed () |
| Fact * | airSpeedSetpoint () |
| Fact * | groundSpeed () |
| Fact * | climbRate () |
| Fact * | altitudeRelative () |
| Fact * | altitudeAMSL () |
| Fact * | altitudeAboveTerr () |
| Fact * | altitudeTuning () |
| Fact * | altitudeTuningSetpoint () |
| Fact * | xTrackError () |
| Fact * | rangeFinderDist () |
| Fact * | flightDistance () |
| Fact * | distanceToHome () |
| Fact * | timeToHome () |
| Fact * | missionItemIndex () |
| Fact * | headingToNextWP () |
| Fact * | distanceToNextWP () |
| Fact * | headingToHome () |
| Fact * | headingFromHome () |
| Fact * | headingFromGCS () |
| Fact * | distanceToGCS () |
| Fact * | hobbs () |
| Fact * | throttlePct () |
| Fact * | imuTemp () |
| Fact * | rcRSSI () |
| void | handleMessage (Vehicle *vehicle, const mavlink_message_t &message) override |
| Allows a FactGroup to parse incoming messages and fill in values. | |
| void | updateRCRSSI (uint8_t rssi) |
Public Member Functions inherited from FactGroup | |
| FactGroup (int updateRateMsecs, const QString &metaDataFile, QObject *parent=nullptr, bool ignoreCamelCase=false) | |
| < false: No telemetry for these values has been received | |
| FactGroup (int updateRateMsecs, QObject *parent=nullptr, bool ignoreCamelCase=false) | |
| virtual | ~FactGroup () |
| Q_INVOKABLE bool | factExists (const QString &name) const |
| @ return true: if the fact exists in the group | |
| Q_INVOKABLE Fact * | getFact (const QString &name) const |
| Q_INVOKABLE FactGroup * | getFactGroup (const QString &name) const |
| Q_INVOKABLE void | setLiveUpdates (bool liveUpdates) |
| Turning on live updates will allow value changes to flow through as they are received. | |
| QStringList | factNames () const |
| QStringList | factGroupNames () const |
| bool | telemetryAvailable () const |
| const QMap< QString, FactGroup * > & | factGroups () const |
Static Public Member Functions | |
| static void | showCommandAckError (const mavlink_command_ack_t &ack) |
| static QString | mavCmdResultFailureCodeToString (MavCmdResultFailureCode_t failureCode) |
| static QString | requestMessageResultHandlerFailureCodeToString (RequestMessageResultHandlerFailureCode_t failureCode) |
Static Public Attributes | |
| static const MAV_AUTOPILOT | MAV_AUTOPILOT_TRACK = MAV_AUTOPILOT_ENUM_END |
| static const MAV_TYPE | MAV_TYPE_TRACK = MAV_TYPE_ENUM_END |
| static constexpr int | kAuxRcOverrideChannelCount = 6 |
| Sends RC_CHANNELS_OVERRIDE for joystick aux axes mapped to RC channels 5–10 only. | |
| static constexpr int | _mavCommandMaxRetryCount = 3 |
| static constexpr int | kTestMavCommandAckTimeoutMs = 500 |
| static constexpr int | kTestMavCommandMaxWaitMs = kTestMavCommandAckTimeoutMs * _mavCommandMaxRetryCount * 2 |
Static Public Attributes inherited from VehicleTypes | |
| static const int | versionNotSetValue = -1 |
Friends | |
| class | InitialConnectStateMachine |
| class | VehicleLinkManager |
| class | FactGroupListModel |
| class | GimbalController |
| enum Vehicle::CheckList |
| Vehicle::Vehicle | ( | LinkInterface * | link, |
| int | vehicleId, | ||
| int | defaultComponentId, | ||
| MAV_AUTOPILOT | firmwareType, | ||
| MAV_TYPE | vehicleType, | ||
| QObject * | parent = nullptr |
||
| ) |
Definition at line 101 of file Vehicle.cc.
References _initialConnectStateMachine, MultiVehicleManager::activeVehicleChanged(), FirmwarePlugin::adjustMetaData(), armedChanged(), FirmwarePlugin::autopilotPlugin(), FactGroup::factNames(), flightModeChanged(), flying(), flyingChanged(), FactGroup::getFact(), FirmwarePlugin::initializeVehicle(), MAVLinkProtocol::instance(), SettingsManager::instance(), QGCSensors::QGCPressure::instance(), MultiVehicleManager::instance(), MAVLinkProtocol::mavlinkMessageStatus(), MAVLinkProtocol::messageReceived(), Fact::metaData(), MultiVehicleManager::parameterReadyVehicleAvailableChanged(), QGC::runningUnitTests(), setInitialGCSPressure(), setInitialGCSTemperature(), InitialConnectStateMachine::start(), sub(), vehicleType(), VideoSettings::videoDisabled, SettingsManager::videoSettings(), and VideoSettings::videoSourceUDPH264.
| Vehicle::Vehicle | ( | MAV_AUTOPILOT | firmwareType, |
| MAV_TYPE | vehicleType, | ||
| QObject * | parent = nullptr |
||
| ) |
Definition at line 178 of file Vehicle.cc.
References _offlineFirmwareTypeSettingChanged(), FirmwarePlugin::initializeVehicle(), SettingsManager::instance(), MAV_AUTOPILOT_TRACK, Fact::rawValueChanged(), and trackFirmwareVehicleTypeChanges().
| Vehicle::~Vehicle | ( | ) |
Definition at line 388 of file Vehicle.cc.
References _missionManager, and MavCommandQueue::stop().
| int Vehicle::_findMavCommandListEntryIndex | ( | int | targetCompId, |
| MAV_CMD | command | ||
| ) |
Test-only helper: forwards to MavCommandQueue::findEntryIndex.
Definition at line 2198 of file Vehicle.cc.
References MavCommandQueue::findEntryIndex().
|
slot |
Definition at line 474 of file Vehicle.cc.
References capabilityBitsChanged(), FirmwarePluginManager::firmwarePluginForAutopilot(), firmwareTypeChanged(), and FirmwarePluginManager::instance().
Referenced by stopTrackingFirmwareVehicleTypeChanges(), trackFirmwareVehicleTypeChanges(), and Vehicle().
|
slot |
Definition at line 487 of file Vehicle.cc.
References vehicleTypeChanged().
Referenced by stopTrackingFirmwareVehicleTypeChanges(), and trackFirmwareVehicleTypeChanges().
| void Vehicle::_setFlying | ( | bool | flying | ) |
Definition at line 1805 of file Vehicle.cc.
References flying(), and flyingChanged().
| void Vehicle::_setHomePosition | ( | QGeoCoordinate & | homeCoord | ) |
Definition at line 1188 of file Vehicle.cc.
References homePositionChanged().
Referenced by PlanManager::_handleMissionItem().
| void Vehicle::_setLanding | ( | bool | landing | ) |
Definition at line 1813 of file Vehicle.cc.
References armed(), landing(), and landingChanged().
| void Vehicle::abortLanding | ( | double | climbOutAltitude | ) |
Command vehicle to abort landing.
Definition at line 2054 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
|
inline |
Definition at line 541 of file Vehicle.h.
References _actuators.
Referenced by PX4AutoPilotPlugin::vehicleComponents().
| bool Vehicle::airship | ( | ) | const |
Definition at line 1731 of file Vehicle.cc.
References QGCMAVLink::isAirship(), and vehicleType().
Referenced by SensorsComponent::SensorsComponent(), SensorsComponent::setupComplete(), SensorsComponent::setupCompleteChangedTriggerList(), and SensorsComponent::summaryQmlSource().
|
signal |
|
inline |
Definition at line 499 of file Vehicle.h.
Referenced by LandingComplexItem::_createDoLandStartItem(), PlanManager::_handleMissionAck(), PlanManager::_handleMissionItem(), LandingComplexItem::_init(), LandingComplexItem::_scanForItem(), flashBootloader(), genericFirmware(), motorInterlock(), and GeoFenceController::paramCircularFence().
|
inline |
Definition at line 453 of file Vehicle.h.
Referenced by FirmwarePlugin::_armVehicleAndValidate(), _setLanding(), MissionController::sendToVehiclePreCheck(), setArmed(), setArmedShowError(), APMFirmwarePlugin::startMission(), and APMFirmwarePlugin::startTakeoff().
|
signal |
Referenced by MAVLinkLogManager::MAVLinkLogManager(), and Vehicle().
|
signal |
| bool Vehicle::autoDisarm | ( | ) |
Definition at line 2617 of file Vehicle.cc.
References FirmwarePlugin::autoDisarmParameter(), ParameterManager::defaultComponentId, and Fact::rawValue().
|
signal |
|
inline |
Provides access to AutoPilotPlugin for this vehicle.
| QmlObjectListModel * Vehicle::batteries | ( | ) |
Definition at line 430 of file Vehicle.cc.
References _batteryFactGroupListModel.
|
inline |
Definition at line 1300 of file Vehicle.h.
Referenced by VehicleCameraControl::_streamInfoTimeout(), VehicleCameraControl::handleVideoStreamInformation(), and VehicleCameraControl::setCurrentStream().
|
signal |
| QmlObjectListModel * Vehicle::cameraTriggerPoints | ( | ) |
Definition at line 434 of file Vehicle.cc.
|
inline |
Definition at line 708 of file Vehicle.h.
Referenced by OnboardLogFtpController::refresh().
|
signal |
|
inline |
Definition at line 709 of file Vehicle.h.
Referenced by PX4FirmwarePlugin::guidedModeGotoLocation(), guidedModeOrbit(), OnboardLogFtpController::refresh(), TerrainQueryCoordinator::sendROICommand(), stopGuidedModeROI(), GeoFenceManager::supported(), RallyPointManager::supported(), GeoFenceController::supported(), and RallyPointController::supported().
|
signal |
Referenced by _offlineFirmwareTypeSettingChanged().
|
signal |
Referenced by setCheckListState().
| void Vehicle::clearAllParamMapRC | ( | void | ) |
Clears all PARAM_MAP_RC settings from vehicle.
Definition at line 2958 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
| void Vehicle::clearMessages | ( | ) |
Definition at line 3411 of file Vehicle.cc.
References StatusTextHandler::clearMessages().
| FactGroup * Vehicle::clockFactGroup | ( | ) |
Definition at line 417 of file Vehicle.cc.
References _clockFactGroup.
| void Vehicle::closeVehicle | ( | ) |
Removes the vehicle from the system.
Definition at line 435 of file Vehicle.cc.
References _vehicleLinkManager, and VehicleLinkManager::closeVehicle().
| bool Vehicle::coaxialMotors | ( | ) |
Definition at line 1417 of file Vehicle.cc.
References FirmwarePlugin::multiRotorCoaxialMotors().
|
inline |
Definition at line 430 of file Vehicle.h.
Referenced by VehicleFactGroup::_handleAttitude(), VehicleFactGroup::_handleAttitudeQuaternion(), VehicleObjectAvoidance::enabled(), getMessageRate(), RemoteIDManager::RemoteIDManager(), RequestMessageCoordinator::requestMessage(), requestMessage(), sendCommand(), sendMavCommand(), sendMavCommandDelayed(), sendMavCommandInt(), sendMavCommandIntWithHandler(), sendMavCommandIntWithLambdaFallback(), sendMavCommandWithHandler(), sendMavCommandWithLambdaFallback(), setMessageRate(), VehicleObjectAvoidance::start(), VehicleObjectAvoidance::stop(), and PX4AutoPilotPlugin::vehicleComponents().
|
inline |
|
inline |
Definition at line 413 of file Vehicle.h.
Referenced by APMFirmwarePlugin::guidedModeChangeHeading(), PX4FirmwarePlugin::guidedModeChangeHeading(), guidedModeGotoLocation(), TransformPositionController::setFromVehicle(), and TerrainQueryCoordinator::updateAltAboveTerrain().
|
signal |
Referenced by TrajectoryPoints::start(), and TrajectoryPoints::stop().
|
signal |
|
inline |
Definition at line 682 of file Vehicle.h.
Referenced by PX4FirmwarePlugin::_changeAltAfterPause(), FactPanelController::_reportMissingParameter(), abortLanding(), APMSensorsComponentController::calibrateCompass(), APMSensorsComponentController::calibrateCompassNorth(), APMSensorsComponentController::cancelCalibration(), OnboardLogController::eraseAll(), flashBootloader(), APMFirmwarePlugin::guidedModeChangeAltitude(), PX4FirmwarePlugin::guidedModeChangeAltitude(), APMFirmwarePlugin::guidedModeChangeEquivalentAirspeedMetersSecond(), PX4FirmwarePlugin::guidedModeChangeEquivalentAirspeedMetersSecond(), PX4FirmwarePlugin::guidedModeChangeGroundSpeedMetersSecond(), APMFirmwarePlugin::guidedModeChangeGroundSpeedMetersSecond(), APMFirmwarePlugin::guidedModeChangeHeading(), PX4FirmwarePlugin::guidedModeChangeHeading(), APMFirmwarePlugin::guidedModeGotoLocation(), PX4FirmwarePlugin::guidedModeGotoLocation(), guidedModeOrbit(), PX4FirmwarePlugin::guidedModeTakeoff(), landingGearDeploy(), landingGearRetract(), motorInterlock(), PX4FirmwarePlugin::pauseVehicle(), SensorsComponentController::resetFactoryParameters(), TerrainQueryCoordinator::sendROICommand(), setCurrentMissionSequence(), setEstimatorOrigin(), setFlightMode(), setOfflineEditingDefaultComponentId(), startCalibration(), APMFirmwarePlugin::startMission(), startUAVCANBusConfig(), stopCalibration(), stopGuidedModeROI(), stopUAVCANBusConfig(), and MissionManager::writeArduPilotGuidedMissionItem().
|
inline |
Definition at line 528 of file Vehicle.h.
Referenced by MissionFlightStatusCalculator::reset(), MissionController::save(), and SpeedSection::SpeedSection().
|
signal |
|
inline |
Definition at line 529 of file Vehicle.h.
Referenced by MissionFlightStatusCalculator::reset(), MissionController::save(), and SpeedSection::SpeedSection().
|
signal |
| void Vehicle::deleteGimbalController | ( | ) |
Delete gimbal controller, handy for RequestMessageTest.cc, otherwise gimbal controller message requests will mess with this test.
| FactGroup * Vehicle::distanceSensorFactGroup | ( | ) |
Definition at line 419 of file Vehicle.cc.
References _distanceSensorFactGroup.
| void Vehicle::doSetHome | ( | const QGeoCoordinate & | coord | ) |
Set home from flight map coordinate.
Definition at line 2870 of file Vehicle.cc.
References _terrainQueryCoordinator, and TerrainQueryCoordinator::doSetHomeWithTerrain().
|
inline |
| FactGroup * Vehicle::efiFactGroup | ( | ) |
Definition at line 426 of file Vehicle.cc.
References _efiFactGroup.
| void Vehicle::emergencyStop | ( | ) |
Command vehicle to kill all motors no matter what state.
Definition at line 2079 of file Vehicle.cc.
References sendMavCommand().
| QmlObjectListModel * Vehicle::escs | ( | ) |
Definition at line 431 of file Vehicle.cc.
References _escStatusFactGroupListModel.
| FactGroup * Vehicle::estimatorStatusFactGroup | ( | ) |
Definition at line 422 of file Vehicle.cc.
References _estimatorStatusFactGroup.
| QVariant Vehicle::expandedToolbarIndicatorSource | ( | const QString & | indicatorName | ) |
Definition at line 3361 of file Vehicle.cc.
References FirmwarePlugin::expandedToolbarIndicatorSource().
|
signal |
Referenced by setFirmwareCustomVersion().
|
inline |
Definition at line 661 of file Vehicle.h.
Referenced by APMFirmwarePlugin::_internalParameterMetaDataFile(), FirmwarePlugin::_versionFileDownloadFinished(), SensorsComponent::SensorsComponent(), SensorsComponent::setupComplete(), FirmwarePlugin::versionCompare(), and ParameterManager::writeParametersToStream().
|
inline |
Definition at line 662 of file Vehicle.h.
Referenced by APMFirmwarePlugin::_internalParameterMetaDataFile(), FirmwarePlugin::_versionFileDownloadFinished(), SensorsComponent::SensorsComponent(), SensorsComponent::setupComplete(), FirmwarePlugin::versionCompare(), and ParameterManager::writeParametersToStream().
|
inline |
Definition at line 663 of file Vehicle.h.
Referenced by FirmwarePlugin::_versionFileDownloadFinished(), FirmwarePlugin::versionCompare(), and ParameterManager::writeParametersToStream().
|
inline |
Provides access to the Firmware Plugin for this Vehicle.
Definition at line 448 of file Vehicle.h.
Referenced by PlanManager::_handleMissionItem(), CameraSection::cameraModeSupported(), VehicleSupports::changeHeading(), MissionController::currentMissionIndex(), MissionManager::generateResumeMission(), StandardModes::gotMessage(), VehicleSupports::guidedMode(), VehicleSupports::guidedTakeoffWithAltitude(), VehicleSupports::guidedTakeoffWithoutAltitude(), MissionController::insertCancelROIMissionItem(), MissionController::insertROIMissionItem(), VehicleSupports::jsButton(), VehicleSupports::motorInterference(), VehicleSupports::negativeThrust(), VehicleSupports::orbitMode(), VehicleSupports::pauseVehicle(), VehicleSupports::radio(), MissionController::removeVisualItem(), MissionFlightStatusCalculator::reset(), MissionController::resumeMission(), MissionController::resumeMissionIndex(), VehicleSupports::roiMode(), APMFollowComponentController::roverFirmware(), MAVLinkEventManager::setMetadata(), VehicleSupports::smartRTL(), VehicleSupports::takeoffMissionCommand(), VehicleSupports::throttleModeCenterZero(), APMAutoPilotPlugin::vehicleComponents(), and PlanManager::writeMissionItems().
|
inline |
Definition at line 697 of file Vehicle.h.
Referenced by _MAV_CMD_DO_REPOSITION_ResultHandler(), APMFirmwarePlugin::adjustIncomingMavlinkMessage(), APMFirmwarePlugin::guidedModeGotoLocation(), APMFirmwarePlugin::initializeStreamRates(), and setFirmwarePluginInstanceData().
|
inline |
Definition at line 431 of file Vehicle.h.
Referenced by MissionController::save(), MissionController::sendToVehiclePreCheck(), and ParameterManager::writeParametersToStream().
|
signal |
Referenced by _offlineFirmwareTypeSettingChanged(), and VehicleSupports::VehicleSupports().
| QString Vehicle::firmwareTypeString | ( | ) | const |
Definition at line 505 of file Vehicle.cc.
References QGCMAVLink::firmwareClassToString().
|
signal |
Referenced by setFirmwareVersion().
|
inline |
Definition at line 664 of file Vehicle.h.
Referenced by FirmwarePlugin::_versionFileDownloadFinished().
| QString Vehicle::firmwareVersionTypeString | ( | ) | const |
Definition at line 2292 of file Vehicle.cc.
References QGCMAVLink::firmwareVersionTypeToString().
Referenced by ParameterManager::writeParametersToStream().
| bool Vehicle::fixedWing | ( | ) | const |
Definition at line 1736 of file Vehicle.cc.
References QGCMAVLink::isFixedWing(), and vehicleType().
Referenced by RallyPointController::addPoint(), PX4FirmwarePlugin::flightModes(), inFwdFlight(), MissionController::insertLandItem(), APMFirmwarePlugin::isCapable(), PX4FirmwarePlugin::isCapable(), SpeedSection::scanForSection(), SensorsComponent::SensorsComponent(), SpeedSection::setAvailable(), SensorsComponent::setupComplete(), SensorsComponent::setupCompleteChangedTriggerList(), SimpleMissionItem::showLoiterRadius(), APMFirmwarePlugin::startMission(), and SensorsComponent::summaryQmlSource().
| void Vehicle::flashBootloader | ( | ) |
Definition at line 3380 of file Vehicle.cc.
References apmFirmware(), defaultComponentId(), and sendMavCommand().
| QString Vehicle::flightMode | ( | ) | const |
Definition at line 1466 of file Vehicle.cc.
References FirmwarePlugin::flightMode().
Referenced by FirmwarePlugin::_setFlightModeAndValidate(), APMFirmwarePlugin::isGuidedMode(), PX4FirmwarePlugin::isGuidedMode(), MissionController::sendToVehiclePreCheck(), and setFlightMode().
|
signal |
Referenced by MAVLinkEventManager::MAVLinkEventManager(), and Vehicle().
| QStringList Vehicle::flightModes | ( | ) |
Definition at line 1460 of file Vehicle.cc.
References flightModes(), and FirmwarePlugin::flightModes().
Referenced by flightModes().
|
signal |
| bool Vehicle::flightModeSetAvailable | ( | ) |
Definition at line 1455 of file Vehicle.cc.
References FirmwarePlugin::isCapable(), and FirmwarePlugin::SetFlightModeCapability.
| uint32_t Vehicle::flowImageIndex | ( | ) | const |
Definition at line 3512 of file Vehicle.cc.
References ImageProtocolManager::flowImageIndex().
|
signal |
|
inline |
Definition at line 504 of file Vehicle.h.
Referenced by _setFlying(), APMFirmwarePlugin::startCompensatingBaro(), APMFirmwarePlugin::startMission(), APMFirmwarePlugin::startTakeoff(), and Vehicle().
|
signal |
Referenced by _setFlying(), and Vehicle().
| QString Vehicle::followFlightMode | ( | ) | const |
Definition at line 2566 of file Vehicle.cc.
References FirmwarePlugin::followFlightMode().
| void Vehicle::forceArm | ( | void | ) |
Definition at line 1446 of file Vehicle.cc.
References sendMavCommand().
| void Vehicle::forceInitialPlanRequestComplete | ( | ) |
Definition at line 2710 of file Vehicle.cc.
References initialPlanRequestCompleteChanged().
| QString Vehicle::formattedMessages | ( | ) | const |
Definition at line 3417 of file Vehicle.cc.
References StatusTextHandler::formattedMessages().
|
signal |
|
inline |
Definition at line 580 of file Vehicle.h.
References _ftpManager.
Referenced by OnboardLogFtpController::cancel().
|
signal |
| FactGroup * Vehicle::generatorFactGroup | ( | ) |
Definition at line 425 of file Vehicle.cc.
References _generatorFactGroup.
|
inline |
Definition at line 500 of file Vehicle.h.
References apmFirmware(), and px4Firmware().
|
inline |
Definition at line 575 of file Vehicle.h.
References _geoFenceManager.
|
inline |
Definition at line 416 of file Vehicle.h.
Referenced by APMFirmwarePlugin::startCompensatingBaro().
|
inline |
Definition at line 417 of file Vehicle.h.
Referenced by APMFirmwarePlugin::startCompensatingBaro().
| int32_t Vehicle::getMessageRate | ( | uint8_t | compId, |
| uint16_t | msgId | ||
| ) |
Definition at line 3351 of file Vehicle.cc.
References compId(), and MessageIntervalManager::getMessageRate().
|
inline |
|
inline |
Definition at line 675 of file Vehicle.h.
Referenced by ParameterManager::writeParametersToStream().
|
signal |
| QString Vehicle::gotoFlightMode | ( | ) | const |
Definition at line 1821 of file Vehicle.cc.
References FirmwarePlugin::gotoFlightMode().
| FactGroup * Vehicle::gps2FactGroup | ( | ) |
Definition at line 412 of file Vehicle.cc.
References _gps2FactGroup.
| FactGroup * Vehicle::gpsAggregateFactGroup | ( | ) |
Definition at line 413 of file Vehicle.cc.
References _gpsAggregateFactGroup.
| FactGroup * Vehicle::gpsFactGroup | ( | ) |
Definition at line 411 of file Vehicle.cc.
References _gpsFactGroup.
| bool Vehicle::guidedMode | ( | ) | const |
Definition at line 2063 of file Vehicle.cc.
References FirmwarePlugin::isGuidedMode().
Referenced by setGuidedMode().
| void Vehicle::guidedModeChangeAltitude | ( | double | altitudeChange, |
| bool | pauseVehicle | ||
| ) |
Command vehicle to change altitude
| altitudeChange | If > 0, go up by amount specified, if < 0, go down by amount specified |
| pauseVehicle | true: pause vehicle prior to altitude change |
Definition at line 1912 of file Vehicle.cc.
References guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeChangeAltitude(), pauseVehicle(), and QGC::showAppMessage().
|
signal |
| void Vehicle::guidedModeChangeEquivalentAirspeedMetersSecond | ( | double | airspeed | ) |
Command vehicle to change equivalent airspeed
| airspeed | Target equivalent airspeed |
Definition at line 1932 of file Vehicle.cc.
References guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeChangeEquivalentAirspeedMetersSecond(), and QGC::showAppMessage().
| void Vehicle::guidedModeChangeGroundSpeedMetersSecond | ( | double | groundspeed | ) |
Command vehicle to change groundspeed
| groundspeed | Target horizontal groundspeed |
Definition at line 1922 of file Vehicle.cc.
References guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeChangeGroundSpeedMetersSecond(), and QGC::showAppMessage().
| void Vehicle::guidedModeChangeHeading | ( | const QGeoCoordinate & | headingCoord | ) |
Command vehicle to change yaw
| coordinate | to rotate towards |
Definition at line 2035 of file Vehicle.cc.
References VehicleSupports::changeHeading(), FirmwarePlugin::guidedModeChangeHeading(), and QGC::showAppMessage().
| bool Vehicle::guidedModeGotoLocation | ( | const QGeoCoordinate & | gotoCoord, |
| double | forwardFlightLoiterRadius = 0.0f |
||
| ) |
Command vehicle to move to specified location (altitude is ignored)
Definition at line 1891 of file Vehicle.cc.
References FactMetaData::appSettingsHorizontalDistanceUnitsString(), coordinate(), SettingsManager::flyViewSettings(), guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeGotoLocation(), SettingsManager::instance(), FactMetaData::metersToAppSettingsHorizontalDistanceUnits(), and QGC::showAppMessage().
| void Vehicle::guidedModeLand | ( | ) |
Command vehicle to land at current location.
Definition at line 1835 of file Vehicle.cc.
References guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeLand(), and QGC::showAppMessage().
| void Vehicle::guidedModeOrbit | ( | const QGeoCoordinate & | centerCoord, |
| double | radius, | ||
| double | amslAltitude | ||
| ) |
Command vehicle to orbit given center point
| centerCoord | Orbit around this point |
| radius | Distance from vehicle to centerCoord |
| amslAltitude | Desired vehicle altitude |
Definition at line 1941 of file Vehicle.cc.
References capabilityBits(), defaultComponentId(), VehicleSupports::orbitMode(), sendMavCommand(), sendMavCommandInt(), and QGC::showAppMessage().
| void Vehicle::guidedModeROI | ( | const QGeoCoordinate & | centerCoord | ) |
Command vehicle to keep given point as ROI
| centerCoord | ROI coordinates |
Definition at line 1973 of file Vehicle.cc.
References _terrainQueryCoordinator, px4Firmware(), roiCoordChanged(), VehicleSupports::roiMode(), TerrainQueryCoordinator::roiWithTerrain(), TerrainQueryCoordinator::sendROICommand(), and QGC::showAppMessage().
| void Vehicle::guidedModeRTL | ( | bool | smartRTL | ) |
Command vehicle to return to launch.
Definition at line 1826 of file Vehicle.cc.
References guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeRTL(), and QGC::showAppMessage().
| void Vehicle::guidedModeTakeoff | ( | double | altitudeRelative | ) |
Command vehicle to takeoff from current location.
Definition at line 1844 of file Vehicle.cc.
References VehicleFactGroup::altitudeRelative(), guided_mode_not_supported_by_vehicle, VehicleSupports::guidedMode(), FirmwarePlugin::guidedModeTakeoff(), and QGC::showAppMessage().
| bool Vehicle::hasGripper | ( | ) | const |
Definition at line 1875 of file Vehicle.cc.
References FirmwarePlugin::hasGripper().
|
signal |
|
signal |
|
inline |
Definition at line 409 of file Vehicle.h.
References _fixed_wing_airspeed_limits_available.
|
signal |
|
inline |
Definition at line 408 of file Vehicle.h.
References _multirotor_speed_limits_available.
| HealthAndArmingCheckReport * Vehicle::healthAndArmingCheckReport | ( | ) |
Definition at line 3577 of file Vehicle.cc.
|
inline |
Definition at line 540 of file Vehicle.h.
Referenced by PX4AutoPilotPlugin::vehicleComponents().
| QString Vehicle::hobbsMeter | ( | ) |
Definition at line 2721 of file Vehicle.cc.
References FirmwarePlugin::getHobbsMeter().
|
signal |
| QGeoCoordinate Vehicle::homePosition | ( | ) |
Definition at line 1432 of file Vehicle.cc.
Referenced by PX4FirmwarePlugin::guidedModeChangeAltitude(), and APMFirmwarePlugin::sendGCSMotionReport().
|
signal |
Referenced by _setHomePosition(), and MissionSettingsItem::MissionSettingsItem().
| FactGroup * Vehicle::hygrometerFactGroup | ( | ) |
Definition at line 424 of file Vehicle.cc.
References _hygrometerFactGroup.
|
inline |
Definition at line 429 of file Vehicle.h.
Referenced by VehicleFactGroup::_handleAttitude(), VehicleFactGroup::_handleAttitudeQuaternion(), PlanManager::_handleMissionRequest(), VehicleCameraControl::_mavCommandResult(), QGCCameraManager::_mavlinkMessageReceived(), PlanManager::_readTransactionComplete(), PlanManager::_removeAllWorker(), VehicleCameraControl::_requestAllParameters(), PlanManager::_requestList(), PlanManager::_requestNextMissionItem(), PlanManager::_writeMissionCount(), APMFirmwarePlugin::adjustIncomingMavlinkMessage(), ParameterEditorController::buildDiffFromFile(), MultiVehicleManager::deselectVehicle(), VehicleSigningController::disable(), VehicleSigningController::enable(), OnboardLogController::eraseAll(), MultiVehicleManager::getVehicleById(), APMFirmwarePlugin::guidedModeChangeAltitude(), MavCommandQueue::handleCommandAck(), QGCCameraParamIO::paramRequest(), RemoteIDManager::RemoteIDManager(), requestDataStream(), MavCommandQueue::sendWorker(), MissionManager::writeArduPilotGuidedMissionItem(), ParameterManager::writeParametersToStream(), and VehicleSigningController::~VehicleSigningController().
| bool Vehicle::inFwdFlight | ( | ) | const |
Definition at line 2073 of file Vehicle.cc.
References fixedWing().
|
signal |
|
signal |
Referenced by GimbalController::GimbalController(), and QGCCameraManager::QGCCameraManager().
|
inline |
The vehicle is responsible for making the initial request for the Plan.
Definition at line 715 of file Vehicle.h.
Referenced by GeoFenceController::showPlanFromManagerVehicle(), MissionController::showPlanFromManagerVehicle(), and RallyPointController::showPlanFromManagerVehicle().
|
signal |
Referenced by forceInitialPlanRequestComplete().
| bool Vehicle::isInitialConnectComplete | ( | ) | const |
Definition at line 2807 of file Vehicle.cc.
References _initialConnectStateMachine, and QGCStateMachine::active().
| bool Vehicle::isMavCommandPending | ( | int | targetCompId, |
| MAV_CMD | command | ||
| ) |
isMavCommandPending Query whether the specified MAV_CMD is in queue to be sent or has already been sent but whose reply has not yet been received and whose timeout has not yet expired.
Or, said another way: if you call `sendMavCommand(compId, command, true, ...)`
will an error be shown because you (or another part of QGC) has already sent that command?
| targetCompId | |
| command |
Definition at line 2193 of file Vehicle.cc.
References MavCommandQueue::isPending().
|
inline |
Definition at line 514 of file Vehicle.h.
Referenced by MissionManager::generateResumeMission(), APMFirmwarePlugin::initializeVehicle(), PlanManager::loadFromVehicle(), GeoFenceController::paramCircularFence(), MissionController::sendToVehiclePreCheck(), and PlanManager::writeMissionItems().
|
inline |
|
signal |
| QString Vehicle::landFlightMode | ( | ) | const |
Definition at line 2556 of file Vehicle.cc.
References FirmwarePlugin::landFlightMode().
|
inline |
Definition at line 505 of file Vehicle.h.
Referenced by _setLanding().
|
signal |
Referenced by _setLanding().
| void Vehicle::landingGearDeploy | ( | ) |
Command vichecle to deploy landing gear.
Definition at line 2089 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
| void Vehicle::landingGearRetract | ( | ) |
Command vichecle to retract landing gear.
Definition at line 2099 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
|
signal |
| FactGroup * Vehicle::localPositionFactGroup | ( | ) |
Definition at line 420 of file Vehicle.cc.
References _localPositionFactGroup.
| FactGroup * Vehicle::localPositionSetpointFactGroup | ( | ) |
Definition at line 421 of file Vehicle.cc.
References _localPositionSetpointFactGroup.
|
signal |
|
signal |
|
signal |
|
static |
Definition at line 3371 of file Vehicle.cc.
References MavCommandQueue::failureCodeToString().
Referenced by _requestCameraInfoCommandResultHandler().
|
signal |
Signalled in response to usage of sendMavCommand
| vehicleId | Vehicle which command was sent to |
| targetComponent | Component which command was sent to |
| command | Command which was sent |
| ackResult | MAV_RESULT returned in ack |
| failureCode | More detailed failure code Vehicle::MavCmdResultFailureCode_t |
Referenced by VehicleCameraControl::_initWhenReady(), APMSensorsComponentController::calibrateCompass(), APMSensorsComponentController::calibrateCompassNorth(), SendMavlinkCommandState::connectWaitSignal(), SendMavlinkCommandState::disconnectWaitSignal(), ESP8266ComponentController::ESP8266ComponentController(), PX4FirmwarePlugin::guidedModeTakeoff(), and MAVLinkLogManager::MAVLinkLogManager().
|
signal |
Referenced by MAVLinkLogManager::MAVLinkLogManager().
| MAVLinkLogManager * Vehicle::mavlinkLogManager | ( | ) | const |
Definition at line 3527 of file Vehicle.cc.
|
signal |
|
inline |
|
inline |
|
signal |
Referenced by PlanManager::_connectToMavlink(), PlanManager::_disconnectFromMavlink(), WaitForMavlinkMessageState::connectWaitSignal(), WaitForParamResponseState::connectWaitSignal(), WaitForMavlinkMessageState::disconnectWaitSignal(), WaitForParamResponseState::disconnectWaitSignal(), GimbalController::GimbalController(), MissionManager::MissionManager(), and QGCCameraManager::QGCCameraManager().
|
signal |
|
inline |
|
signal |
|
signal |
| double Vehicle::maximumEquivalentAirspeed | ( | ) |
Definition at line 1864 of file Vehicle.cc.
References FirmwarePlugin::maximumEquivalentAirspeed().
| double Vehicle::maximumHorizontalSpeedMultirotorMetersSecond | ( | ) |
Definition at line 1858 of file Vehicle.cc.
References FirmwarePlugin::maximumHorizontalSpeedMultirotorMetersSecond().
| int Vehicle::messageCount | ( | ) | const |
Definition at line 3416 of file Vehicle.cc.
References StatusTextHandler::messageCount().
|
signal |
|
signal |
|
signal |
|
signal |
Referenced by sendMessageOnLinkThreadSafe().
|
signal |
| bool Vehicle::messageTypeError | ( | ) | const |
Definition at line 3415 of file Vehicle.cc.
References StatusTextHandler::messageTypeError().
| bool Vehicle::messageTypeNone | ( | ) | const |
Definition at line 3412 of file Vehicle.cc.
References StatusTextHandler::messageTypeNone().
| bool Vehicle::messageTypeNormal | ( | ) | const |
Definition at line 3413 of file Vehicle.cc.
References StatusTextHandler::messageTypeNormal().
| bool Vehicle::messageTypeWarning | ( | ) | const |
Definition at line 3414 of file Vehicle.cc.
References StatusTextHandler::messageTypeWarning().
| double Vehicle::minimumEquivalentAirspeed | ( | ) |
Definition at line 1870 of file Vehicle.cc.
References FirmwarePlugin::minimumEquivalentAirspeed().
| double Vehicle::minimumTakeoffAltitudeMeters | ( | ) |
Definition at line 1853 of file Vehicle.cc.
References FirmwarePlugin::minimumTakeoffAltitudeMeters().
| QString Vehicle::missionFlightMode | ( | ) | const |
Definition at line 2536 of file Vehicle.cc.
References FirmwarePlugin::missionFlightMode().
Referenced by MissionController::sendToVehiclePreCheck(), and MAVLinkEventManager::setMetadata().
|
inline |
Definition at line 574 of file Vehicle.h.
References _missionManager.
Referenced by APMFirmwarePlugin::guidedModeGotoLocation(), MissionController::loadFromVehicle(), and MissionController::sendItemsToVehicle().
| int Vehicle::motorCount | ( | ) |
Definition at line 1408 of file Vehicle.cc.
References ParameterManager::getParameter(), QGCMAVLink::motorCount(), parameterManager(), and Fact::rawValue().
| QString Vehicle::motorDetectionFlightMode | ( | ) | const |
Definition at line 2571 of file Vehicle.cc.
References FirmwarePlugin::motorDetectionFlightMode().
| void Vehicle::motorInterlock | ( | bool | enable | ) |
Command vehicle to Enable/Disable Motor Interlock.
Definition at line 3392 of file Vehicle.cc.
References apmFirmware(), defaultComponentId(), APM::MOTOR_INTERLOCK, and sendMavCommand().
| void Vehicle::motorTest | ( | int | motor, |
| int | percent, | ||
| int | timeoutSecs, | ||
| bool | showError | ||
| ) |
Test motor
| motor | Motor number, 1-based |
| percent | 0-no power, 100-full power |
| timeoutSec | Disabled motor after this amount of time |
Definition at line 2446 of file Vehicle.cc.
References sendMavCommand().
| bool Vehicle::multiRotor | ( | ) | const |
Definition at line 1756 of file Vehicle.cc.
References QGCMAVLink::isMultiRotor(), and vehicleType().
Referenced by SpeedSection::appendSectionItems(), QGCCorePlugin::complexMissionItemNames(), APMFirmwarePlugin::expandedToolbarIndicatorSource(), PX4FirmwarePlugin::flightModes(), TransectStyleComplexItem::hoverAndCaptureAllowed(), APMFirmwarePlugin::isCapable(), PX4FirmwarePlugin::isCapable(), MissionFlightStatusCalculator::recalc(), MissionFlightStatusCalculator::reset(), SpeedSection::scanForSection(), SpeedSection::setAvailable(), SpeedSection::SpeedSection(), startCalibration(), and APMAutoPilotPlugin::vehicleComponents().
|
signal |
|
inline |
|
signal |
|
inline |
| void Vehicle::pairRX | ( | int | rxType, |
| int | rxSubType | ||
| ) |
Definition at line 3191 of file Vehicle.cc.
References sendMavCommand().
Referenced by RadioComponentController::crsfBindMode(), and RadioComponentController::spektrumBindMode().
|
inline |
Definition at line 577 of file Vehicle.h.
Referenced by FactPanelController::_allParametersExists(), APMSensorsComponent::accelSetupNeeded(), APMAirframeComponent::APMAirframeComponent(), APMRadioComponent::APMRadioComponent(), APMSensorsComponent::compassSetupNeeded(), VehicleObjectAvoidance::enabled(), APMFirmwarePlugin::fixedWingAirSpeedLimitsAvailable(), PX4FirmwarePlugin::fixedWingAirSpeedLimitsAvailable(), APMFirmwarePlugin::getHobbsMeter(), PX4FirmwarePlugin::getHobbsMeter(), FactPanelController::getMissingParameters(), FactPanelController::getParameterFact(), APMFirmwarePlugin::guidedModeChangeHeading(), APMFirmwarePlugin::hasGripper(), PX4FirmwarePlugin::hasGripper(), Actuators::init(), APMFirmwarePlugin::maximumEquivalentAirspeed(), PX4FirmwarePlugin::maximumEquivalentAirspeed(), APMFirmwarePlugin::maximumHorizontalSpeedMultirotorMetersSecond(), PX4FirmwarePlugin::maximumHorizontalSpeedMultirotorMetersSecond(), APMFirmwarePlugin::minimumEquivalentAirspeed(), PX4FirmwarePlugin::minimumEquivalentAirspeed(), APMFirmwarePlugin::minimumTakeoffAltitudeMeters(), motorCount(), APMFirmwarePlugin::mulirotorSpeedLimitsAvailable(), PX4FirmwarePlugin::mulirotorSpeedLimitsAvailable(), ArduCopterFirmwarePlugin::multiRotorXConfig(), GeoFenceController::paramCircularFence(), FactPanelController::parameterExists(), PX4AutoPilotPlugin::parametersReadyPreChecks(), PX4AutoPilotPlugin::prerequisiteSetup(), PX4RadioComponent::requiresSetup(), VehicleComponent::sections(), SensorsComponent::sections(), SensorsComponent::sectionSetupComplete(), RCToParamDialogController::setTuningFact(), APMRadioComponent::setupComplete(), AirframeComponent::setupComplete(), PX4RadioComponent::setupComplete(), PowerComponent::setupComplete(), SensorsComponent::setupComplete(), VehicleComponent::setupTriggerSignals(), VehicleObjectAvoidance::start(), VehicleObjectAvoidance::stop(), APMAutoPilotPlugin::vehicleComponents(), and PX4AutoPilotPlugin::vehicleComponents().
|
inline |
| QString Vehicle::pauseFlightMode | ( | ) | const |
Definition at line 2541 of file Vehicle.cc.
References FirmwarePlugin::pauseFlightMode().
| void Vehicle::pauseVehicle | ( | ) |
Command vehicle to pause at current location. If vehicle supports guide mode, vehicle will be left in guided mode after pause.
Definition at line 2045 of file Vehicle.cc.
References VehicleSupports::pauseVehicle(), FirmwarePlugin::pauseVehicle(), and QGC::showAppMessage().
Referenced by guidedModeChangeAltitude().
|
inline |
Definition at line 477 of file Vehicle.h.
Referenced by setPrearmError().
|
signal |
Referenced by setPrearmError().
| void Vehicle::prepareDelete | ( | ) |
Vehicle is about to be deleted.
|
inline |
Definition at line 498 of file Vehicle.h.
Referenced by genericFirmware(), guidedModeROI(), MavCommandQueue::handleCommandAck(), MAVLinkLogManager::MAVLinkLogManager(), MissionController::multipleLandPatternsAllowed(), GeoFenceController::paramCircularFence(), MAVLinkLogManager::startLogging(), MAVLinkLogManager::stopLogging(), VehicleSupports::terrainFrame(), ParameterManager::tryHashCheckCacheLoad(), and RadioComponentController::~RadioComponentController().
| FactGroup * Vehicle::radioStatusFactGroup | ( | ) |
Definition at line 428 of file Vehicle.cc.
References _radioStatusFactGroup.
|
inline |
Definition at line 576 of file Vehicle.h.
References _rallyPointManager.
|
signal |
Filtered RC channel values coming from RC_CHANNELS message: clamped 1000:2000
| channelValues | The clamped values for rc channels |
Referenced by APMFlightModesComponentController::APMFlightModesComponentController(), PX4SimpleFlightModesController::PX4SimpleFlightModesController(), and RadioComponentController::start().
|
signal |
Raw RC channel values coming from RC_CHANNELS message
| channelValues | The current raw values for rc channels |
|
signal |
|
signal |
| void Vehicle::rebootVehicle | ( | ) |
Reboot vehicle.
Definition at line 2319 of file Vehicle.cc.
References VehicleTypes::MavCmdAckHandlerInfo_s::resultHandler, VehicleTypes::MavCmdAckHandlerInfo_s::resultHandlerData, and sendMavCommandWithHandler().
|
inline |
Definition at line 584 of file Vehicle.h.
References _remoteIDManager.
| void Vehicle::requestDataStream | ( | MAV_DATA_STREAM | stream, |
| uint16_t | rate, | ||
| bool | sendMultiple = true |
||
| ) |
Requests the specified data stream from the vehicle
| stream | Stream which is being requested |
| rate | Rate at which to send stream in Hz |
| sendMultiple | Send multiple time to guarantee Vehicle reception |
Definition at line 1527 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), id(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), sendMessageMultiple(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
Referenced by APMFirmwarePlugin::initializeStreamRates(), and ArduSubFirmwarePlugin::initializeStreamRates().
| void Vehicle::requestMessage | ( | RequestMessageResultHandler | resultHandler, |
| void * | resultHandlerData, | ||
| int | compId, | ||
| int | messageId, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| float | param5 = 0.0f |
||
| ) |
Requests the vehicle to send the specified message. Will retry a number of times.
| resultHandler | Callback for result |
| resultHandlerData | Opaque data passed back to resultHandler |
Definition at line 2255 of file Vehicle.cc.
References compId(), and RequestMessageCoordinator::requestMessage().
Referenced by _requestCameraInfoHelper(), RequestMessageState::onWaitEntered(), and QGCCameraManager::requestCameraFovForComp().
|
static |
Definition at line 3366 of file Vehicle.cc.
References RequestMessageCoordinator::failureCodeToString().
Referenced by _requestCameraInfoMessageResultHandler().
| void Vehicle::requestOperatorControl | ( | bool | allowOverride, |
| int | requestTimeoutSecs = 0 |
||
| ) |
Definition at line 3216 of file Vehicle.cc.
References SettingsManager::flyViewSettings(), SettingsManager::instance(), and sendMavCommandWithHandler().
Referenced by startTimerRevertAllowTakeover().
|
signal |
|
signal |
| void Vehicle::resetAllMessages | ( | ) |
Definition at line 3409 of file Vehicle.cc.
References StatusTextHandler::resetAllMessages().
| void Vehicle::resetCounters | ( | ) |
< Flight mode vehicle is in while performing goto
< Vehicle is flying < Vehicle is in landing pattern (DO_LAND_START) < Vehicle is in Guided mode and can respond to guided commands Resets link status counters
Definition at line 510 of file Vehicle.cc.
| void Vehicle::resetErrorLevelMessages | ( | ) |
Definition at line 3410 of file Vehicle.cc.
References StatusTextHandler::resetErrorLevelMessages().
|
signal |
Referenced by guidedModeROI().
| bool Vehicle::rover | ( | ) | const |
Definition at line 1741 of file Vehicle.cc.
References QGCMAVLink::isRoverBoat(), and vehicleType().
Referenced by startCalibration().
| FactGroup * Vehicle::rpmFactGroup | ( | ) |
Definition at line 427 of file Vehicle.cc.
References _rpmFactGroup.
| QString Vehicle::rtlFlightMode | ( | ) | const |
Definition at line 2546 of file Vehicle.cc.
References FirmwarePlugin::rtlFlightMode().
| void Vehicle::sendCommand | ( | int | compId, |
| int | command, | ||
| bool | showError, | ||
| double | param1 = 0.0, |
||
| double | param2 = 0.0, |
||
| double | param3 = 0.0, |
||
| double | param4 = 0.0, |
||
| double | param5 = 0.0, |
||
| double | param6 = 0.0, |
||
| double | param7 = 0.0 |
||
| ) |
Same as sendMavCommand but available from Qml.
Definition at line 2154 of file Vehicle.cc.
References compId(), and sendMavCommand().
|
signal |
|
slot |
Definition at line 3140 of file Vehicle.cc.
References sendMavCommand().
| void Vehicle::sendJoystickAuxRcOverrideThreadSafe | ( | const std::array< uint16_t, kAuxRcOverrideChannelCount > & | channelValues, |
| const std::array< bool, kAuxRcOverrideChannelCount > & | channelEnabled, | ||
| bool | useRcOverride | ||
| ) |
Definition at line 3044 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
| void Vehicle::sendJoystickDataThreadSafe | ( | float | roll, |
| float | pitch, | ||
| float | yaw, | ||
| float | thrust, | ||
| quint16 | buttons, | ||
| quint16 | buttons2, | ||
| float | pitchExtension, | ||
| float | rollExtension, | ||
| float | aux1, | ||
| float | aux2, | ||
| float | aux3, | ||
| float | aux4, | ||
| float | aux5, | ||
| float | aux6 | ||
| ) |
Definition at line 2984 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleFactGroup::pitch(), VehicleLinkManager::primaryLink(), VehicleFactGroup::roll(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
Referenced by virtualTabletJoystickValue().
| void Vehicle::sendMavCommand | ( | int | compId, |
| MAV_CMD | command, | ||
| bool | showError, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| float | param5 = 0.0f, |
||
| float | param6 = 0.0f, |
||
| float | param7 = 0.0f |
||
| ) |
Sends the specified MAV_CMD to the vehicle. If no Ack is received command will be retried. If a sendMavCommand is already in progress the command will be queued and sent when the previous command completes.
| compId | Component to send to. |
| command | MAV_CMD to send |
| showError | true: Display error to user if command failed, false: no error shown Signals: mavCommandResult on success or failure |
Definition at line 2144 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommand().
Referenced by PX4FirmwarePlugin::_changeAltAfterPause(), VehicleCameraControl::_requestCameraSettings(), VehicleCameraControl::_requestCaptureStatus(), VehicleCameraControl::_requestStorageInfo(), VehicleCameraControl::_requestStreamInfo(), VehicleCameraControl::_requestStreamStatus(), VehicleCameraControl::_requestTrackingStatus(), abortLanding(), GimbalController::acquireGimbalControl(), APMSensorsComponentController::calibrateCompass(), APMSensorsComponentController::calibrateCompassNorth(), APMSensorsComponentController::cancelCalibration(), emergencyStop(), flashBootloader(), forceArm(), VehicleCameraControl::formatCard(), APMFirmwarePlugin::guidedModeChangeEquivalentAirspeedMetersSecond(), PX4FirmwarePlugin::guidedModeChangeEquivalentAirspeedMetersSecond(), PX4FirmwarePlugin::guidedModeChangeGroundSpeedMetersSecond(), APMFirmwarePlugin::guidedModeChangeGroundSpeedMetersSecond(), APMFirmwarePlugin::guidedModeChangeHeading(), PX4FirmwarePlugin::guidedModeChangeHeading(), PX4FirmwarePlugin::guidedModeGotoLocation(), guidedModeOrbit(), PX4FirmwarePlugin::guidedModeTakeoff(), APMFirmwarePlugin::initializeStreamRates(), landingGearDeploy(), landingGearRetract(), motorInterlock(), motorTest(), SendMavlinkCommandState::onWaitEntered(), pairRX(), PX4FirmwarePlugin::pauseVehicle(), GimbalController::releaseGimbalControl(), ParameterManager::resetAllParametersToDefaults(), SensorsComponentController::resetFactoryParameters(), VehicleCameraControl::resetSettings(), VehicleCameraControl::resumeStream(), sendCommand(), sendGripperAction(), GimbalController::sendPitchAbsoluteYaw(), GimbalController::sendPitchBodyYaw(), GimbalController::sendPitchYawFlags(), TerrainQueryCoordinator::sendROICommand(), MavlinkAction::sendTo(), setArmed(), VehicleCameraControl::setCameraMode(), VehicleCameraControl::setCurrentStream(), setEventsMetadata(), setFlightMode(), VehicleCameraControl::setFocusLevel(), setVtolInFwdFlight(), VehicleCameraControl::setZoomLevel(), VehicleCameraControl::startFocus(), startMavlinkLog(), APMFirmwarePlugin::startMission(), VehicleCameraControl::startTrackingPoint(), VehicleCameraControl::startTrackingRect(), startUAVCANBusConfig(), VehicleCameraControl::startVideoRecording(), VehicleCameraControl::startZoom(), VehicleCameraControl::stepFocus(), VehicleCameraControl::stepZoom(), stopCalibration(), VehicleCameraControl::stopFocus(), stopGuidedModeROI(), stopMavlinkLog(), VehicleCameraControl::stopStream(), VehicleCameraControl::stopTakePhoto(), VehicleCameraControl::stopTracking(), stopUAVCANBusConfig(), VehicleCameraControl::stopVideoRecording(), VehicleCameraControl::stopZoom(), VehicleCameraControl::takePhoto(), and triggerSimpleCamera().
| void Vehicle::sendMavCommandDelayed | ( | int | compId, |
| MAV_CMD | command, | ||
| bool | showError, | ||
| int | milliseconds, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| float | param5 = 0.0f, |
||
| float | param6 = 0.0f, |
||
| float | param7 = 0.0f |
||
| ) |
Definition at line 2149 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandDelayed().
| void Vehicle::sendMavCommandInt | ( | int | compId, |
| MAV_CMD | command, | ||
| MAV_FRAME | frame, | ||
| bool | showError, | ||
| float | param1, | ||
| float | param2, | ||
| float | param3, | ||
| float | param4, | ||
| double | param5, | ||
| double | param6, | ||
| float | param7 | ||
| ) |
Definition at line 2173 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandInt().
Referenced by PX4FirmwarePlugin::guidedModeGotoLocation(), guidedModeOrbit(), TerrainQueryCoordinator::sendROICommand(), and stopGuidedModeROI().
| void Vehicle::sendMavCommandIntWithHandler | ( | const MavCmdAckHandlerInfo_t * | ackHandlerInfo, |
| int | compId, | ||
| MAV_CMD | command, | ||
| MAV_FRAME | frame, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| double | param5 = 0.0f, |
||
| double | param6 = 0.0f, |
||
| float | param7 = 0.0f |
||
| ) |
Sends the command and calls the callback with the result
| resultHandler | Callback for result, nullptr for no callback |
| resultHandleData | Opaque data passed through callback |
| compId |
|
Definition at line 2178 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandIntWithHandler().
Referenced by APMFirmwarePlugin::guidedModeGotoLocation().
| void Vehicle::sendMavCommandIntWithLambdaFallback | ( | std::function< void()> | lambda, |
| int | compId, | ||
| MAV_CMD | command, | ||
| MAV_FRAME | frame, | ||
| bool | showError, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| double | param5 = 0.0, |
||
| double | param6 = 0.0, |
||
| float | param7 = 0.0f |
||
| ) |
Sends the command as a COMMAND_INT and calls the fallback lambda function in case the command is MAV_RESULT_UNSUPPORTED
Definition at line 2188 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandIntWithLambdaFallback().
Referenced by setEstimatorOrigin().
| void Vehicle::sendMavCommandWithHandler | ( | const MavCmdAckHandlerInfo_t * | ackHandlerInfo, |
| int | compId, | ||
| MAV_CMD | command, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| float | param5 = 0.0f, |
||
| float | param6 = 0.0f, |
||
| float | param7 = 0.0f |
||
| ) |
Sends the command and calls the callback with the result.
| compId |
|
Definition at line 2168 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandWithHandler().
Referenced by _requestCameraInfoHelper(), PX4FirmwarePlugin::guidedModeChangeAltitude(), rebootVehicle(), requestOperatorControl(), and Autotune::sendMavlinkRequest().
| void Vehicle::sendMavCommandWithLambdaFallback | ( | std::function< void()> | lambda, |
| int | compId, | ||
| MAV_CMD | command, | ||
| bool | showError, | ||
| float | param1 = 0.0f, |
||
| float | param2 = 0.0f, |
||
| float | param3 = 0.0f, |
||
| float | param4 = 0.0f, |
||
| float | param5 = 0.0f, |
||
| float | param6 = 0.0f, |
||
| float | param7 = 0.0f |
||
| ) |
Sends the command and calls the fallback lambda function in case the command is MAV_RESULT_UNSUPPORTED
Definition at line 2183 of file Vehicle.cc.
References compId(), and MavCommandQueue::sendCommandWithLambdaFallback().
Referenced by setCurrentMissionSequence().
| void Vehicle::sendMessageMultiple | ( | mavlink_message_t | message | ) |
Sends the specified messages multiple times to the vehicle in order to attempt to guarantee that it makes it to the vehicle.
Definition at line 1585 of file Vehicle.cc.
Referenced by requestDataStream().
| bool Vehicle::sendMessageOnLinkThreadSafe | ( | LinkInterface * | link, |
| mavlink_message_t | message | ||
| ) |
Sends a message to the specified link
Definition at line 1390 of file Vehicle.cc.
References FirmwarePlugin::adjustOutgoingMavlinkMessageThreadSafe(), LinkInterface::isConnected(), messagesSentChanged(), and LinkInterface::sendMessageThreadSafe().
Referenced by PlanManager::_handleMissionRequest(), PlanManager::_readTransactionComplete(), PlanManager::_removeAllWorker(), VehicleCameraControl::_requestAllParameters(), PlanManager::_requestList(), PlanManager::_requestNextMissionItem(), PlanManager::_writeMissionCount(), clearAllParamMapRC(), OnboardLogController::eraseAll(), APMFirmwarePlugin::guidedModeChangeAltitude(), APMSensorsComponentController::nextClicked(), QGCCameraParamIO::paramRequest(), requestDataStream(), APMFirmwarePlugin::sendGCSMotionReport(), FirmwarePlugin::sendGCSMotionReport(), sendJoystickAuxRcOverrideThreadSafe(), sendJoystickDataThreadSafe(), sendParamMapRC(), setCurrentMissionSequence(), setEstimatorOrigin_SET_GPS_GLOBAL_ORIGIN(), setFlightMode(), startCalibration(), and MissionManager::writeArduPilotGuidedMissionItem().
| void Vehicle::sendParamMapRC | ( | const QString & | paramName, |
| double | scale, | ||
| double | centerValue, | ||
| int | tuningID, | ||
| double | minValue, | ||
| double | maxValue | ||
| ) |
Sends PARAM_MAP_RC message to vehicle.
Definition at line 2924 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
| void Vehicle::sendPlan | ( | QString | planFile | ) |
Definition at line 2716 of file Vehicle.cc.
References PlanMasterController::sendPlanToVehicle().
|
signal |
|
signal |
|
signal |
Referenced by SensorsComponentController::SensorsComponentController().
|
signal |
|
signal |
|
signal |
New SERVO output values coming from SERVO_OUTPUT_RAW message
| servoValues | The current servo output values in microseconds (0-15 -> SERVO1..SERVO16). Invalid values are -1. |
Referenced by ServoOutputMonitorController::ServoOutputMonitorController().
| void Vehicle::setActuatorsMetadata | ( | uint8_t | compid, |
| const QString & | metadataJsonFileName, | ||
| const QJsonDocument & | metadataJson | ||
| ) |
Definition at line 1265 of file Vehicle.cc.
References _actuators, and Actuators::load().
Referenced by CompInfoActuators::setJson().
| void Vehicle::setArmed | ( | bool | armed, |
| bool | showError | ||
| ) |
Definition at line 1437 of file Vehicle.cc.
References armed(), and sendMavCommand().
Referenced by FirmwarePlugin::_armVehicleAndValidate(), and setArmedShowError().
|
inline |
Definition at line 455 of file Vehicle.h.
References armed(), and setArmed().
|
inline |
Definition at line 737 of file Vehicle.h.
References checkListStateChanged().
| void Vehicle::setCurrentMissionSequence | ( | int | seq | ) |
Alter the current mission item on the vehicle.
Definition at line 2109 of file Vehicle.cc.
References defaultComponentId(), MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), FirmwarePlugin::sendHomePositionToVehicle(), sendMavCommandWithLambdaFallback(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
| void Vehicle::setEstimatorOrigin | ( | const QGeoCoordinate & | centerCoord | ) |
Definition at line 3150 of file Vehicle.cc.
References defaultComponentId(), sendMavCommandIntWithLambdaFallback(), and setEstimatorOrigin_SET_GPS_GLOBAL_ORIGIN().
| void Vehicle::setEstimatorOrigin_SET_GPS_GLOBAL_ORIGIN | ( | const QGeoCoordinate & | centerCoord | ) |
Fallback for setEstimatorOrigin which sends the deprecated SET_GPS_GLOBAL_ORIGIN message.
Definition at line 3168 of file Vehicle.cc.
References MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
Referenced by setEstimatorOrigin().
| void Vehicle::setEventsMetadata | ( | uint8_t | compid, |
| const QString & | metadataJsonFileName | ||
| ) |
Definition at line 3582 of file Vehicle.cc.
References sendMavCommand().
Referenced by CompInfoEvents::setJson().
| void Vehicle::setFirmwareCustomVersion | ( | int | majorVersion, |
| int | minorVersion, | ||
| int | patchVersion | ||
| ) |
Definition at line 2284 of file Vehicle.cc.
References firmwareCustomVersionChanged().
| void Vehicle::setFirmwarePluginInstanceData | ( | FirmwarePluginInstanceData * | firmwarePluginInstanceData | ) |
Sets the firmware plugin instance data associated with this Vehicle. This object will be parented to the Vehicle and destroyed when the vehicle goes away.
Definition at line 2530 of file Vehicle.cc.
References firmwarePluginInstanceData().
Referenced by APMFirmwarePlugin::initializeStreamRates(), and PX4FirmwarePlugin::initializeVehicle().
| void Vehicle::setFirmwareVersion | ( | int | majorVersion, |
| int | minorVersion, | ||
| int | patchVersion, | ||
| FIRMWARE_VERSION_TYPE | versionType = FIRMWARE_VERSION_TYPE_OFFICIAL |
||
| ) |
Definition at line 2275 of file Vehicle.cc.
References firmwareVersionChanged().
Referenced by APMFirmwarePlugin::initializeVehicle().
| void Vehicle::setFlightMode | ( | const QString & | flightMode | ) |
Definition at line 1476 of file Vehicle.cc.
References defaultComponentId(), flightMode(), MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), FirmwarePlugin::MAV_CMD_DO_SET_MODE_is_supported(), VehicleLinkManager::primaryLink(), sendMavCommand(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
Referenced by FirmwarePlugin::_setFlightModeAndValidate().
| void Vehicle::setGuidedMode | ( | bool | guidedMode | ) |
Definition at line 2068 of file Vehicle.cc.
References guidedMode(), and FirmwarePlugin::setGuidedMode().
|
inline |
|
inline |
| void Vehicle::setMessageRate | ( | uint8_t | compId, |
| uint16_t | msgId, | ||
| int32_t | rate | ||
| ) |
Definition at line 3356 of file Vehicle.cc.
References compId(), and MessageIntervalManager::setMessageRate().
Referenced by MAVLinkInspectorController::setMessageInterval().
| void Vehicle::setOfflineEditingDefaultComponentId | ( | int | defaultComponentId | ) |
Sets the default component id for an offline editing vehicle.
Definition at line 2451 of file Vehicle.cc.
References defaultComponentId().
| void Vehicle::setPIDTuningTelemetryMode | ( | PIDTuningTelemetryMode | mode | ) |
Definition at line 2756 of file Vehicle.cc.
References VehicleFactGroup::_altitudeTuningFact, _altitudeTuningOffset, VehicleFactGroup::_altitudeTuningSetpointFact, _localPositionFactGroup, _localPositionSetpointFactGroup, _setpointFactGroup, ModeAltitudeAndAirspeed, ModeDisabled, ModeRateAndAttitude, ModeVelocityAndPosition, Fact::rawValue(), FactGroup::setLiveUpdates(), and Fact::setRawValue().
| FactGroup * Vehicle::setpointFactGroup | ( | ) |
Definition at line 418 of file Vehicle.cc.
References _setpointFactGroup.
Referenced by VehicleObjectAvoidance::update().
| void Vehicle::setPrearmError | ( | const QString & | prearmError | ) |
Definition at line 2261 of file Vehicle.cc.
References prearmError(), and prearmErrorChanged().
| void Vehicle::setSoloFirmware | ( | bool | soloFirmware | ) |
Definition at line 2438 of file Vehicle.cc.
References soloFirmware(), and soloFirmwareChanged().
|
slot |
Definition at line 2460 of file Vehicle.cc.
References sendMavCommand(), and vtolInFwdFlight().
|
static |
Definition at line 2203 of file Vehicle.cc.
References MavCommandQueue::showCommandAckError().
|
inline |
|
inline |
| QString Vehicle::smartRTLFlightMode | ( | ) | const |
Definition at line 2551 of file Vehicle.cc.
References FirmwarePlugin::smartRTLFlightMode().
|
inline |
Definition at line 679 of file Vehicle.h.
Referenced by setSoloFirmware().
|
signal |
Referenced by setSoloFirmware().
| bool Vehicle::spacecraft | ( | ) | const |
Definition at line 1751 of file Vehicle.cc.
References QGCMAVLink::isSpacecraft(), and vehicleType().
| QString Vehicle::stabilizedFlightMode | ( | ) | const |
Definition at line 2576 of file Vehicle.cc.
References FirmwarePlugin::stabilizedFlightMode().
| void Vehicle::startCalibration | ( | QGCMAVLink::CalibrationType | calType | ) |
Definition at line 2328 of file Vehicle.cc.
References QGCMAVLink::CalibrationAccel, QGCMAVLink::CalibrationAPMAccelSimple, QGCMAVLink::CalibrationAPMCompassMot, QGCMAVLink::CalibrationAPMPreFlight, QGCMAVLink::CalibrationAPMPressureAirspeed, QGCMAVLink::CalibrationCopyTrims, QGCMAVLink::CalibrationEsc, QGCMAVLink::CalibrationGyro, QGCMAVLink::CalibrationLevel, QGCMAVLink::CalibrationMag, QGCMAVLink::CalibrationNone, QGCMAVLink::CalibrationPX4Airspeed, QGCMAVLink::CalibrationPX4Pressure, QGCMAVLink::CalibrationRadio, defaultComponentId(), MAVLinkProtocol::getComponentId(), MAVLinkProtocol::instance(), multiRotor(), VehicleLinkManager::primaryLink(), rover(), sendMessageOnLinkThreadSafe(), and vehicleLinkManager().
Referenced by APMSensorsComponentController::calibrateAccel(), SensorsComponentController::calibrateAccel(), SensorsComponentController::calibrateAirspeed(), SensorsComponentController::calibrateCompass(), PowerComponentController::calibrateEsc(), APMSensorsComponentController::calibrateGyro(), SensorsComponentController::calibrateGyro(), SensorsComponentController::calibrateLevel(), APMSensorsComponentController::calibrateMotorInterference(), APMSensorsComponentController::calibratePressure(), RemoteControlCalibrationController::copyTrims(), and APMSensorsComponentController::levelHorizon().
| void Vehicle::startMavlinkLog | ( | ) |
Definition at line 2471 of file Vehicle.cc.
References sendMavCommand().
Referenced by MAVLinkLogManager::startLogging().
| void Vehicle::startMission | ( | ) |
Definition at line 1886 of file Vehicle.cc.
References FirmwarePlugin::startMission().
| void Vehicle::startTakeoff | ( | ) |
Definition at line 1880 of file Vehicle.cc.
References FirmwarePlugin::startTakeoff().
| void Vehicle::startTimerRevertAllowTakeover | ( | ) |
Definition at line 3200 of file Vehicle.cc.
References MAVLinkProtocol::instance(), and requestOperatorControl().
| void Vehicle::startUAVCANBusConfig | ( | void | ) |
Definition at line 2422 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
Referenced by PowerComponentController::startBusConfigureActuators().
| const QVariantList & Vehicle::staticCameraList | ( | ) | const |
Definition at line 3545 of file Vehicle.cc.
References QGCCameraManager::cameraList().
| void Vehicle::stopCalibration | ( | bool | showError | ) |
Definition at line 2408 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
Referenced by APMSensorsComponentController::cancelCalibration(), SensorsComponentController::cancelCalibration(), and RadioComponentController::~RadioComponentController().
| void Vehicle::stopGuidedModeROI | ( | ) |
Definition at line 2001 of file Vehicle.cc.
References capabilityBits(), defaultComponentId(), VehicleSupports::roiMode(), sendMavCommand(), sendMavCommandInt(), and QGC::showAppMessage().
| void Vehicle::stopMavlinkLog | ( | ) |
Definition at line 2476 of file Vehicle.cc.
References sendMavCommand().
Referenced by MAVLinkLogManager::stopLogging().
| void Vehicle::stopTrackingFirmwareVehicleTypeChanges | ( | void | ) |
Definition at line 221 of file Vehicle.cc.
References _offlineFirmwareTypeSettingChanged(), _offlineVehicleTypeSettingChanged(), SettingsManager::instance(), and Fact::rawValueChanged().
| void Vehicle::stopUAVCANBusConfig | ( | void | ) |
Definition at line 2430 of file Vehicle.cc.
References defaultComponentId(), and sendMavCommand().
Referenced by PowerComponentController::stopBusConfigureActuators().
| bool Vehicle::sub | ( | ) | const |
Definition at line 1746 of file Vehicle.cc.
References QGCMAVLink::isSub(), and vehicleType().
Referenced by APMFirmwarePlugin::isCapable(), Vehicle(), and APMAutoPilotPlugin::vehicleComponents().
|
inline |
Definition at line 406 of file Vehicle.h.
Referenced by MissionController::setCurrentPlanViewSeqNum(), and APMAutoPilotPlugin::vehicleComponents().
| QObject * Vehicle::sysStatusSensorInfo | ( | ) |
Definition at line 433 of file Vehicle.cc.
| QString Vehicle::takeControlFlightMode | ( | ) | const |
Definition at line 2561 of file Vehicle.cc.
References FirmwarePlugin::takeControlFlightMode().
| FactGroup * Vehicle::temperatureFactGroup | ( | ) |
Definition at line 416 of file Vehicle.cc.
References _temperatureFactGroup.
| FactGroup * Vehicle::terrainFactGroup | ( | ) |
Definition at line 423 of file Vehicle.cc.
References _terrainFactGroup.
|
signal |
| const QVariantList & Vehicle::toolIndicators | ( | ) |
Definition at line 2597 of file Vehicle.cc.
References FirmwarePlugin::toolIndicators().
|
signal |
| void Vehicle::trackFirmwareVehicleTypeChanges | ( | void | ) |
Definition at line 212 of file Vehicle.cc.
References _offlineFirmwareTypeSettingChanged(), _offlineVehicleTypeSettingChanged(), SettingsManager::instance(), and Fact::rawValueChanged().
Referenced by Vehicle().
| void Vehicle::triggerSimpleCamera | ( | void | ) |
Trigger camera using MAV_CMD_DO_DIGICAM_CONTROL command.
Definition at line 3131 of file Vehicle.cc.
References sendMavCommand().
Referenced by SimulatedCameraControl::takePhoto().
| void Vehicle::updateFlightDistance | ( | double | distance | ) |
Definition at line 2919 of file Vehicle.cc.
References VehicleFactGroup::_flightDistanceFact, Fact::rawValue(), and Fact::setRawValue().
|
inline |
Definition at line 433 of file Vehicle.h.
References QGCMAVLink::vehicleClass().
Referenced by MissionManager::generateResumeMission(), and vehicleClassInternalName().
| QString Vehicle::vehicleClassInternalName | ( | ) | const |
Definition at line 1771 of file Vehicle.cc.
References vehicleClass(), and QGCMAVLink::vehicleClassToInternalString().
|
inline |
Definition at line 551 of file Vehicle.h.
References _vehicleFactGroup.
| QString Vehicle::vehicleImageOpaque | ( | ) | const |
Definition at line 2581 of file Vehicle.cc.
References FirmwarePlugin::vehicleImageOpaque().
| QString Vehicle::vehicleImageOutline | ( | ) | const |
Definition at line 2589 of file Vehicle.cc.
References FirmwarePlugin::vehicleImageOutline().
|
inline |
Definition at line 579 of file Vehicle.h.
References _vehicleLinkManager.
Referenced by PlanManager::_handleMissionRequest(), PlanManager::_readTransactionComplete(), PlanManager::_removeAllWorker(), VehicleCameraControl::_requestAllParameters(), PlanManager::_requestList(), PlanManager::_requestNextMissionItem(), PlanManager::_writeMissionCount(), APMSensorsComponentController::calibrateAccel(), APMSensorsComponentController::calibrateGyro(), APMSensorsComponentController::calibrateMotorInterference(), APMSensorsComponentController::calibratePressure(), clearAllParamMapRC(), OnboardLogController::eraseAll(), APMFirmwarePlugin::guidedModeChangeAltitude(), APMSensorsComponentController::levelHorizon(), PlanMasterController::loadFromVehicle(), APMSensorsComponentController::nextClicked(), RequestMessageState::onWaitEntered(), QGCCameraParamIO::paramRequest(), requestDataStream(), APMFirmwarePlugin::sendGCSMotionReport(), FirmwarePlugin::sendGCSMotionReport(), sendJoystickAuxRcOverrideThreadSafe(), sendJoystickDataThreadSafe(), sendParamMapRC(), PlanMasterController::sendToVehicle(), MavCommandQueue::sendWorker(), setCurrentMissionSequence(), setEstimatorOrigin_SET_GPS_GLOBAL_ORIGIN(), setFlightMode(), VideoManager::setfullScreen(), startCalibration(), ParameterManager::tryHashCheckCacheLoad(), APMSensorsComponentController::usingUDPLink(), SensorsComponentController::usingUDPLink(), and MissionManager::writeArduPilotGuidedMissionItem().
|
inline |
Definition at line 432 of file Vehicle.h.
Referenced by APMFirmwarePlugin::_internalParameterMetaDataFile(), airship(), APMAirframeComponent::APMAirframeComponent(), APMFailsafesComponent::description(), APMFlightSafetyComponent::description(), APMSafetyComponent::description(), fixedWing(), multiRotor(), rover(), MissionController::save(), MissionController::sendToVehiclePreCheck(), APMAdvancedTuningCopterComponent::setupSource(), APMFailsafesComponent::setupSource(), APMFlightSafetyComponent::setupSource(), APMMotorComponent::setupSource(), APMSafetyComponent::setupSource(), APMTuningComponent::setupSource(), PX4FlightBehavior::setupSource(), PX4TuningComponent::setupSource(), spacecraft(), sub(), APMFailsafesComponent::summaryQmlSource(), APMFlightSafetyComponent::summaryQmlSource(), APMSafetyComponent::summaryQmlSource(), PX4FirmwarePlugin::supportsNegativeThrust(), Vehicle(), APMAutoPilotPlugin::vehicleComponents(), vtol(), and ParameterManager::writeParametersToStream().
|
signal |
Referenced by _offlineVehicleTypeSettingChanged().
| QString Vehicle::vehicleTypeString | ( | ) | const |
Definition at line 1766 of file Vehicle.cc.
References QGCMAVLink::mavTypeToString().
|
signal |
| QString Vehicle::vehicleUIDStr | ( | ) |
Definition at line 1012 of file Vehicle.cc.
| int Vehicle::versionCompare | ( | const QString & | compare | ) | const |
Used to check if running current version is equal or higher than the one being compared.
Definition at line 2746 of file Vehicle.cc.
References FirmwarePlugin::versionCompare().
Referenced by LandingComplexItem::_createDoLandStartItem(), FirmwarePlugin::_versionFileDownloadFinished(), and APMAutoPilotPlugin::vehicleComponents().
| int Vehicle::versionCompare | ( | int | major, |
| int | minor, | ||
| int | patch | ||
| ) | const |
Definition at line 2751 of file Vehicle.cc.
References FirmwarePlugin::versionCompare().
| FactGroup * Vehicle::vibrationFactGroup | ( | ) |
Definition at line 415 of file Vehicle.cc.
References _vibrationFactGroup.
| void Vehicle::virtualTabletJoystickValue | ( | double | roll, |
| double | pitch, | ||
| double | yaw, | ||
| double | thrust | ||
| ) |
| bool Vehicle::vtol | ( | ) | const |
Definition at line 1761 of file Vehicle.cc.
References QGCMAVLink::isVTOL(), and vehicleType().
Referenced by QGCCorePlugin::complexMissionItemNames(), TransectStyleComplexItem::hoverAndCaptureAllowed(), MissionController::insertLandItem(), MissionController::insertTakeoffItem(), APMFirmwarePlugin::isCapable(), PX4FirmwarePlugin::isCapable(), APMFirmwarePlugin::minimumTakeoffAltitudeMeters(), MissionFlightStatusCalculator::recalc(), MissionFlightStatusCalculator::reset(), SensorsComponent::SensorsComponent(), SensorsComponent::setupComplete(), SensorsComponent::setupCompleteChangedTriggerList(), SimpleMissionItem::showLoiterRadius(), and SensorsComponent::summaryQmlSource().
|
inline |
Definition at line 508 of file Vehicle.h.
Referenced by setVtolInFwdFlight().
|
signal |
| FactGroup * Vehicle::windFactGroup | ( | ) |
Definition at line 414 of file Vehicle.cc.
References _windFactGroup.
| bool Vehicle::xConfigMotors | ( | ) |
Definition at line 1422 of file Vehicle.cc.
References FirmwarePlugin::multiRotorXConfig().
|
friend |
|
friend |
|
friend |
|
friend |
| Actuators* Vehicle::_actuators = nullptr |
Definition at line 1131 of file Vehicle.h.
Referenced by actuators(), and setActuatorsMetadata().
| float Vehicle::_altitudeTuningOffset = qQNaN() |
Definition at line 1068 of file Vehicle.h.
Referenced by setPIDTuningTelemetryMode().
| BatteryFactGroupListModel* Vehicle::_batteryFactGroupListModel = nullptr |
Definition at line 1120 of file Vehicle.h.
Referenced by batteries().
| VehicleClockFactGroup* Vehicle::_clockFactGroup = nullptr |
Definition at line 1103 of file Vehicle.h.
Referenced by clockFactGroup().
| const QString Vehicle::_clockFactGroupName = QStringLiteral("clock") |
| VehicleDistanceSensorFactGroup* Vehicle::_distanceSensorFactGroup = nullptr |
Definition at line 1105 of file Vehicle.h.
Referenced by distanceSensorFactGroup().
| const QString Vehicle::_distanceSensorFactGroupName = QStringLiteral("distanceSensor") |
| VehicleEFIFactGroup* Vehicle::_efiFactGroup = nullptr |
Definition at line 1111 of file Vehicle.h.
Referenced by efiFactGroup().
| const QString Vehicle::_efiFactGroupName = QStringLiteral("efi") |
| EscStatusFactGroupListModel* Vehicle::_escStatusFactGroupListModel = nullptr |
| VehicleEstimatorStatusFactGroup* Vehicle::_estimatorStatusFactGroup = nullptr |
Definition at line 1108 of file Vehicle.h.
Referenced by estimatorStatusFactGroup().
| const QString Vehicle::_estimatorStatusFactGroupName = QStringLiteral("estimatorStatus") |
| bool Vehicle::_fixed_wing_airspeed_limits_available = false |
Definition at line 1072 of file Vehicle.h.
Referenced by haveFWSpeedLimits().
| FTPManager* Vehicle::_ftpManager = nullptr |
Definition at line 1129 of file Vehicle.h.
Referenced by ftpManager().
| VehicleGeneratorFactGroup* Vehicle::_generatorFactGroup = nullptr |
Definition at line 1110 of file Vehicle.h.
Referenced by generatorFactGroup().
| const QString Vehicle::_generatorFactGroupName = QStringLiteral("generator") |
| GeoFenceManager* Vehicle::_geoFenceManager = nullptr |
Definition at line 1126 of file Vehicle.h.
Referenced by geoFenceManager().
| VehicleGPS2FactGroup* Vehicle::_gps2FactGroup = nullptr |
Definition at line 1098 of file Vehicle.h.
Referenced by gps2FactGroup().
| const QString Vehicle::_gps2FactGroupName = QStringLiteral("gps2") |
| VehicleGPSAggregateFactGroup* Vehicle::_gpsAggregateFactGroup = nullptr |
Definition at line 1099 of file Vehicle.h.
Referenced by gpsAggregateFactGroup().
| const QString Vehicle::_gpsAggregateFactGroupName = QStringLiteral("gpsAggregate") |
| VehicleGPSFactGroup* Vehicle::_gpsFactGroup = nullptr |
Definition at line 1097 of file Vehicle.h.
Referenced by gpsFactGroup().
| const QString Vehicle::_gpsFactGroupName = QStringLiteral("gps") |
| VehicleHygrometerFactGroup* Vehicle::_hygrometerFactGroup = nullptr |
Definition at line 1109 of file Vehicle.h.
Referenced by hygrometerFactGroup().
| const QString Vehicle::_hygrometerFactGroupName = QStringLiteral("hygrometer") |
| InitialConnectStateMachine* Vehicle::_initialConnectStateMachine = nullptr |
Definition at line 1130 of file Vehicle.h.
Referenced by isInitialConnectComplete(), and Vehicle().
| VehicleLocalPositionFactGroup* Vehicle::_localPositionFactGroup = nullptr |
Definition at line 1106 of file Vehicle.h.
Referenced by localPositionFactGroup(), and setPIDTuningTelemetryMode().
| const QString Vehicle::_localPositionFactGroupName = QStringLiteral("localPosition") |
| VehicleLocalPositionSetpointFactGroup* Vehicle::_localPositionSetpointFactGroup = nullptr |
Definition at line 1107 of file Vehicle.h.
Referenced by localPositionSetpointFactGroup(), and setPIDTuningTelemetryMode().
| const QString Vehicle::_localPositionSetpointFactGroupName = QStringLiteral("localPositionSetpoint") |
| QMap<uint8_t , uint8_t > Vehicle::_lowestBatteryChargeStateAnnouncedMap |
|
staticconstexpr |
Ack timeout used in unit tests — kept on Vehicle for source-compat with existing tests (mirrors MavCommandQueue::kTestAckTimeoutMs).
| MissionManager* Vehicle::_missionManager = nullptr |
Definition at line 1125 of file Vehicle.h.
Referenced by missionManager(), and ~Vehicle().
| bool Vehicle::_multirotor_speed_limits_available = false |
Definition at line 1071 of file Vehicle.h.
Referenced by haveMRSpeedLimits().
| RadioStatusFactGroup* Vehicle::_radioStatusFactGroup = nullptr |
Definition at line 1114 of file Vehicle.h.
Referenced by radioStatusFactGroup().
| const QString Vehicle::_radioStatusFactGroupName = QStringLiteral("radioStatus") |
| RallyPointManager* Vehicle::_rallyPointManager = nullptr |
Definition at line 1127 of file Vehicle.h.
Referenced by rallyPointManager().
| RemoteIDManager* Vehicle::_remoteIDManager = nullptr |
Definition at line 1132 of file Vehicle.h.
Referenced by remoteIDManager().
| VehicleRPMFactGroup* Vehicle::_rpmFactGroup = nullptr |
Definition at line 1112 of file Vehicle.h.
Referenced by rpmFactGroup().
| const QString Vehicle::_rpmFactGroupName = QStringLiteral("rpm") |
| QVector<int> Vehicle::_servoOutputRawValues = QVector<int>(16, -1) |
| VehicleSetpointFactGroup* Vehicle::_setpointFactGroup = nullptr |
Definition at line 1104 of file Vehicle.h.
Referenced by setPIDTuningTelemetryMode(), and setpointFactGroup().
| const QString Vehicle::_setpointFactGroupName = QStringLiteral("setpoint") |
| StandardModes* Vehicle::_standardModes = nullptr |
| VehicleTemperatureFactGroup* Vehicle::_temperatureFactGroup = nullptr |
Definition at line 1102 of file Vehicle.h.
Referenced by temperatureFactGroup().
| const QString Vehicle::_temperatureFactGroupName = QStringLiteral("temperature") |
| TerrainFactGroup* Vehicle::_terrainFactGroup = nullptr |
Definition at line 1113 of file Vehicle.h.
Referenced by terrainFactGroup().
| const QString Vehicle::_terrainFactGroupName = QStringLiteral("terrain") |
| TerrainProtocolHandler* Vehicle::_terrainProtocolHandler = nullptr |
| TerrainQueryCoordinator* Vehicle::_terrainQueryCoordinator = nullptr |
Definition at line 1136 of file Vehicle.h.
Referenced by doSetHome(), and guidedModeROI().
| VehicleFactGroup* Vehicle::_vehicleFactGroup |
Definition at line 1096 of file Vehicle.h.
Referenced by vehicleFactGroup().
| const QString Vehicle::_vehicleFactGroupName = QStringLiteral("vehicle") |
| VehicleLinkManager* Vehicle::_vehicleLinkManager = nullptr |
Definition at line 1128 of file Vehicle.h.
Referenced by closeVehicle(), and vehicleLinkManager().
| VehicleVibrationFactGroup* Vehicle::_vibrationFactGroup = nullptr |
Definition at line 1101 of file Vehicle.h.
Referenced by vibrationFactGroup().
| const QString Vehicle::_vibrationFactGroupName = QStringLiteral("vibration") |
| VehicleWindFactGroup* Vehicle::_windFactGroup = nullptr |
Definition at line 1100 of file Vehicle.h.
Referenced by windFactGroup().
| const QString Vehicle::_windFactGroupName = QStringLiteral("wind") |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
Definition at line 128 of file Vehicle.h.
Referenced by MultiVehicleManager::init(), and Vehicle().
|
static |
Definition at line 129 of file Vehicle.h.
Referenced by MultiVehicleManager::init().