QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VehicleCameraControl Class Reference

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
void setExtraStreams (const QList< quint8 > &streamIds) 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 &paramExtAck) override
void handleParamExtValue (const mavlink_param_ext_value_t &paramExtValue) 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 Member Functions

static QString pathSafeNameToken (const QString &name)
static bool pathIsInside (const QString &baseDirPath, const QString &candidateFilePath)
static QString cacheFileToken (const QString &vendor, const QString &modelName, int definitionVersion)

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 (quint32 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)

Protected Attributes

int _compID = 0
mavlink_camera_information_t _mavlinkCameraInfo
int _version = 0
bool _cached = false
bool _paramComplete = false
qreal _zoomLevel = 0.0
qreal _focusLevel = 0.0
uint32_t _storageFree = 0
uint32_t _storageTotal = 0
int _batteryRemaining = -1
QNetworkAccessManager * _netManager = nullptr
QString _modelName
QString _vendor
QString _cacheFile
QString _cacheFileToken
 sanitised "<vendor>_<model>_<hash>_<NNN>", no extension
StorageStatus _storageStatus = STORAGE_NOT_SUPPORTED
QStringList _activeSettings
QStringList _settings
QTimer _captureStatusTimer
QList< QGCCameraOptionExclusion * > _valueExclusions
QList< QGCCameraOptionRange * > _optionRanges
QMap< QString, QStringList > _originalOptNames
QMap< QString, QVariantList > _originalOptValues
QMap< QString, QGCCameraParamIO * > _paramIO
int _cameraSettingsRetries = 0
int _cameraCaptureStatusRetries = 0
int _storageInfoRetries = 0
int _captureInfoRetries = 0
bool _resetting = false
QTime _recTime
uint32_t _recordTime = 0
QMap< QString, QStringList > _requestUpdates
QStringList _updatesToRequest
int _videoStreamInfoRetries = 0
int _videoStreamStatusRetries = 0
int _requestCount = 0
int _currentStream = 0
int _expectedCount = 1
QTimer _streamInfoTimer
QTimer _streamStatusTimer
QTimer _cameraSettingsTimer
QTimer _cameraSettingsRefreshTimer
QTimer _storageInfoTimer
QmlObjectListModel _streams
QStringList _streamLabels
QList< quint8 > _extraStreams
QSet< quint8 > _transmittedStreams
 The streams the camera is taken to transmit: its first one, which it is never asked to start, and those it was.
bool _currentStreamStopped = false
 Between stopStream() and resumeStream(): the current stream isn't one to transmit.
bool _streamCommandPending = false
ThermalViewMode _thermalMode = THERMAL_BLEND
double _thermalOpacity = 85.0
bool _hasTrackingRectCapability = false
bool _hasTrackingPointCapability = false
bool _trackingEnabled = false
bool _trackingImageIsActive = false
bool _trackingImageIsPoint = false
mavlink_camera_tracking_image_status_t _trackingImageStatus {}
QRectF _trackingImageRect
QPointF _trackingImagePoint
qreal _trackingImageRadius = 0.0
Protected Attributes inherited from MavlinkCameraControlInterface
Vehicle * _vehicle = nullptr
CameraMode _cameraMode = CAM_MODE_UNDEFINED
VideoCaptureStatus _videoCaptureStatusValue = VIDEO_CAPTURE_STATUS_STOPPED
PhotoCaptureStatus _photoCaptureStatusValue = PHOTO_CAPTURE_IDLE
PhotoCaptureMode _photoCaptureMode = PHOTO_CAPTURE_SINGLE
qreal _photoLapse = 1.0
int _photoLapseCount = 0
QTimer _videoRecordTimeUpdateTimer
Protected Attributes inherited from FactGroup
const int _updateRateMSecs = 0
 Update rate for Fact::valueChanged signals, 0: immediate update.
QMap< QString, Fact * > _nameToFactMap
QMap< QString, FactGroup * > _nameToFactGroupMap
QMap< QString, FactMetaData * > _nameToFactMetaDataMap
QStringList _factNames

Additional Inherited Members

Public Types inherited from MavlinkCameraControlInterface
enum  CameraMode { CAM_MODE_UNDEFINED = -1 , CAM_MODE_PHOTO = 0 , CAM_MODE_VIDEO = 1 , CAM_MODE_SURVEY = 2 }
enum  PhotoCaptureMode { PHOTO_CAPTURE_SINGLE = 0 , PHOTO_CAPTURE_TIMELAPSE }
enum  CaptureVideoState { CaptureVideoStateDisabled = 0 , CaptureVideoStateIdle , CaptureVideoStateCapturing }
enum  CapturePhotosState { CapturePhotosStateDisabled = 0 , CapturePhotosStateIdle , CapturePhotosStateCapturingSinglePhoto , CapturePhotosStateCapturingMultiplePhotos }
enum  StorageStatus { STORAGE_EMPTY = STORAGE_STATUS_EMPTY , STORAGE_UNFORMATTED = STORAGE_STATUS_UNFORMATTED , STORAGE_READY = STORAGE_STATUS_READY , STORAGE_NOT_SUPPORTED = STORAGE_STATUS_NOT_SUPPORTED }
enum  ThermalViewMode { THERMAL_OFF = 0 , THERMAL_BLEND , THERMAL_FULL , THERMAL_PIP }
Signals inherited from MavlinkCameraControlInterface
void infoChanged ()
void videoCaptureStatusChanged ()
void photoCaptureStatusChanged ()
void photoCaptureModeChanged ()
void photoLapseChanged ()
void photoLapseCountChanged ()
void cameraModeChanged ()
void activeSettingsChanged ()
void storageFreeChanged ()
void storageTotalChanged ()
void batteryRemainingChanged ()
void dataReady (const QByteArray &data)
void parametersReady ()
void zoomLevelChanged ()
void focusLevelChanged ()
void streamsChanged ()
void currentStreamChanged ()
void thermalStreamChanged ()
void autoStreamChanged ()
void recordTimeChanged ()
void streamLabelsChanged ()
void trackingEnabledChanged ()
void trackingImageIsActiveChanged ()
void trackingImageIsPointChanged ()
void trackingImageRectChanged ()
void trackingImagePointChanged ()
void trackingImageRadiusChanged ()
void thermalModeChanged ()
void thermalOpacityChanged ()
void storageStatusChanged ()
void captureVideoStateChanged ()
void capturePhotosStateChanged ()
Signals inherited from FactGroup
void factNamesChanged ()
void factGroupNamesChanged ()
void telemetryAvailableChanged (bool telemetryAvailable)
Protected Types inherited from MavlinkCameraControlInterface
enum  VideoCaptureStatus { VIDEO_CAPTURE_STATUS_STOPPED = 0 , VIDEO_CAPTURE_STATUS_RUNNING , VIDEO_CAPTURE_STATUS_LAST , VIDEO_CAPTURE_STATUS_UNDEFINED = 255 }
enum  PhotoCaptureStatus {
  PHOTO_CAPTURE_IDLE = 0 , PHOTO_CAPTURE_IN_PROGRESS , PHOTO_CAPTURE_INTERVAL_IDLE , PHOTO_CAPTURE_INTERVAL_IN_PROGRESS ,
  PHOTO_CAPTURE_LAST , PHOTO_CAPTURE_STATUS_UNDEFINED = 255
}

Detailed Description

MAVLink Camera API controller - connected to a real mavlink v2 camera.

Definition at line 44 of file VehicleCameraControl.h.

Constructor & Destructor Documentation

◆ VehicleCameraControl()

◆ ~VehicleCameraControl()

Member Function Documentation

◆ _cameraSettingsTimeout

void VehicleCameraControl::_cameraSettingsTimeout ( )
protectedvirtualslot

◆ _checkForVideoStreams

void VehicleCameraControl::_checkForVideoStreams ( )
protectedvirtualslot

◆ _dataReady

void VehicleCameraControl::_dataReady ( QByteArray data)
protectedvirtualslot

Definition at line 2407 of file VehicleCameraControl.cc.

References _initWhenReady(), _modelName, and QGCCorePlugin::instance().

Referenced by VehicleCameraControl().

◆ _downloadFinished

void VehicleCameraControl::_downloadFinished ( )
protectedvirtualslot

◆ _findStream() [1/2]

QGCVideoStreamInfo * VehicleCameraControl::_findStream ( const QString name)
protectedvirtual

Definition at line 2081 of file VehicleCameraControl.cc.

References _streams, and QGCVideoStreamInfo::name().

◆ _findStream() [2/2]

QGCVideoStreamInfo * VehicleCameraControl::_findStream ( uint8_t streamID,
bool report = true )
protectedvirtual

◆ _initWhenReady

◆ _mavCommandResult

◆ _onVideoManagerRecordingChanged

◆ _paramDone

void VehicleCameraControl::_paramDone ( )
overrideprotectedslot

◆ _recTimerHandler

void VehicleCameraControl::_recTimerHandler ( )
protectedvirtualslot

◆ _requestAllParameters

void VehicleCameraControl::_requestAllParameters ( )
protectedvirtualslot

◆ _requestCameraSettings

void VehicleCameraControl::_requestCameraSettings ( )
protectedvirtualslot

◆ _requestCaptureStatus

void VehicleCameraControl::_requestCaptureStatus ( )
protectedvirtualslot

◆ _requestParamUpdates

void VehicleCameraControl::_requestParamUpdates ( )
protectedvirtualslot

Definition at line 1584 of file VehicleCameraControl.cc.

References _paramIO, and _updatesToRequest.

◆ _requestStorageInfo

void VehicleCameraControl::_requestStorageInfo ( )
protectedvirtualslot

◆ _requestStreamInfo()

void VehicleCameraControl::_requestStreamInfo ( uint8_t streamID)
protectedvirtual

◆ _requestStreamStatus()

void VehicleCameraControl::_requestStreamStatus ( uint8_t streamID)
protectedvirtual

◆ _requestTrackingStatus()

void VehicleCameraControl::_requestTrackingStatus ( )
protectedvirtual

◆ _setCameraMode()

void VehicleCameraControl::_setCameraMode ( CameraMode mode)
protectedvirtual

◆ _setPhotoCaptureStatus()

void VehicleCameraControl::_setPhotoCaptureStatus ( PhotoCaptureStatus captureStatus)
protectedvirtual

◆ _setVideoCaptureStatus()

◆ _storageInfoTimeout

void VehicleCameraControl::_storageInfoTimeout ( )
protectedvirtualslot

Definition at line 2146 of file VehicleCameraControl.cc.

References _requestStorageInfo(), _storageInfoRetries, and _storageInfoTimer.

Referenced by _initWhenReady().

◆ _streamInfoTimeout

◆ _streamStatusTimeout

void VehicleCameraControl::_streamStatusTimeout ( )
protectedvirtualslot

◆ activeSettings()

QStringList VehicleCameraControl::activeSettings ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 2470 of file VehicleCameraControl.cc.

References _activeSettings.

◆ aperture()

Fact * VehicleCameraControl::aperture ( )
overridevirtual

◆ autoStream()

bool VehicleCameraControl::autoStream ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 1976 of file VehicleCameraControl.cc.

References _streams, and hasVideoStream().

◆ batteryRemaining()

int VehicleCameraControl::batteryRemaining ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 116 of file VehicleCameraControl.h.

References _batteryRemaining.

◆ batteryRemainingStr()

QString VehicleCameraControl::batteryRemainingStr ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 378 of file VehicleCameraControl.cc.

References _batteryRemaining, and QGC::numberToString().

◆ cacheFileToken()

QString VehicleCameraControl::cacheFileToken ( const QString & vendor,
const QString & modelName,
int definitionVersion )
static

Build the camera-definition cache file name, without extension, as "<vendor>_<model>_<hash>_<NNN>". The vendor and model parts are path safe but lossy; the 32-bit hash of the original names makes it practically impossible for distinct cameras to share a cache file by accident.

Definition at line 149 of file VehicleCameraControl.cc.

References modelName(), pathSafeNameToken(), and vendor().

Referenced by VehicleCameraControl().

◆ capturePhotosState()

◆ capturesPhotos()

bool VehicleCameraControl::capturesPhotos ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 314 of file VehicleCameraControl.cc.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ capturesVideo()

bool VehicleCameraControl::capturesVideo ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 306 of file VehicleCameraControl.cc.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ captureVideoState()

◆ compID()

int VehicleCameraControl::compID ( ) const
inlineoverridevirtual

◆ currentStream()

int VehicleCameraControl::currentStream ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 125 of file VehicleCameraControl.h.

References _currentStream.

◆ currentStreamInstance()

QGCVideoStreamInfo * VehicleCameraControl::currentStreamInstance ( )
overridevirtual

◆ ev()

Fact * VehicleCameraControl::ev ( )
overridevirtual

◆ exposureMode()

Fact * VehicleCameraControl::exposureMode ( )
overridevirtual

◆ factChanged()

void VehicleCameraControl::factChanged ( Fact * pFact)
overridevirtual

Notify controller a parameter has changed.

Implements MavlinkCameraControlInterface.

Definition at line 827 of file VehicleCameraControl.cc.

◆ firmwareVersion()

QString VehicleCameraControl::firmwareVersion ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 353 of file VehicleCameraControl.cc.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ focalLength()

qreal VehicleCameraControl::focalLength ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 92 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ focusLevel()

qreal VehicleCameraControl::focusLevel ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 120 of file VehicleCameraControl.h.

References _focusLevel.

◆ formatCard()

void VehicleCameraControl::formatCard ( int id = 1)
overridevirtual

◆ handleBatteryStatus()

void VehicleCameraControl::handleBatteryStatus ( const mavlink_battery_status_t & bs)
overridevirtual

◆ handleCameraCaptureStatus()

◆ handleCameraSettings()

◆ handleParamExtAck()

void VehicleCameraControl::handleParamExtAck ( const mavlink_param_ext_ack_t & paramExtAck)
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 1364 of file VehicleCameraControl.cc.

References _paramIO.

◆ handleParamExtValue()

void VehicleCameraControl::handleParamExtValue ( const mavlink_param_ext_value_t & paramExtValue)
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 1383 of file VehicleCameraControl.cc.

References _paramIO.

◆ handleStorageInformation()

◆ handleTrackingImageStatus()

◆ handleVideoStreamInformation()

◆ handleVideoStreamStatus()

void VehicleCameraControl::handleVideoStreamStatus ( const mavlink_video_stream_status_t & videoStreamStatus)
overridevirtual

◆ hasFocus()

bool VehicleCameraControl::hasFocus ( ) const
inlineoverridevirtual

◆ hasModes()

bool VehicleCameraControl::hasModes ( ) const
inlineoverridevirtual

◆ hasTracking()

bool VehicleCameraControl::hasTracking ( ) const
inlineoverridevirtual

◆ hasVideoStream()

bool VehicleCameraControl::hasVideoStream ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 103 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by autoStream(), and VehicleCameraControl().

◆ hasZoom()

bool VehicleCameraControl::hasZoom ( ) const
inlineoverridevirtual

◆ incomingParameter()

bool VehicleCameraControl::incomingParameter ( Fact * pFact,
QVariant & newValue )
overridevirtual

Allow controller to modify or invalidate incoming parameter.

Implements MavlinkCameraControlInterface.

Definition at line 2455 of file VehicleCameraControl.cc.

◆ isBasic()

bool VehicleCameraControl::isBasic ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 110 of file VehicleCameraControl.h.

References _settings.

Referenced by _initWhenReady(), and _mavCommandResult().

◆ iso()

Fact * VehicleCameraControl::iso ( )
overridevirtual

◆ mode()

Fact * VehicleCameraControl::mode ( )
overridevirtual

◆ modelName()

QString VehicleCameraControl::modelName ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 89 of file VehicleCameraControl.h.

References _modelName.

Referenced by cacheFileToken(), and VehicleCameraControl().

◆ paramComplete()

bool VehicleCameraControl::paramComplete ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 118 of file VehicleCameraControl.h.

References _paramComplete.

◆ pathIsInside()

bool VehicleCameraControl::pathIsInside ( const QString & baseDirPath,
const QString & candidateFilePath )
static

True when candidateFilePath is lexically inside baseDirPath, after making both absolute and collapsing "." and "..". Symbolic links are not followed.

Definition at line 137 of file VehicleCameraControl.cc.

Referenced by VehicleCameraControl().

◆ pathSafeNameToken()

QString VehicleCameraControl::pathSafeNameToken ( const QString & name)
static

Reduce a vehicle-supplied name to something safe to embed in a file name. Everything that could act as a path separator, a drive or NTFS stream qualifier, or a directory traversal is replaced.

Definition at line 108 of file VehicleCameraControl.cc.

Referenced by cacheFileToken().

◆ photosInVideoMode()

bool VehicleCameraControl::photosInVideoMode ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 104 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by takePhoto(), and VehicleCameraControl().

◆ recordTime()

quint32 VehicleCameraControl::recordTime ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 129 of file VehicleCameraControl.h.

References _recordTime.

Referenced by recordTimeStr().

◆ recordTimeStr()

QString VehicleCameraControl::recordTimeStr ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 368 of file VehicleCameraControl.cc.

References recordTime().

◆ resetSettings()

void VehicleCameraControl::resetSettings ( )
overridevirtual

◆ resolution()

QSize VehicleCameraControl::resolution ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 94 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ resumeStream()

void VehicleCameraControl::resumeStream ( )
overridevirtual

◆ sensorSize()

QSizeF VehicleCameraControl::sensorSize ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 93 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ setCameraMode()

◆ setCameraModePhoto()

void VehicleCameraControl::setCameraModePhoto ( )
overridevirtual

◆ setCameraModeVideo()

void VehicleCameraControl::setCameraModeVideo ( )
overridevirtual

◆ setCurrentStream()

◆ setExtraStreams()

void VehicleCameraControl::setExtraStreams ( const QList< quint8 > & streamIds)
overridevirtual

Names the streams on display besides the current one, by their stream ids. The camera is asked to transmit them too (MAV_CMD_VIDEO_START_STREAMING), and to stop those no longer named (MAV_CMD_VIDEO_STOP_STREAMING). A stream that stays on display while the current stream changes is neither stopped nor started again: setCurrentStream() tells the camera only after QGCCameraManager::streamChanged(), whose handler names the streams that go with the new current one.

Implements MavlinkCameraControlInterface.

Definition at line 1905 of file VehicleCameraControl.cc.

References _extraStreams.

◆ setFocusLevel()

void VehicleCameraControl::setFocusLevel ( qreal level)
overridevirtual

◆ setPhotoCaptureMode()

void VehicleCameraControl::setPhotoCaptureMode ( PhotoCaptureMode mode)
overridevirtual

◆ setPhotoLapse()

void VehicleCameraControl::setPhotoLapse ( qreal interval)
overridevirtual

◆ setPhotoLapseCount()

void VehicleCameraControl::setPhotoLapseCount ( int count)
overridevirtual

◆ setThermalMode()

void VehicleCameraControl::setThermalMode ( ThermalViewMode mode)
overridevirtual

◆ setThermalOpacity()

void VehicleCameraControl::setThermalOpacity ( double val)
overridevirtual

◆ setTrackingEnabled()

void VehicleCameraControl::setTrackingEnabled ( bool set)
overridevirtual

◆ setZoomLevel()

void VehicleCameraControl::setZoomLevel ( qreal level)
overridevirtual

◆ shutterSpeed()

Fact * VehicleCameraControl::shutterSpeed ( )
overridevirtual

◆ startFocus()

void VehicleCameraControl::startFocus ( int direction)
overridevirtual

◆ startTrackingPoint()

void VehicleCameraControl::startTrackingPoint ( QPointF point,
double radius )
overridevirtual

◆ startTrackingRect()

void VehicleCameraControl::startTrackingRect ( QRectF rec)
overridevirtual

◆ startVideoRecording()

◆ startZoom()

void VehicleCameraControl::startZoom ( int direction)
overridevirtual

◆ stepFocus()

void VehicleCameraControl::stepFocus ( int direction)
overridevirtual

◆ stepZoom()

void VehicleCameraControl::stepZoom ( int direction)
overridevirtual

◆ stopFocus()

void VehicleCameraControl::stopFocus ( )
overridevirtual

◆ stopStream()

void VehicleCameraControl::stopStream ( )
overridevirtual

◆ stopTakePhoto()

◆ stopTracking()

◆ stopVideoRecording()

◆ stopZoom()

void VehicleCameraControl::stopZoom ( )
overridevirtual

◆ storageFree()

quint32 VehicleCameraControl::storageFree ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 113 of file VehicleCameraControl.h.

References _storageFree.

◆ storageFreeStr()

QString VehicleCameraControl::storageFreeStr ( ) const
overridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 373 of file VehicleCameraControl.cc.

References _storageFree, and QGC::bigSizeMBToString().

◆ storageStatus()

StorageStatus VehicleCameraControl::storageStatus ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 111 of file VehicleCameraControl.h.

References _storageStatus.

◆ storageTotal()

quint32 VehicleCameraControl::storageTotal ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 115 of file VehicleCameraControl.h.

References _storageTotal.

◆ streamLabels()

QStringList VehicleCameraControl::streamLabels ( ) const
inlineoverridevirtual

Stream names to show the user (for selection).

Implements MavlinkCameraControlInterface.

Definition at line 132 of file VehicleCameraControl.h.

References _streamLabels.

◆ streams()

QmlObjectListModel * VehicleCameraControl::streams ( )
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 122 of file VehicleCameraControl.h.

References _streams.

◆ supportsTrackingPoint()

bool VehicleCameraControl::supportsTrackingPoint ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 101 of file VehicleCameraControl.h.

References _hasTrackingPointCapability.

◆ supportsTrackingRect()

bool VehicleCameraControl::supportsTrackingRect ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 102 of file VehicleCameraControl.h.

References _hasTrackingRectCapability.

◆ takePhoto()

◆ thermalMode()

ThermalViewMode VehicleCameraControl::thermalMode ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 134 of file VehicleCameraControl.h.

References _thermalMode.

◆ thermalOpacity()

double VehicleCameraControl::thermalOpacity ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 136 of file VehicleCameraControl.h.

References _thermalOpacity.

◆ thermalStreamInstance()

QGCVideoStreamInfo * VehicleCameraControl::thermalStreamInstance ( )
overridevirtual

◆ toggleCameraMode()

◆ toggleVideoRecording()

bool VehicleCameraControl::toggleVideoRecording ( )
overridevirtual

◆ trackingEnabled()

bool VehicleCameraControl::trackingEnabled ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 156 of file VehicleCameraControl.h.

References _trackingEnabled.

Referenced by handleTrackingImageStatus().

◆ trackingImageIsActive()

bool VehicleCameraControl::trackingImageIsActive ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 159 of file VehicleCameraControl.h.

References _trackingImageIsActive.

◆ trackingImageIsPoint()

bool VehicleCameraControl::trackingImageIsPoint ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 160 of file VehicleCameraControl.h.

References _trackingImageIsPoint.

◆ trackingImagePoint()

QPointF VehicleCameraControl::trackingImagePoint ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 162 of file VehicleCameraControl.h.

References _trackingImagePoint.

◆ trackingImageRadius()

qreal VehicleCameraControl::trackingImageRadius ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 163 of file VehicleCameraControl.h.

References _trackingImageRadius.

◆ trackingImageRect()

QRectF VehicleCameraControl::trackingImageRect ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 161 of file VehicleCameraControl.h.

References _trackingImageRect.

◆ validateParameter()

bool VehicleCameraControl::validateParameter ( Fact * pFact,
QVariant & newValue )
overridevirtual

Allow controller to modify or invalidate parameter change.

Implements MavlinkCameraControlInterface.

Definition at line 2462 of file VehicleCameraControl.cc.

◆ vendor()

QString VehicleCameraControl::vendor ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 90 of file VehicleCameraControl.h.

References _vendor.

Referenced by cacheFileToken(), and VehicleCameraControl().

◆ version()

int VehicleCameraControl::version ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 88 of file VehicleCameraControl.h.

References _version.

Referenced by VehicleCameraControl().

◆ videoInPhotoMode()

bool VehicleCameraControl::videoInPhotoMode ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 105 of file VehicleCameraControl.h.

References _mavlinkCameraInfo.

Referenced by VehicleCameraControl().

◆ wb()

Fact * VehicleCameraControl::wb ( )
overridevirtual

◆ zoomLevel()

qreal VehicleCameraControl::zoomLevel ( ) const
inlineoverridevirtual

Implements MavlinkCameraControlInterface.

Definition at line 119 of file VehicleCameraControl.h.

References _zoomLevel.

Member Data Documentation

◆ _activeSettings

QStringList VehicleCameraControl::_activeSettings
protected

Definition at line 298 of file VehicleCameraControl.h.

Referenced by activeSettings(), aperture(), ev(), exposureMode(), iso(), shutterSpeed(), and wb().

◆ _batteryRemaining

int VehicleCameraControl::_batteryRemaining = -1
protected

◆ _cached

bool VehicleCameraControl::_cached = false
protected

Definition at line 285 of file VehicleCameraControl.h.

◆ _cacheFile

QString VehicleCameraControl::_cacheFile
protected

Definition at line 295 of file VehicleCameraControl.h.

Referenced by VehicleCameraControl().

◆ _cacheFileToken

QString VehicleCameraControl::_cacheFileToken
protected

sanitised "<vendor>_<model>_<hash>_<NNN>", no extension

Definition at line 296 of file VehicleCameraControl.h.

Referenced by VehicleCameraControl().

◆ _cameraCaptureStatusRetries

int VehicleCameraControl::_cameraCaptureStatusRetries = 0
protected

◆ _cameraSettingsRefreshTimer

QTimer VehicleCameraControl::_cameraSettingsRefreshTimer
protected

◆ _cameraSettingsRetries

int VehicleCameraControl::_cameraSettingsRetries = 0
protected

◆ _cameraSettingsTimer

QTimer VehicleCameraControl::_cameraSettingsTimer
protected

◆ _captureInfoRetries

int VehicleCameraControl::_captureInfoRetries = 0
protected

Definition at line 309 of file VehicleCameraControl.h.

Referenced by _mavCommandResult(), stopTakePhoto(), and takePhoto().

◆ _captureStatusTimer

QTimer VehicleCameraControl::_captureStatusTimer
protected

◆ _compID

◆ _currentStream

int VehicleCameraControl::_currentStream = 0
protected

Definition at line 320 of file VehicleCameraControl.h.

Referenced by currentStream(), currentStreamInstance(), and setCurrentStream().

◆ _currentStreamStopped

bool VehicleCameraControl::_currentStreamStopped = false
protected

Between stopStream() and resumeStream(): the current stream isn't one to transmit.

Definition at line 333 of file VehicleCameraControl.h.

Referenced by resumeStream(), and stopStream().

◆ _expectedCount

int VehicleCameraControl::_expectedCount = 1
protected

Definition at line 321 of file VehicleCameraControl.h.

Referenced by _streamInfoTimeout(), and handleVideoStreamInformation().

◆ _extraStreams

QList<quint8> VehicleCameraControl::_extraStreams
protected

Definition at line 329 of file VehicleCameraControl.h.

Referenced by setExtraStreams().

◆ _focusLevel

qreal VehicleCameraControl::_focusLevel = 0.0
protected

Definition at line 288 of file VehicleCameraControl.h.

Referenced by focusLevel(), and handleCameraSettings().

◆ _hasTrackingPointCapability

bool VehicleCameraControl::_hasTrackingPointCapability = false
protected

◆ _hasTrackingRectCapability

bool VehicleCameraControl::_hasTrackingRectCapability = false
protected

◆ _mavlinkCameraInfo

◆ _modelName

QString VehicleCameraControl::_modelName
protected

Definition at line 293 of file VehicleCameraControl.h.

Referenced by _dataReady(), modelName(), and VehicleCameraControl().

◆ _netManager

QNetworkAccessManager* VehicleCameraControl::_netManager = nullptr
protected

Definition at line 292 of file VehicleCameraControl.h.

Referenced by _initWhenReady(), and ~VehicleCameraControl().

◆ _optionRanges

QList<QGCCameraOptionRange*> VehicleCameraControl::_optionRanges
protected

Definition at line 302 of file VehicleCameraControl.h.

◆ _originalOptNames

QMap<QString, QStringList> VehicleCameraControl::_originalOptNames
protected

Definition at line 303 of file VehicleCameraControl.h.

◆ _originalOptValues

QMap<QString, QVariantList> VehicleCameraControl::_originalOptValues
protected

Definition at line 304 of file VehicleCameraControl.h.

◆ _paramComplete

bool VehicleCameraControl::_paramComplete = false
protected

◆ _paramIO

QMap<QString, QGCCameraParamIO*> VehicleCameraControl::_paramIO
protected

◆ _recordTime

uint32_t VehicleCameraControl::_recordTime = 0
protected

◆ _recTime

QTime VehicleCameraControl::_recTime
protected

◆ _requestCount

int VehicleCameraControl::_requestCount = 0
protected

Definition at line 319 of file VehicleCameraControl.h.

◆ _requestUpdates

QMap<QString, QStringList> VehicleCameraControl::_requestUpdates
protected

Definition at line 314 of file VehicleCameraControl.h.

◆ _resetting

◆ _settings

QStringList VehicleCameraControl::_settings
protected

Definition at line 299 of file VehicleCameraControl.h.

Referenced by isBasic().

◆ _storageFree

uint32_t VehicleCameraControl::_storageFree = 0
protected

◆ _storageInfoRetries

int VehicleCameraControl::_storageInfoRetries = 0
protected

◆ _storageInfoTimer

QTimer VehicleCameraControl::_storageInfoTimer
protected

◆ _storageStatus

StorageStatus VehicleCameraControl::_storageStatus = STORAGE_NOT_SUPPORTED
protected

Definition at line 297 of file VehicleCameraControl.h.

Referenced by handleStorageInformation(), and storageStatus().

◆ _storageTotal

uint32_t VehicleCameraControl::_storageTotal = 0
protected

Definition at line 290 of file VehicleCameraControl.h.

Referenced by handleStorageInformation(), and storageTotal().

◆ _streamCommandPending

bool VehicleCameraControl::_streamCommandPending = false
protected

The camera has yet to answer a stream's start or stop command. The vehicle refuses a command to a component that it awaits the answer to the same command from, so the next one waits.

Definition at line 336 of file VehicleCameraControl.h.

Referenced by _mavCommandResult().

◆ _streamInfoTimer

QTimer VehicleCameraControl::_streamInfoTimer
protected

◆ _streamLabels

QStringList VehicleCameraControl::_streamLabels
protected

◆ _streams

◆ _streamStatusTimer

QTimer VehicleCameraControl::_streamStatusTimer
protected

◆ _thermalMode

ThermalViewMode VehicleCameraControl::_thermalMode = THERMAL_BLEND
protected

Definition at line 337 of file VehicleCameraControl.h.

Referenced by setThermalMode(), thermalMode(), and VehicleCameraControl().

◆ _thermalOpacity

double VehicleCameraControl::_thermalOpacity = 85.0
protected

Definition at line 338 of file VehicleCameraControl.h.

Referenced by setThermalOpacity(), thermalOpacity(), and VehicleCameraControl().

◆ _trackingEnabled

bool VehicleCameraControl::_trackingEnabled = false
protected

Definition at line 341 of file VehicleCameraControl.h.

Referenced by setTrackingEnabled(), and trackingEnabled().

◆ _trackingImageIsActive

bool VehicleCameraControl::_trackingImageIsActive = false
protected

◆ _trackingImageIsPoint

bool VehicleCameraControl::_trackingImageIsPoint = false
protected

◆ _trackingImagePoint

QPointF VehicleCameraControl::_trackingImagePoint
protected

◆ _trackingImageRadius

qreal VehicleCameraControl::_trackingImageRadius = 0.0
protected

◆ _trackingImageRect

QRectF VehicleCameraControl::_trackingImageRect
protected

◆ _trackingImageStatus

mavlink_camera_tracking_image_status_t VehicleCameraControl::_trackingImageStatus {}
protected

Definition at line 344 of file VehicleCameraControl.h.

Referenced by handleTrackingImageStatus().

◆ _transmittedStreams

QSet<quint8> VehicleCameraControl::_transmittedStreams
protected

The streams the camera is taken to transmit: its first one, which it is never asked to start, and those it was.

Definition at line 331 of file VehicleCameraControl.h.

Referenced by handleVideoStreamInformation(), resumeStream(), and stopStream().

◆ _updatesToRequest

QStringList VehicleCameraControl::_updatesToRequest
protected

Definition at line 315 of file VehicleCameraControl.h.

Referenced by _requestParamUpdates().

◆ _valueExclusions

QList<QGCCameraOptionExclusion*> VehicleCameraControl::_valueExclusions
protected

Definition at line 301 of file VehicleCameraControl.h.

◆ _vendor

QString VehicleCameraControl::_vendor
protected

Definition at line 294 of file VehicleCameraControl.h.

Referenced by VehicleCameraControl(), and vendor().

◆ _version

int VehicleCameraControl::_version = 0
protected

Definition at line 284 of file VehicleCameraControl.h.

Referenced by version().

◆ _videoStreamInfoRetries

int VehicleCameraControl::_videoStreamInfoRetries = 0
protected

◆ _videoStreamStatusRetries

int VehicleCameraControl::_videoStreamStatusRetries = 0
protected

◆ _zoomLevel

qreal VehicleCameraControl::_zoomLevel = 0.0
protected

Definition at line 287 of file VehicleCameraControl.h.

Referenced by handleCameraSettings(), and zoomLevel().

◆ kCAM_APERTURE

const char* VehicleCameraControl::kCAM_APERTURE = "CAM_APERTURE"
staticconstexpr

Definition at line 223 of file VehicleCameraControl.h.

Referenced by aperture().

◆ kCAM_EV

const char* VehicleCameraControl::kCAM_EV = "CAM_EV"
staticconstexpr

Definition at line 219 of file VehicleCameraControl.h.

Referenced by ev().

◆ kCAM_EXPMODE

const char* VehicleCameraControl::kCAM_EXPMODE = "CAM_EXPMODE"
staticconstexpr

Definition at line 220 of file VehicleCameraControl.h.

Referenced by exposureMode().

◆ kCAM_ISO

const char* VehicleCameraControl::kCAM_ISO = "CAM_ISO"
staticconstexpr

Definition at line 221 of file VehicleCameraControl.h.

Referenced by iso().

◆ kCAM_MODE

const char* VehicleCameraControl::kCAM_MODE = "CAM_MODE"
staticconstexpr

Definition at line 225 of file VehicleCameraControl.h.

Referenced by mode().

◆ kCAM_SHUTTERSPD

const char* VehicleCameraControl::kCAM_SHUTTERSPD = "CAM_SHUTTERSPD"
staticconstexpr

Definition at line 222 of file VehicleCameraControl.h.

Referenced by shutterSpeed().

◆ kCAM_WBMODE

const char* VehicleCameraControl::kCAM_WBMODE = "CAM_WBMODE"
staticconstexpr

Definition at line 224 of file VehicleCameraControl.h.

Referenced by wb().

◆ kCondition

const char* VehicleCameraControl::kCondition = "condition"
staticconstexpr

Definition at line 176 of file VehicleCameraControl.h.

◆ kControl

const char* VehicleCameraControl::kControl = "control"
staticconstexpr

Definition at line 177 of file VehicleCameraControl.h.

◆ kDecimalPlaces

const char* VehicleCameraControl::kDecimalPlaces = "decimalPlaces"
staticconstexpr

Definition at line 200 of file VehicleCameraControl.h.

◆ kDefault

const char* VehicleCameraControl::kDefault = "default"
staticconstexpr

Definition at line 178 of file VehicleCameraControl.h.

◆ kDefnition

const char* VehicleCameraControl::kDefnition = "definition"
staticconstexpr

Definition at line 179 of file VehicleCameraControl.h.

◆ kDescription

const char* VehicleCameraControl::kDescription = "description"
staticconstexpr

Definition at line 180 of file VehicleCameraControl.h.

◆ kExclusion

const char* VehicleCameraControl::kExclusion = "exclude"
staticconstexpr

Definition at line 181 of file VehicleCameraControl.h.

◆ kExclusions

const char* VehicleCameraControl::kExclusions = "exclusions"
staticconstexpr

Definition at line 182 of file VehicleCameraControl.h.

◆ kLocale

const char* VehicleCameraControl::kLocale = "locale"
staticconstexpr

Definition at line 183 of file VehicleCameraControl.h.

◆ kLocalization

const char* VehicleCameraControl::kLocalization = "localization"
staticconstexpr

Definition at line 184 of file VehicleCameraControl.h.

◆ kMax

const char* VehicleCameraControl::kMax = "max"
staticconstexpr

Definition at line 185 of file VehicleCameraControl.h.

◆ kMin

const char* VehicleCameraControl::kMin = "min"
staticconstexpr

Definition at line 186 of file VehicleCameraControl.h.

◆ kModel

const char* VehicleCameraControl::kModel = "model"
staticconstexpr

Definition at line 187 of file VehicleCameraControl.h.

◆ kName

const char* VehicleCameraControl::kName = "name"
staticconstexpr

Definition at line 188 of file VehicleCameraControl.h.

◆ kOption

const char* VehicleCameraControl::kOption = "option"
staticconstexpr

Definition at line 189 of file VehicleCameraControl.h.

◆ kOptions

const char* VehicleCameraControl::kOptions = "options"
staticconstexpr

Definition at line 190 of file VehicleCameraControl.h.

◆ kOriginal

const char* VehicleCameraControl::kOriginal = "original"
staticconstexpr

Definition at line 191 of file VehicleCameraControl.h.

◆ kParameter

const char* VehicleCameraControl::kParameter = "parameter"
staticconstexpr

Definition at line 192 of file VehicleCameraControl.h.

◆ kParameterrange

const char* VehicleCameraControl::kParameterrange = "parameterrange"
staticconstexpr

Definition at line 193 of file VehicleCameraControl.h.

◆ kParameterranges

const char* VehicleCameraControl::kParameterranges = "parameterranges"
staticconstexpr

Definition at line 194 of file VehicleCameraControl.h.

◆ kParameters

const char* VehicleCameraControl::kParameters = "parameters"
staticconstexpr

Definition at line 195 of file VehicleCameraControl.h.

◆ kPhotoLapse

const char* VehicleCameraControl::kPhotoLapse = "PhotoLapse"
staticconstexpr

Definition at line 212 of file VehicleCameraControl.h.

Referenced by setPhotoLapse(), and VehicleCameraControl().

◆ kPhotoLapseCount

const char* VehicleCameraControl::kPhotoLapseCount = "PhotoLapseCount"
staticconstexpr

Definition at line 213 of file VehicleCameraControl.h.

Referenced by setPhotoLapseCount(), and VehicleCameraControl().

◆ kPhotoMode

const char* VehicleCameraControl::kPhotoMode = "PhotoCaptureMode"
staticconstexpr

Definition at line 211 of file VehicleCameraControl.h.

Referenced by setPhotoCaptureMode(), and VehicleCameraControl().

◆ kReadOnly

const char* VehicleCameraControl::kReadOnly = "readonly"
staticconstexpr

Definition at line 196 of file VehicleCameraControl.h.

◆ kRoption

const char* VehicleCameraControl::kRoption = "roption"
staticconstexpr

Definition at line 198 of file VehicleCameraControl.h.

◆ kStep

const char* VehicleCameraControl::kStep = "step"
staticconstexpr

Definition at line 199 of file VehicleCameraControl.h.

◆ kStrings

const char* VehicleCameraControl::kStrings = "strings"
staticconstexpr

Definition at line 201 of file VehicleCameraControl.h.

◆ kThermalMode

const char* VehicleCameraControl::kThermalMode = "ThermalMode"
staticconstexpr

Definition at line 215 of file VehicleCameraControl.h.

Referenced by setThermalMode(), and VehicleCameraControl().

◆ kThermalOpacity

const char* VehicleCameraControl::kThermalOpacity = "ThermalOpacity"
staticconstexpr

Definition at line 214 of file VehicleCameraControl.h.

Referenced by setThermalOpacity(), and VehicleCameraControl().

◆ kTranslated

const char* VehicleCameraControl::kTranslated = "translated"
staticconstexpr

Definition at line 202 of file VehicleCameraControl.h.

◆ kType

const char* VehicleCameraControl::kType = "type"
staticconstexpr

Definition at line 203 of file VehicleCameraControl.h.

◆ kUnit

const char* VehicleCameraControl::kUnit = "unit"
staticconstexpr

Definition at line 204 of file VehicleCameraControl.h.

◆ kUpdate

const char* VehicleCameraControl::kUpdate = "update"
staticconstexpr

Definition at line 205 of file VehicleCameraControl.h.

◆ kUpdates

const char* VehicleCameraControl::kUpdates = "updates"
staticconstexpr

Definition at line 206 of file VehicleCameraControl.h.

◆ kValue

const char* VehicleCameraControl::kValue = "value"
staticconstexpr

Definition at line 207 of file VehicleCameraControl.h.

◆ kVendor

const char* VehicleCameraControl::kVendor = "vendor"
staticconstexpr

Definition at line 208 of file VehicleCameraControl.h.

◆ kVersion

const char* VehicleCameraControl::kVersion = "version"
staticconstexpr

Definition at line 209 of file VehicleCameraControl.h.

◆ kWriteOnly

const char* VehicleCameraControl::kWriteOnly = "writeonly"
staticconstexpr

Definition at line 197 of file VehicleCameraControl.h.


The documentation for this class was generated from the following files: