|
QGroundControl
Ground Control Station for MAVLink Drones
|
MAVLink Camera API controller - connected to a real mavlink v2 camera. More...
#include <VehicleCameraControl.h>
Inheritance diagram for VehicleCameraControl:
Collaboration diagram for VehicleCameraControl:Public Member Functions | |
| VehicleCameraControl (const mavlink_camera_information_t *info, Vehicle *vehicle, int compID, QObject *parent=nullptr) | |
| ~VehicleCameraControl () override | |
| Q_INVOKABLE void | setCameraModeVideo () override |
| Q_INVOKABLE void | setCameraModePhoto () override |
| Q_INVOKABLE void | toggleCameraMode () override |
| Q_INVOKABLE bool | takePhoto () override |
| Q_INVOKABLE bool | stopTakePhoto () override |
| Q_INVOKABLE bool | startVideoRecording () override |
| Q_INVOKABLE bool | stopVideoRecording () override |
| Q_INVOKABLE bool | toggleVideoRecording () override |
| Q_INVOKABLE void | resetSettings () override |
| Q_INVOKABLE void | formatCard (int id=1) override |
| Q_INVOKABLE void | stepZoom (int direction) override |
| Q_INVOKABLE void | startZoom (int direction) override |
| Q_INVOKABLE void | stopZoom () override |
| Q_INVOKABLE void | stepFocus (int direction) override |
| Q_INVOKABLE void | startFocus (int direction) override |
| Q_INVOKABLE void | stopFocus () override |
| Q_INVOKABLE void | stopStream () override |
| Q_INVOKABLE void | resumeStream () override |
| Q_INVOKABLE void | startTrackingRect (QRectF rec) override |
| Q_INVOKABLE void | startTrackingPoint (QPointF point, double radius) override |
| Q_INVOKABLE void | stopTracking () override |
| int | version () const override |
| QString | modelName () const override |
| QString | vendor () const override |
| QString | firmwareVersion () const override |
| qreal | focalLength () const override |
| QSizeF | sensorSize () const override |
| QSize | resolution () const override |
| bool | capturesVideo () const override |
| bool | capturesPhotos () const override |
| bool | hasModes () const override |
| bool | hasZoom () const override |
| bool | hasFocus () const override |
| bool | hasTracking () const override |
| bool | supportsTrackingPoint () const override |
| bool | supportsTrackingRect () const override |
| bool | hasVideoStream () const override |
| bool | photosInVideoMode () const override |
| bool | videoInPhotoMode () const override |
| CaptureVideoState | captureVideoState () const override |
| CapturePhotosState | capturePhotosState () const override |
| int | compID () const override |
| bool | isBasic () const override |
| StorageStatus | storageStatus () const override |
| QStringList | activeSettings () const override |
| quint32 | storageFree () const override |
| QString | storageFreeStr () const override |
| quint32 | storageTotal () const override |
| int | batteryRemaining () const override |
| QString | batteryRemainingStr () const override |
| bool | paramComplete () const override |
| qreal | zoomLevel () const override |
| qreal | focusLevel () const override |
| QmlObjectListModel * | streams () override |
| QGCVideoStreamInfo * | currentStreamInstance () override |
| QGCVideoStreamInfo * | thermalStreamInstance () override |
| int | currentStream () const override |
| void | setCurrentStream (int stream) override |
| bool | autoStream () const override |
| quint32 | recordTime () const override |
| QString | recordTimeStr () const override |
| QStringList | streamLabels () const override |
| Stream names to show the user (for selection) | |
| ThermalViewMode | thermalMode () const override |
| void | setThermalMode (ThermalViewMode mode) override |
| double | thermalOpacity () const override |
| void | setThermalOpacity (double val) override |
| void | setZoomLevel (qreal level) override |
| void | setFocusLevel (qreal level) override |
| void | setCameraMode (CameraMode cameraMode) override |
| void | setPhotoCaptureMode (PhotoCaptureMode mode) override |
| void | setPhotoLapse (qreal interval) override |
| void | setPhotoLapseCount (int count) override |
| void | handleCameraSettings (const mavlink_camera_settings_t &settings) override |
| void | handleCameraCaptureStatus (const mavlink_camera_capture_status_t &cameraCaptureStatus) override |
| void | handleParamExtAck (const mavlink_param_ext_ack_t ¶mExtAck) override |
| void | handleParamExtValue (const mavlink_param_ext_value_t ¶mExtValue) override |
| void | handleStorageInformation (const mavlink_storage_information_t &storageInformation) override |
| void | handleBatteryStatus (const mavlink_battery_status_t &bs) override |
| void | handleTrackingImageStatus (const mavlink_camera_tracking_image_status_t &trackingImageStatus) override |
| void | handleVideoStreamInformation (const mavlink_video_stream_information_t &videoStreamInformation) override |
| void | handleVideoStreamStatus (const mavlink_video_stream_status_t &videoStreamStatus) override |
| bool | trackingEnabled () const override |
| void | setTrackingEnabled (bool set) override |
| bool | trackingImageIsActive () const override |
| bool | trackingImageIsPoint () const override |
| QRectF | trackingImageRect () const override |
| QPointF | trackingImagePoint () const override |
| qreal | trackingImageRadius () const override |
| Fact * | exposureMode () override |
| Fact * | ev () override |
| Fact * | iso () override |
| Fact * | shutterSpeed () override |
| Fact * | aperture () override |
| Fact * | wb () override |
| Fact * | mode () override |
| void | factChanged (Fact *pFact) override |
| Notify controller a parameter has changed. | |
| bool | incomingParameter (Fact *pFact, QVariant &newValue) override |
| Allow controller to modify or invalidate incoming parameter. | |
| bool | validateParameter (Fact *pFact, QVariant &newValue) override |
| Allow controller to modify or invalidate parameter change. | |
Public Member Functions inherited from MavlinkCameraControlInterface | |
| MavlinkCameraControlInterface (Vehicle *vehicle, QObject *parent=nullptr) | |
| virtual | ~MavlinkCameraControlInterface () |
| virtual PhotoCaptureMode | photoCaptureMode () const |
| virtual qreal | photoLapse () const |
| virtual int | photoLapseCount () const |
| virtual CameraMode | cameraMode () const |
| QString | cameraModeToStr (CameraMode mode) |
| QString | captureImageStatusToStr (uint8_t image_status) |
| QString | captureVideoStatusToStr (uint8_t video_status) |
| QString | storageStatusToStr (uint8_t status) |
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 |
| virtual void | handleMessage (Vehicle *, const mavlink_message_t &) |
| Allows a FactGroup to parse incoming messages and fill in values. | |
Static Public Attributes | |
| static constexpr const char * | kCondition = "condition" |
| static constexpr const char * | kControl = "control" |
| static constexpr const char * | kDefault = "default" |
| static constexpr const char * | kDefnition = "definition" |
| static constexpr const char * | kDescription = "description" |
| static constexpr const char * | kExclusion = "exclude" |
| static constexpr const char * | kExclusions = "exclusions" |
| static constexpr const char * | kLocale = "locale" |
| static constexpr const char * | kLocalization = "localization" |
| static constexpr const char * | kMax = "max" |
| static constexpr const char * | kMin = "min" |
| static constexpr const char * | kModel = "model" |
| static constexpr const char * | kName = "name" |
| static constexpr const char * | kOption = "option" |
| static constexpr const char * | kOptions = "options" |
| static constexpr const char * | kOriginal = "original" |
| static constexpr const char * | kParameter = "parameter" |
| static constexpr const char * | kParameterrange = "parameterrange" |
| static constexpr const char * | kParameterranges = "parameterranges" |
| static constexpr const char * | kParameters = "parameters" |
| static constexpr const char * | kReadOnly = "readonly" |
| static constexpr const char * | kWriteOnly = "writeonly" |
| static constexpr const char * | kRoption = "roption" |
| static constexpr const char * | kStep = "step" |
| static constexpr const char * | kDecimalPlaces = "decimalPlaces" |
| static constexpr const char * | kStrings = "strings" |
| static constexpr const char * | kTranslated = "translated" |
| static constexpr const char * | kType = "type" |
| static constexpr const char * | kUnit = "unit" |
| static constexpr const char * | kUpdate = "update" |
| static constexpr const char * | kUpdates = "updates" |
| static constexpr const char * | kValue = "value" |
| static constexpr const char * | kVendor = "vendor" |
| static constexpr const char * | kVersion = "version" |
| static constexpr const char * | kPhotoMode = "PhotoCaptureMode" |
| static constexpr const char * | kPhotoLapse = "PhotoLapse" |
| static constexpr const char * | kPhotoLapseCount = "PhotoLapseCount" |
| static constexpr const char * | kThermalOpacity = "ThermalOpacity" |
| static constexpr const char * | kThermalMode = "ThermalMode" |
| static constexpr const char * | kCAM_EV = "CAM_EV" |
| static constexpr const char * | kCAM_EXPMODE = "CAM_EXPMODE" |
| static constexpr const char * | kCAM_ISO = "CAM_ISO" |
| static constexpr const char * | kCAM_SHUTTERSPD = "CAM_SHUTTERSPD" |
| static constexpr const char * | kCAM_APERTURE = "CAM_APERTURE" |
| static constexpr const char * | kCAM_WBMODE = "CAM_WBMODE" |
| static constexpr const char * | kCAM_MODE = "CAM_MODE" |
Protected Slots | |
| virtual void | _initWhenReady () |
| virtual void | _requestCameraSettings () |
| virtual void | _requestAllParameters () |
| virtual void | _requestParamUpdates () |
| virtual void | _requestCaptureStatus () |
| virtual void | _requestStorageInfo () |
| virtual void | _downloadFinished () |
| virtual void | _mavCommandResult (int vehicleId, int component, int command, int result, int failureCode) |
| virtual void | _dataReady (QByteArray data) |
| virtual void | _streamInfoTimeout () |
| virtual void | _streamStatusTimeout () |
| virtual void | _cameraSettingsTimeout () |
| virtual void | _storageInfoTimeout () |
| virtual void | _recTimerHandler () |
| virtual void | _checkForVideoStreams () |
| virtual void | _onVideoManagerRecordingChanged (bool recording) |
| void | _paramDone () override |
Protected Slots inherited from MavlinkCameraControlInterface | |
| virtual void | _paramDone ()=0 |
Protected Slots inherited from FactGroup | |
| virtual void | _updateAllValues () |
Protected Member Functions | |
| virtual void | _setVideoCaptureStatus (VideoCaptureStatus captureStatus) |
| virtual void | _setPhotoCaptureStatus (PhotoCaptureStatus captureStatus) |
| virtual void | _setCameraMode (CameraMode mode) |
| virtual void | _requestStreamInfo (uint8_t streamID) |
| virtual void | _requestStreamStatus (uint8_t streamID) |
| virtual void | _requestTrackingStatus () |
| virtual QGCVideoStreamInfo * | _findStream (uint8_t streamID, bool report=true) |
| virtual QGCVideoStreamInfo * | _findStream (const QString name) |
Protected Member Functions inherited from MavlinkCameraControlInterface | |
| VideoCaptureStatus | _videoCaptureStatus () const |
| PhotoCaptureStatus | _photoCaptureStatus () const |
Protected Member Functions inherited from FactGroup | |
| void | _addFact (Fact *fact, const QString &name) |
| void | _addFact (Fact *fact) |
| void | _addFactGroup (FactGroup *factGroup, const QString &name) |
| void | _addFactGroup (FactGroup *factGroup) |
| void | _loadFromJsonArray (const QJsonArray &jsonArray) |
| void | _setTelemetryAvailable (bool telemetryAvailable) |
MAVLink Camera API controller - connected to a real mavlink v2 camera.
Definition at line 41 of file VehicleCameraControl.h.
| VehicleCameraControl::VehicleCameraControl | ( | const mavlink_camera_information_t * | info, |
| Vehicle * | vehicle, | ||
| int | compID, | ||
| QObject * | parent = nullptr |
||
| ) |
Definition at line 109 of file VehicleCameraControl.cc.
References _cacheFile, _dataReady(), _hasTrackingPointCapability, _hasTrackingRectCapability, _initWhenReady(), _mavlinkCameraInfo, _modelName, MavlinkCameraControlInterface::_photoCaptureMode, MavlinkCameraControlInterface::_photoLapse, MavlinkCameraControlInterface::_photoLapseCount, _recTimerHandler(), _thermalMode, _thermalOpacity, _vendor, MavlinkCameraControlInterface::_videoRecordTimeUpdateTimer, capturesPhotos(), capturesVideo(), MavlinkCameraControlInterface::dataReady(), firmwareVersion(), focalLength(), hasFocus(), hasModes(), hasTracking(), hasVideoStream(), hasZoom(), SettingsManager::instance(), kPhotoLapse, kPhotoLapseCount, kPhotoMode, kThermalMode, kThermalOpacity, modelName(), MavlinkCameraControlInterface::PHOTO_CAPTURE_SINGLE, photosInVideoMode(), resolution(), sensorSize(), MavlinkCameraControlInterface::THERMAL_BLEND, vendor(), version(), and videoInPhotoMode().
|
override |
Definition at line 168 of file VehicleCameraControl.cc.
References _cameraSettingsTimer, _captureStatusTimer, _netManager, _storageInfoTimer, _streamInfoTimer, _streamStatusTimer, and MavlinkCameraControlInterface::_videoRecordTimeUpdateTimer.
|
protectedvirtualslot |
Definition at line 2012 of file VehicleCameraControl.cc.
References _cameraSettingsRetries, _cameraSettingsTimer, and _requestCameraSettings().
Referenced by _initWhenReady().
|
protectedvirtualslot |
Definition at line 2319 of file VehicleCameraControl.cc.
References _mavlinkCameraInfo, _requestStreamInfo(), _streamInfoTimeout(), _streamInfoTimer, _streamStatusTimeout(), and _streamStatusTimer.
Referenced by _initWhenReady().
|
protectedvirtualslot |
Definition at line 2284 of file VehicleCameraControl.cc.
References _initWhenReady(), _modelName, and QGCCorePlugin::instance().
Referenced by VehicleCameraControl().
|
protectedvirtualslot |
Definition at line 2234 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::dataReady().
|
protectedvirtual |
Definition at line 1960 of file VehicleCameraControl.cc.
References _streams, QmlObjectListModel::count(), and QGCVideoStreamInfo::name().
|
protectedvirtual |
Definition at line 1939 of file VehicleCameraControl.cc.
References _streams, QmlObjectListModel::count(), and QGCVideoStreamInfo::streamID().
Referenced by _streamInfoTimeout(), currentStreamInstance(), handleVideoStreamInformation(), and handleVideoStreamStatus().
|
protectedvirtualslot |
Definition at line 182 of file VehicleCameraControl.cc.
References _cameraSettingsTimeout(), _cameraSettingsTimer, _captureStatusTimer, _checkForVideoStreams(), _mavCommandResult(), _netManager, _onVideoManagerRecordingChanged(), _paramComplete, _requestAllParameters(), _requestCameraSettings(), _requestCaptureStatus(), _requestStorageInfo(), _storageInfoTimeout(), _storageInfoTimer, MavlinkCameraControlInterface::_vehicle, MavlinkCameraControlInterface::cameraModeChanged(), MavlinkCameraControlInterface::capturePhotosStateChanged(), MavlinkCameraControlInterface::captureVideoStateChanged(), MavlinkCameraControlInterface::infoChanged(), VideoManager::instance(), isBasic(), Vehicle::mavCommandResult(), MavlinkCameraControlInterface::parametersReady(), MavlinkCameraControlInterface::photoCaptureStatusChanged(), VideoManager::recordingChanged(), and MavlinkCameraControlInterface::videoCaptureStatusChanged().
Referenced by _dataReady(), and VehicleCameraControl().
|
protectedvirtualslot |
Definition at line 747 of file VehicleCameraControl.cc.
References _cameraCaptureStatusRetries, _captureInfoRetries, _captureStatusTimer, _requestAllParameters(), _requestCameraSettings(), _requestStorageInfo(), _resetting, _setPhotoCaptureStatus(), _setVideoCaptureStatus(), _storageInfoRetries, MavlinkCameraControlInterface::_vehicle, compID(), Vehicle::id(), MissionCommandTree::instance(), isBasic(), QGCMAVLink::mavResultToString(), MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, MissionCommandTree::rawName(), MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_RUNNING, and MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_STOPPED.
Referenced by _initWhenReady().
|
protectedvirtualslot |
Definition at line 853 of file VehicleCameraControl.cc.
References _recordTime, _recTime, MavlinkCameraControlInterface::_videoCaptureStatus(), MavlinkCameraControlInterface::_videoRecordTimeUpdateTimer, MavlinkCameraControlInterface::recordTimeChanged(), and MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_RUNNING.
Referenced by _initWhenReady().
|
overrideprotectedslot |
Definition at line 2307 of file VehicleCameraControl.cc.
References _paramComplete, _paramIO, and MavlinkCameraControlInterface::parametersReady().
|
protectedvirtualslot |
Definition at line 847 of file VehicleCameraControl.cc.
References _recordTime, _recTime, and MavlinkCameraControlInterface::recordTimeChanged().
Referenced by VehicleCameraControl().
|
protectedvirtualslot |
Definition at line 1238 of file VehicleCameraControl.cc.
References _paramIO, MavlinkCameraControlInterface::_vehicle, compID(), MAVLinkProtocol::getComponentId(), Vehicle::id(), MAVLinkProtocol::instance(), VehicleLinkManager::primaryLink(), Vehicle::sendMessageOnLinkThreadSafe(), and Vehicle::vehicleLinkManager().
Referenced by _initWhenReady(), and _mavCommandResult().
|
protectedvirtualslot |
Definition at line 1500 of file VehicleCameraControl.cc.
References _cameraSettingsRetries, _cameraSettingsTimer, _compID, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
Referenced by _cameraSettingsTimeout(), _initWhenReady(), and _mavCommandResult().
|
protectedvirtualslot |
Definition at line 720 of file VehicleCameraControl.cc.
References _cameraCaptureStatusRetries, _compID, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
Referenced by _initWhenReady().
|
protectedvirtualslot |
Definition at line 1492 of file VehicleCameraControl.cc.
References _paramIO, and _updatesToRequest.
|
protectedvirtualslot |
Definition at line 1532 of file VehicleCameraControl.cc.
References _compID, _storageInfoRetries, _storageInfoTimer, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
Referenced by _initWhenReady(), _mavCommandResult(), and _storageInfoTimeout().
|
protectedvirtual |
Definition at line 1890 of file VehicleCameraControl.cc.
References _compID, _streamInfoTimer, MavlinkCameraControlInterface::_vehicle, _videoStreamInfoRetries, and Vehicle::sendMavCommand().
Referenced by _checkForVideoStreams(), and _streamInfoTimeout().
|
protectedvirtual |
Definition at line 1914 of file VehicleCameraControl.cc.
References _compID, _streamStatusTimer, MavlinkCameraControlInterface::_vehicle, _videoStreamStatusRetries, and Vehicle::sendMavCommand().
Referenced by _streamStatusTimeout(), and setCurrentStream().
|
protectedvirtual |
Definition at line 2483 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
Referenced by startTrackingPoint(), and startTrackingRect().
|
protectedvirtual |
Definition at line 392 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_cameraMode, _streamStatusTimer, MavlinkCameraControlInterface::cameraModeChanged(), and mode().
Referenced by handleCameraSettings(), and setCameraMode().
|
protectedvirtual |
Definition at line 871 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_photoCaptureStatusValue, and MavlinkCameraControlInterface::photoCaptureStatusChanged().
Referenced by _mavCommandResult(), handleCameraCaptureStatus(), stopTakePhoto(), and takePhoto().
|
protectedvirtual |
Definition at line 830 of file VehicleCameraControl.cc.
References _recordTime, _recTime, MavlinkCameraControlInterface::_videoCaptureStatusValue, MavlinkCameraControlInterface::_videoRecordTimeUpdateTimer, MavlinkCameraControlInterface::recordTimeChanged(), MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_RUNNING, and MavlinkCameraControlInterface::videoCaptureStatusChanged().
Referenced by _mavCommandResult(), and handleCameraCaptureStatus().
|
protectedvirtualslot |
Definition at line 2025 of file VehicleCameraControl.cc.
References _requestStorageInfo(), _storageInfoRetries, and _storageInfoTimer.
Referenced by _initWhenReady().
|
protectedvirtualslot |
Definition at line 1975 of file VehicleCameraControl.cc.
References _expectedCount, _findStream(), _requestStreamInfo(), _streamInfoTimer, _streams, MavlinkCameraControlInterface::_vehicle, _videoStreamInfoRetries, MavlinkCameraControlInterface::autoStreamChanged(), Vehicle::cameraManager(), QmlObjectListModel::count(), and QGCCameraManager::streamChanged().
Referenced by _checkForVideoStreams().
|
protectedvirtualslot |
Definition at line 1998 of file VehicleCameraControl.cc.
References _requestStreamStatus(), _streamStatusTimer, _videoStreamStatusRetries, currentStreamInstance(), and QGCVideoStreamInfo::streamID().
Referenced by _checkForVideoStreams().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2347 of file VehicleCameraControl.cc.
References _activeSettings.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2378 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_APERTURE.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1855 of file VehicleCameraControl.cc.
References _streams, QmlObjectListModel::count(), and hasVideoStream().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 98 of file VehicleCameraControl.h.
References _batteryRemaining.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 294 of file VehicleCameraControl.cc.
References _batteryRemaining, and QGC::numberToString().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 253 of file VehicleCameraControl.cc.
References _mavlinkCameraInfo, MavlinkCameraControlInterface::_photoCaptureStatus(), MavlinkCameraControlInterface::CapturePhotosStateCapturingMultiplePhotos, MavlinkCameraControlInterface::CapturePhotosStateCapturingSinglePhoto, MavlinkCameraControlInterface::CapturePhotosStateDisabled, MavlinkCameraControlInterface::CapturePhotosStateIdle, MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, MavlinkCameraControlInterface::PHOTO_CAPTURE_IN_PROGRESS, MavlinkCameraControlInterface::PHOTO_CAPTURE_INTERVAL_IDLE, and MavlinkCameraControlInterface::PHOTO_CAPTURE_INTERVAL_IN_PROGRESS.
Referenced by stopTakePhoto(), and takePhoto().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 230 of file VehicleCameraControl.cc.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 222 of file VehicleCameraControl.cc.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 237 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_cameraMode, _mavlinkCameraInfo, MavlinkCameraControlInterface::_photoCaptureStatus(), MavlinkCameraControlInterface::_videoCaptureStatus(), MavlinkCameraControlInterface::CAM_MODE_PHOTO, MavlinkCameraControlInterface::CAM_MODE_SURVEY, MavlinkCameraControlInterface::CaptureVideoStateCapturing, MavlinkCameraControlInterface::CaptureVideoStateDisabled, MavlinkCameraControlInterface::CaptureVideoStateIdle, hasModes(), VideoManager::instance(), MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, and MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_RUNNING.
Referenced by startVideoRecording(), stopVideoRecording(), and toggleVideoRecording().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 91 of file VehicleCameraControl.h.
References _compID.
Referenced by _mavCommandResult(), and _requestAllParameters().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 107 of file VehicleCameraControl.h.
References _currentStream.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1864 of file VehicleCameraControl.cc.
References _currentStream, _findStream(), and _streamLabels.
Referenced by _streamStatusTimeout(), resumeStream(), setCurrentStream(), and stopStream().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2360 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_EV.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2354 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_EXPMODE.
|
overridevirtual |
Notify controller a parameter has changed.
Implements MavlinkCameraControlInterface.
Definition at line 741 of file VehicleCameraControl.cc.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 269 of file VehicleCameraControl.cc.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 74 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 102 of file VehicleCameraControl.h.
References _focusLevel.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 627 of file VehicleCameraControl.cc.
References _compID, _resetting, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1614 of file VehicleCameraControl.cc.
References _batteryRemaining, and MavlinkCameraControlInterface::batteryRemainingChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1625 of file VehicleCameraControl.cc.
References _cameraCaptureStatusRetries, _captureStatusTimer, MavlinkCameraControlInterface::_photoCaptureStatus(), _recordTime, _recTime, _setPhotoCaptureStatus(), _setVideoCaptureStatus(), _storageFree, MavlinkCameraControlInterface::_videoCaptureStatus(), SettingsManager::appSettings(), MavlinkCameraControlInterface::captureImageStatusToStr(), MavlinkCameraControlInterface::captureVideoStatusToStr(), QGCFileHelper::ensureDirectoryExists(), VideoManager::grabImage(), SettingsManager::instance(), VideoManager::instance(), MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, MavlinkCameraControlInterface::PHOTO_CAPTURE_INTERVAL_IDLE, MavlinkCameraControlInterface::PHOTO_CAPTURE_INTERVAL_IN_PROGRESS, MavlinkCameraControlInterface::PHOTO_CAPTURE_LAST, MavlinkCameraControlInterface::PHOTO_CAPTURE_SINGLE, MavlinkCameraControlInterface::PHOTO_CAPTURE_STATUS_UNDEFINED, MavlinkCameraControlInterface::photoCaptureMode(), MavlinkCameraControlInterface::recordTimeChanged(), MavlinkCameraControlInterface::storageFreeChanged(), MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_LAST, MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_RUNNING, and MavlinkCameraControlInterface::VIDEO_CAPTURE_STATUS_UNDEFINED.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1560 of file VehicleCameraControl.cc.
References _cameraSettingsRetries, _cameraSettingsTimer, _focusLevel, _setCameraMode(), _zoomLevel, MavlinkCameraControlInterface::focusLevelChanged(), and MavlinkCameraControlInterface::zoomLevelChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1272 of file VehicleCameraControl.cc.
References _paramIO.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1291 of file VehicleCameraControl.cc.
References _paramIO.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1583 of file VehicleCameraControl.cc.
References _storageFree, _storageInfoRetries, _storageInfoTimer, _storageStatus, _storageTotal, MavlinkCameraControlInterface::storageFreeChanged(), MavlinkCameraControlInterface::storageStatusChanged(), MavlinkCameraControlInterface::storageStatusToStr(), and MavlinkCameraControlInterface::storageTotalChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1734 of file VehicleCameraControl.cc.
References _trackingImageIsActive, _trackingImageIsPoint, _trackingImagePoint, _trackingImageRadius, _trackingImageRect, _trackingImageStatus, trackingEnabled(), MavlinkCameraControlInterface::trackingImageIsActiveChanged(), MavlinkCameraControlInterface::trackingImageIsPointChanged(), MavlinkCameraControlInterface::trackingImagePointChanged(), MavlinkCameraControlInterface::trackingImageRadiusChanged(), and MavlinkCameraControlInterface::trackingImageRectChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1672 of file VehicleCameraControl.cc.
References _expectedCount, _findStream(), _streamInfoTimer, _streamLabels, _streams, MavlinkCameraControlInterface::_vehicle, _videoStreamInfoRetries, QmlObjectListModel::append(), MavlinkCameraControlInterface::autoStreamChanged(), Vehicle::cameraManager(), QmlObjectListModel::count(), QGCVideoStreamInfo::isThermal(), QGCVideoStreamInfo::name(), QGCCameraManager::streamChanged(), MavlinkCameraControlInterface::streamLabelsChanged(), MavlinkCameraControlInterface::streamsChanged(), and MavlinkCameraControlInterface::thermalStreamChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1714 of file VehicleCameraControl.cc.
References _findStream(), _streamStatusTimer, _videoStreamStatusRetries, and QGCVideoStreamInfo::update().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 81 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by setFocusLevel(), startFocus(), stepFocus(), stopFocus(), and VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 79 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by captureVideoState(), setCameraMode(), setCameraModePhoto(), setCameraModeVideo(), and VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 82 of file VehicleCameraControl.h.
References _hasTrackingPointCapability, and _hasTrackingRectCapability.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 85 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by autoStream(), and VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 80 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by setZoomLevel(), startZoom(), stepZoom(), stopZoom(), and VehicleCameraControl().
|
overridevirtual |
Allow controller to modify or invalidate incoming parameter.
Implements MavlinkCameraControlInterface.
Definition at line 2332 of file VehicleCameraControl.cc.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 92 of file VehicleCameraControl.h.
References _settings.
Referenced by _initWhenReady(), and _mavCommandResult().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2366 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_ISO.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2390 of file VehicleCameraControl.cc.
References _paramComplete, FactGroup::factExists(), FactGroup::getFact(), and kCAM_MODE.
Referenced by _setCameraMode(), setCameraMode(), setPhotoCaptureMode(), and setThermalMode().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 71 of file VehicleCameraControl.h.
References _modelName.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 100 of file VehicleCameraControl.h.
References _paramComplete.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 86 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by takePhoto(), and VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 110 of file VehicleCameraControl.h.
References _recordTime.
Referenced by recordTimeStr().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 284 of file VehicleCameraControl.cc.
References recordTime().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 614 of file VehicleCameraControl.cc.
References _compID, _resetting, MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 76 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1842 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, currentStreamInstance(), Vehicle::sendMavCommand(), and QGCVideoStreamInfo::streamID().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 75 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 330 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_cameraMode, _compID, _resetting, _setCameraMode(), MavlinkCameraControlInterface::_vehicle, MavlinkCameraControlInterface::CAM_MODE_PHOTO, MavlinkCameraControlInterface::CAM_MODE_VIDEO, MavlinkCameraControlInterface::cameraMode(), MavlinkCameraControlInterface::cameraModeToStr(), hasModes(), mode(), Vehicle::sendMavCommand(), and Fact::setRawValue().
Referenced by setCameraModePhoto(), and setCameraModeVideo().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 316 of file VehicleCameraControl.cc.
References _resetting, MavlinkCameraControlInterface::CAM_MODE_PHOTO, hasModes(), and setCameraMode().
Referenced by toggleCameraMode().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 302 of file VehicleCameraControl.cc.
References _resetting, MavlinkCameraControlInterface::CAM_MODE_VIDEO, hasModes(), and setCameraMode().
Referenced by toggleCameraMode().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1798 of file VehicleCameraControl.cc.
References _compID, _currentStream, _requestStreamStatus(), _streamLabels, MavlinkCameraControlInterface::_vehicle, Vehicle::cameraManager(), MavlinkCameraControlInterface::currentStreamChanged(), currentStreamInstance(), Vehicle::sendMavCommand(), QGCCameraManager::streamChanged(), QGCVideoStreamInfo::streamID(), and QGCVideoStreamInfo::uri().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 597 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasFocus(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 366 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_photoCaptureMode, _resetting, kPhotoMode, mode(), and MavlinkCameraControlInterface::photoCaptureModeChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 376 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_photoLapse, kPhotoLapse, and MavlinkCameraControlInterface::photoLapseChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 384 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_photoLapseCount, kPhotoLapseCount, and MavlinkCameraControlInterface::photoLapseCountChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 560 of file VehicleCameraControl.cc.
References _thermalMode, kThermalMode, mode(), and MavlinkCameraControlInterface::thermalModeChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 568 of file VehicleCameraControl.cc.
References _thermalOpacity, kThermalOpacity, and MavlinkCameraControlInterface::thermalOpacityChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2395 of file VehicleCameraControl.cc.
References _trackingEnabled, stopTracking(), and MavlinkCameraControlInterface::trackingEnabledChanged().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 580 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasZoom(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2372 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_SHUTTERSPD.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 694 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasFocus(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2431 of file VehicleCameraControl.cc.
References _compID, _hasTrackingPointCapability, _requestTrackingStatus(), MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2407 of file VehicleCameraControl.cc.
References _compID, _hasTrackingRectCapability, _requestTrackingStatus(), MavlinkCameraControlInterface::_vehicle, and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 499 of file VehicleCameraControl.cc.
References _compID, _mavlinkCameraInfo, _resetting, MavlinkCameraControlInterface::_vehicle, captureVideoState(), MavlinkCameraControlInterface::CaptureVideoStateCapturing, MavlinkCameraControlInterface::CaptureVideoStateDisabled, VideoManager::instance(), Vehicle::sendMavCommand(), and VideoManager::startRecording().
Referenced by toggleVideoRecording().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 655 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasZoom(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 681 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasFocus(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 642 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasZoom(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 707 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasFocus(), and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1829 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, currentStreamInstance(), Vehicle::sendMavCommand(), and QGCVideoStreamInfo::streamID().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 475 of file VehicleCameraControl.cc.
References _captureInfoRetries, _compID, _resetting, _setPhotoCaptureStatus(), MavlinkCameraControlInterface::_vehicle, capturePhotosState(), MavlinkCameraControlInterface::CapturePhotosStateCapturingMultiplePhotos, MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, and Vehicle::sendMavCommand().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2453 of file VehicleCameraControl.cc.
References _compID, _trackingImageIsActive, _trackingImageIsPoint, _trackingImagePoint, _trackingImageRadius, _trackingImageRect, MavlinkCameraControlInterface::_vehicle, Vehicle::sendMavCommand(), MavlinkCameraControlInterface::trackingImageIsActiveChanged(), and MavlinkCameraControlInterface::trackingImageIsPointChanged().
Referenced by setTrackingEnabled().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 532 of file VehicleCameraControl.cc.
References _compID, _mavlinkCameraInfo, _resetting, MavlinkCameraControlInterface::_vehicle, captureVideoState(), MavlinkCameraControlInterface::CaptureVideoStateIdle, VideoManager::instance(), Vehicle::sendMavCommand(), and VideoManager::stopRecording().
Referenced by toggleVideoRecording().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 668 of file VehicleCameraControl.cc.
References _compID, MavlinkCameraControlInterface::_vehicle, hasZoom(), and Vehicle::sendMavCommand().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 95 of file VehicleCameraControl.h.
References _storageFree.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 289 of file VehicleCameraControl.cc.
References _storageFree, and QGC::bigSizeMBToString().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 93 of file VehicleCameraControl.h.
References _storageStatus.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 97 of file VehicleCameraControl.h.
References _storageTotal.
|
inlineoverridevirtual |
Stream names to show the user (for selection)
Implements MavlinkCameraControlInterface.
Definition at line 113 of file VehicleCameraControl.h.
References _streamLabels.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 104 of file VehicleCameraControl.h.
References _streams.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 83 of file VehicleCameraControl.h.
References _hasTrackingPointCapability.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 84 of file VehicleCameraControl.h.
References _hasTrackingRectCapability.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 428 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_cameraMode, _captureInfoRetries, _compID, _mavlinkCameraInfo, MavlinkCameraControlInterface::_photoCaptureMode, MavlinkCameraControlInterface::_photoLapse, MavlinkCameraControlInterface::_photoLapseCount, _resetting, _setPhotoCaptureStatus(), MavlinkCameraControlInterface::_vehicle, MavlinkCameraControlInterface::CAM_MODE_VIDEO, capturePhotosState(), MavlinkCameraControlInterface::CapturePhotosStateDisabled, MavlinkCameraControlInterface::CapturePhotosStateIdle, VideoManager::grabImage(), VideoManager::instance(), MavlinkCameraControlInterface::PHOTO_CAPTURE_IDLE, MavlinkCameraControlInterface::PHOTO_CAPTURE_IN_PROGRESS, MavlinkCameraControlInterface::PHOTO_CAPTURE_SINGLE, photosInVideoMode(), Vehicle::sendMavCommand(), and QGC::showAppMessage().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 115 of file VehicleCameraControl.h.
References _thermalMode.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 117 of file VehicleCameraControl.h.
References _thermalOpacity.
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 1874 of file VehicleCameraControl.cc.
References _streams, QmlObjectListModel::count(), and QGCVideoStreamInfo::isThermal().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 402 of file VehicleCameraControl.cc.
References MavlinkCameraControlInterface::_cameraMode, _resetting, MavlinkCameraControlInterface::CAM_MODE_PHOTO, MavlinkCameraControlInterface::CAM_MODE_SURVEY, MavlinkCameraControlInterface::CAM_MODE_VIDEO, setCameraModePhoto(), and setCameraModeVideo().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 413 of file VehicleCameraControl.cc.
References _resetting, captureVideoState(), MavlinkCameraControlInterface::CaptureVideoStateCapturing, startVideoRecording(), and stopVideoRecording().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 137 of file VehicleCameraControl.h.
References _trackingEnabled.
Referenced by handleTrackingImageStatus().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 140 of file VehicleCameraControl.h.
References _trackingImageIsActive.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 141 of file VehicleCameraControl.h.
References _trackingImageIsPoint.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 143 of file VehicleCameraControl.h.
References _trackingImagePoint.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 144 of file VehicleCameraControl.h.
References _trackingImageRadius.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 142 of file VehicleCameraControl.h.
References _trackingImageRect.
|
overridevirtual |
Allow controller to modify or invalidate parameter change.
Implements MavlinkCameraControlInterface.
Definition at line 2339 of file VehicleCameraControl.cc.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 72 of file VehicleCameraControl.h.
References _vendor.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 70 of file VehicleCameraControl.h.
References _version.
Referenced by VehicleCameraControl().
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 87 of file VehicleCameraControl.h.
References _mavlinkCameraInfo.
Referenced by VehicleCameraControl().
|
overridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 2384 of file VehicleCameraControl.cc.
References _activeSettings, _paramComplete, FactGroup::getFact(), and kCAM_WBMODE.
|
inlineoverridevirtual |
Implements MavlinkCameraControlInterface.
Definition at line 101 of file VehicleCameraControl.h.
References _zoomLevel.
|
protected |
Definition at line 274 of file VehicleCameraControl.h.
Referenced by activeSettings(), aperture(), ev(), exposureMode(), iso(), shutterSpeed(), and wb().
|
protected |
Definition at line 268 of file VehicleCameraControl.h.
Referenced by batteryRemaining(), batteryRemainingStr(), and handleBatteryStatus().
|
protected |
Definition at line 262 of file VehicleCameraControl.h.
|
protected |
Definition at line 272 of file VehicleCameraControl.h.
Referenced by VehicleCameraControl().
|
protected |
Definition at line 283 of file VehicleCameraControl.h.
Referenced by _mavCommandResult(), _requestCaptureStatus(), and handleCameraCaptureStatus().
|
protected |
Definition at line 282 of file VehicleCameraControl.h.
Referenced by _cameraSettingsTimeout(), _requestCameraSettings(), and handleCameraSettings().
|
protected |
Definition at line 300 of file VehicleCameraControl.h.
Referenced by _cameraSettingsTimeout(), _initWhenReady(), _requestCameraSettings(), handleCameraSettings(), and ~VehicleCameraControl().
|
protected |
Definition at line 285 of file VehicleCameraControl.h.
Referenced by _mavCommandResult(), stopTakePhoto(), and takePhoto().
|
protected |
Definition at line 276 of file VehicleCameraControl.h.
Referenced by _initWhenReady(), _mavCommandResult(), handleCameraCaptureStatus(), and ~VehicleCameraControl().
|
protected |
Definition at line 259 of file VehicleCameraControl.h.
Referenced by _requestCameraSettings(), _requestCaptureStatus(), _requestStorageInfo(), _requestStreamInfo(), _requestStreamStatus(), _requestTrackingStatus(), compID(), formatCard(), resetSettings(), resumeStream(), setCameraMode(), setCurrentStream(), setFocusLevel(), setZoomLevel(), startFocus(), startTrackingPoint(), startTrackingRect(), startVideoRecording(), startZoom(), stepFocus(), stepZoom(), stopFocus(), stopStream(), stopTakePhoto(), stopTracking(), stopVideoRecording(), stopZoom(), and takePhoto().
|
protected |
Definition at line 296 of file VehicleCameraControl.h.
Referenced by currentStream(), currentStreamInstance(), and setCurrentStream().
|
protected |
Definition at line 297 of file VehicleCameraControl.h.
Referenced by _streamInfoTimeout(), and handleVideoStreamInformation().
|
protected |
Definition at line 265 of file VehicleCameraControl.h.
Referenced by focusLevel(), and handleCameraSettings().
|
protected |
Definition at line 307 of file VehicleCameraControl.h.
Referenced by hasTracking(), startTrackingPoint(), supportsTrackingPoint(), and VehicleCameraControl().
|
protected |
Definition at line 306 of file VehicleCameraControl.h.
Referenced by hasTracking(), startTrackingRect(), supportsTrackingRect(), and VehicleCameraControl().
|
protected |
Definition at line 260 of file VehicleCameraControl.h.
Referenced by _checkForVideoStreams(), capturePhotosState(), capturesPhotos(), capturesVideo(), captureVideoState(), firmwareVersion(), focalLength(), hasFocus(), hasModes(), hasVideoStream(), hasZoom(), photosInVideoMode(), resolution(), sensorSize(), startVideoRecording(), stopVideoRecording(), takePhoto(), VehicleCameraControl(), and videoInPhotoMode().
|
protected |
Definition at line 270 of file VehicleCameraControl.h.
Referenced by _dataReady(), modelName(), and VehicleCameraControl().
|
protected |
Definition at line 269 of file VehicleCameraControl.h.
Referenced by _initWhenReady(), and ~VehicleCameraControl().
|
protected |
Definition at line 278 of file VehicleCameraControl.h.
|
protected |
Definition at line 279 of file VehicleCameraControl.h.
|
protected |
Definition at line 280 of file VehicleCameraControl.h.
|
protected |
Definition at line 263 of file VehicleCameraControl.h.
Referenced by _initWhenReady(), _paramDone(), aperture(), ev(), exposureMode(), iso(), mode(), paramComplete(), shutterSpeed(), and wb().
|
protected |
Definition at line 281 of file VehicleCameraControl.h.
Referenced by _paramDone(), _requestAllParameters(), _requestParamUpdates(), handleParamExtAck(), and handleParamExtValue().
|
protected |
Definition at line 288 of file VehicleCameraControl.h.
Referenced by _onVideoManagerRecordingChanged(), _recTimerHandler(), _setVideoCaptureStatus(), handleCameraCaptureStatus(), and recordTime().
|
protected |
Definition at line 287 of file VehicleCameraControl.h.
Referenced by _onVideoManagerRecordingChanged(), _recTimerHandler(), _setVideoCaptureStatus(), and handleCameraCaptureStatus().
|
protected |
Definition at line 295 of file VehicleCameraControl.h.
|
protected |
Definition at line 290 of file VehicleCameraControl.h.
|
protected |
Definition at line 286 of file VehicleCameraControl.h.
Referenced by _mavCommandResult(), formatCard(), resetSettings(), setCameraMode(), setCameraModePhoto(), setCameraModeVideo(), setPhotoCaptureMode(), startVideoRecording(), stopTakePhoto(), stopVideoRecording(), takePhoto(), toggleCameraMode(), and toggleVideoRecording().
|
protected |
Definition at line 275 of file VehicleCameraControl.h.
Referenced by isBasic().
|
protected |
Definition at line 266 of file VehicleCameraControl.h.
Referenced by handleCameraCaptureStatus(), handleStorageInformation(), storageFree(), and storageFreeStr().
|
protected |
Definition at line 284 of file VehicleCameraControl.h.
Referenced by _mavCommandResult(), _requestStorageInfo(), _storageInfoTimeout(), and handleStorageInformation().
|
protected |
Definition at line 301 of file VehicleCameraControl.h.
Referenced by _initWhenReady(), _requestStorageInfo(), _storageInfoTimeout(), handleStorageInformation(), and ~VehicleCameraControl().
|
protected |
Definition at line 273 of file VehicleCameraControl.h.
Referenced by handleStorageInformation(), and storageStatus().
|
protected |
Definition at line 267 of file VehicleCameraControl.h.
Referenced by handleStorageInformation(), and storageTotal().
|
protected |
Definition at line 298 of file VehicleCameraControl.h.
Referenced by _checkForVideoStreams(), _requestStreamInfo(), _streamInfoTimeout(), handleVideoStreamInformation(), and ~VehicleCameraControl().
|
protected |
Definition at line 303 of file VehicleCameraControl.h.
Referenced by currentStreamInstance(), handleVideoStreamInformation(), setCurrentStream(), and streamLabels().
|
protected |
Definition at line 302 of file VehicleCameraControl.h.
Referenced by _findStream(), _findStream(), _streamInfoTimeout(), autoStream(), handleVideoStreamInformation(), streams(), and thermalStreamInstance().
|
protected |
Definition at line 299 of file VehicleCameraControl.h.
Referenced by _checkForVideoStreams(), _requestStreamStatus(), _setCameraMode(), _streamStatusTimeout(), handleVideoStreamStatus(), and ~VehicleCameraControl().
|
protected |
Definition at line 304 of file VehicleCameraControl.h.
Referenced by setThermalMode(), thermalMode(), and VehicleCameraControl().
|
protected |
Definition at line 305 of file VehicleCameraControl.h.
Referenced by setThermalOpacity(), thermalOpacity(), and VehicleCameraControl().
|
protected |
Definition at line 308 of file VehicleCameraControl.h.
Referenced by setTrackingEnabled(), and trackingEnabled().
|
protected |
Definition at line 309 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus(), stopTracking(), and trackingImageIsActive().
|
protected |
Definition at line 310 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus(), stopTracking(), and trackingImageIsPoint().
|
protected |
Definition at line 313 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus(), stopTracking(), and trackingImagePoint().
|
protected |
Definition at line 314 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus(), stopTracking(), and trackingImageRadius().
|
protected |
Definition at line 312 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus(), stopTracking(), and trackingImageRect().
|
protected |
Definition at line 311 of file VehicleCameraControl.h.
Referenced by handleTrackingImageStatus().
|
protected |
Definition at line 291 of file VehicleCameraControl.h.
Referenced by _requestParamUpdates().
|
protected |
Definition at line 277 of file VehicleCameraControl.h.
|
protected |
Definition at line 271 of file VehicleCameraControl.h.
Referenced by VehicleCameraControl(), and vendor().
|
protected |
Definition at line 261 of file VehicleCameraControl.h.
Referenced by version().
|
protected |
Definition at line 293 of file VehicleCameraControl.h.
Referenced by _requestStreamInfo(), _streamInfoTimeout(), and handleVideoStreamInformation().
|
protected |
Definition at line 294 of file VehicleCameraControl.h.
Referenced by _requestStreamStatus(), _streamStatusTimeout(), and handleVideoStreamStatus().
|
protected |
Definition at line 264 of file VehicleCameraControl.h.
Referenced by handleCameraSettings(), and zoomLevel().
|
staticconstexpr |
Definition at line 204 of file VehicleCameraControl.h.
Referenced by aperture().
|
staticconstexpr |
Definition at line 200 of file VehicleCameraControl.h.
Referenced by ev().
|
staticconstexpr |
Definition at line 201 of file VehicleCameraControl.h.
Referenced by exposureMode().
|
staticconstexpr |
Definition at line 202 of file VehicleCameraControl.h.
Referenced by iso().
|
staticconstexpr |
Definition at line 206 of file VehicleCameraControl.h.
Referenced by mode().
|
staticconstexpr |
Definition at line 203 of file VehicleCameraControl.h.
Referenced by shutterSpeed().
|
staticconstexpr |
Definition at line 205 of file VehicleCameraControl.h.
Referenced by wb().
|
staticconstexpr |
Definition at line 157 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 158 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 181 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 159 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 160 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 161 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 162 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 163 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 164 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 165 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 166 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 167 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 168 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 169 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 170 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 171 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 172 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 173 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 174 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 175 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 176 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 193 of file VehicleCameraControl.h.
Referenced by setPhotoLapse(), and VehicleCameraControl().
|
staticconstexpr |
Definition at line 194 of file VehicleCameraControl.h.
Referenced by setPhotoLapseCount(), and VehicleCameraControl().
|
staticconstexpr |
Definition at line 192 of file VehicleCameraControl.h.
Referenced by setPhotoCaptureMode(), and VehicleCameraControl().
|
staticconstexpr |
Definition at line 177 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 179 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 180 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 182 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 196 of file VehicleCameraControl.h.
Referenced by setThermalMode(), and VehicleCameraControl().
|
staticconstexpr |
Definition at line 195 of file VehicleCameraControl.h.
Referenced by setThermalOpacity(), and VehicleCameraControl().
|
staticconstexpr |
Definition at line 183 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 184 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 185 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 186 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 187 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 188 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 189 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 190 of file VehicleCameraControl.h.
|
staticconstexpr |
Definition at line 178 of file VehicleCameraControl.h.