dji_camera_module.hpp
Go to the documentation of this file.
Definition: dji_camera_module.hpp:245
Definition: dji_type.hpp:256
Definition: dji_camera_module.hpp:502
Definition: dji_camera_module.hpp:150
Definition: dji_type.hpp:258
uint8_t zoomDirectionData
Zoom direction data used by user, ref to DJI::OSDK::CameraModule::ZoomDirection.
Definition: dji_camera_module.hpp:840
Definition: dji_camera_module.hpp:335
uint8_t TapZoomEnableData
Data struct of tap zoom enabled used by user.
Definition: dji_camera_module.hpp:911
Requesting to set shutter parameter, used in internal link layer.
Definition: dji_camera_module.hpp:1025
void setTapZoomEnabledAsync(bool param, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera tap zoom function parameters, non-blocking calls
Definition: dji_camera_module.hpp:289
struct DJI::OSDK::CameraModule::ExposureModeReq ExposureModeReq
Requesting exposure mode, used in internal link layer.
uint8_t recording_type
Definition: dji_camera_module.hpp:767
void * UserData
This is used as the datatype for all data arguments in callbacks.
Definition: dji_type.hpp:75
ErrorCode::ErrorCodeType setPhotoTimeIntervalSettingsSync(PhotoIntervalData intervalSetting, int timeout)
set the parameters in the INTERVAL take-photo mode, blocking calls
Definition: dji_camera_module.hpp:105
ExposureMode
the photo action of INTERVAL shooting photo mode
Definition: dji_camera_module.hpp:146
Definition: dji_camera_module.hpp:354
TapZoomEnableData tapZoomEnable
Definition: dji_camera_module.hpp:929
void startShootPhotoAsync(ShootPhotoMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
start to shoot photo, non-blocking calls
Definition: dji_camera_module.hpp:169
uint8_t photoNumConticap
Definition: dji_camera_module.hpp:709
Definition: dji_camera_module.hpp:500
Definition: dji_type.hpp:260
Definition: dji_camera_module.hpp:454
Definition: dji_camera_module.hpp:378
Definition: dji_camera_module.hpp:297
Definition: dji_camera_module.hpp:251
Definition: dji_camera_module.hpp:273
Definition: dji_camera_module.hpp:360
Response data of take photo mode.
Definition: dji_camera_module.hpp:755
ErrorCode::ErrorCodeType setTapZoomMultiplierSync(TapZoomMultiplierData param, int timeout)
set camera tap zoom parameters, blocking calls
struct DJI::OSDK::CameraModule::ISOParamAck ISOParamAck
Response data struct of ISO parameter, used in internal link layer.
TapZoomMultiplierData multiplier
Definition: dji_camera_module.hpp:930
uint8_t ret_code
Definition: dji_camera_module.hpp:756
uint16_t ApertureData
Aperture size data used by user. ref to DJI::OSDK::CameraModule::Aperture.
Definition: dji_camera_module.hpp:995
Requesting CameraModule working mode data, used in internal link layer.
Definition: dji_camera_module.hpp:778
Requesting optical zoom, used in internal link layer.
Definition: dji_camera_module.hpp:905
Definition: dji_camera_module.hpp:53
struct DJI::OSDK::CameraModule::ShutterParamType ShutterSpeedType
Shutter data struct.
void getPhotoBurstCountAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, PhotoBurstCount count, UserData userData), UserData userData)
struct DJI::OSDK::CameraModule::PhotoIntervalData PhotoIntervalData
Interval take photo mode setting.
Definition: dji_camera_module.hpp:370
Definition: dji_camera_module.hpp:291
Definition: dji_camera_module.hpp:250
Definition: dji_camera_module.hpp:352
Definition: dji_camera_module.hpp:258
Definition: dji_camera_module.hpp:139
ErrorCode::ErrorCodeType getExposureModeSync(ExposureMode &mode, int timeout)
get camera exposure mode, blocking calls
struct DJI::OSDK::CameraModule::ShootPhotoReq ShootPhotoReq
Requesting take photo mode, used in internal link layer.
void getApertureAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType, Aperture size, UserData userData), UserData userData)
get camera aperture size value, non-blocking calls
ShootPhotoModeData captureMode
Definition: dji_camera_module.hpp:718
Requesting focus mode, used in internal link layer.
Definition: dji_camera_module.hpp:804
Definition: dji_camera_module.hpp:268
Definition: dji_camera_module.hpp:255
void setShutterSpeedAsync(ShutterSpeed shutterSpeed, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera shutter value, non-blocking calls
Definition: dji_camera_module.hpp:480
struct DJI::OSDK::CameraModule::ExposureModeAck ExposureModeAck
Response data struct of exposure mode, used in internal link layer.
Requesting to set Exposure compensation, used in internal link layer.
Definition: dji_camera_module.hpp:1048
struct DJI::OSDK::CameraModule::FocusModeReq FocusModeReq
Requesting focus mode, used in internal link layer.
Definition: dji_camera_module.hpp:285
Definition: dji_camera_module.hpp:400
Definition: dji_camera_module.hpp:504
Definition: dji_camera_module.hpp:124
ExposureModeData exposureMode
Definition: dji_camera_module.hpp:833
uint8_t conticapType
Definition: dji_camera_module.hpp:720
Definition: dji_camera_module.hpp:476
struct of callback deal the param and retCode for user
Definition: dji_camera_module.hpp:1075
Definition: dji_camera_module.hpp:217
void stopContinuousOpticalZoomAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
stop camera optical zooming, non-blocking calls
Definition: dji_camera_module.hpp:231
Definition: dji_type.hpp:255
ErrorCode::ErrorCodeType getFocusTargetSync(TapFocusPosData &tapFocusPos, int timeout)
get camera focus point, blocking calls
Definition: dji_camera_module.hpp:192
void setShootPhotoModeAsync(ShootPhotoMode takePhotoMode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set the shoot photo mode, non-blocking calls
Definition: dji_camera_module.hpp:278
Definition: dji_camera_module.hpp:472
struct DJI::OSDK::CameraModule::ShutterAck ShutterAck
Response data struct of shutter, used in internal link layer.
int64_t ErrorCodeType
Unified error type.
Definition: dji_error.hpp:144
Definition: dji_camera_module.hpp:466
struct DJI::OSDK::CameraModule::TapFocusPosAck TapFocusPosAck
Response data struct of tap focus target parameter, used in internal link layer.
FocusModeData focusMode
Definition: dji_camera_module.hpp:805
Definition: dji_camera_module.hpp:162
void getShootPhotoModeAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ShootPhotoMode takePhotoMode, UserData userData), UserData userData)
get the shoot photo mode, non-blocking calls
Take photo mode parameters.
Definition: dji_camera_module.hpp:716
uint8_t recording_control
Definition: dji_camera_module.hpp:764
Type definition for new Vehicle-style callbacks.
uint8_t ShutterSpeedData
Shutter data type used by user. ref to DJI::OSDK::CameraModule::ShutterSpeed.
Definition: dji_camera_module.hpp:1021
void stopRecordVideoAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
stop to take video, non-blocking calls
zoomDirectionData zoomType
Definition: dji_camera_module.hpp:851
void getExposureModeAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ExposureMode mode, UserData userData), UserData userData)
get camera exposure mode, non-blocking calls
uint8_t ISOParamData
ISO data used by user.
Definition: dji_camera_module.hpp:977
Definition: dji_camera_module.hpp:293
Request data to take photo mode.
Definition: dji_camera_module.hpp:747
Definition: dji_camera_module.hpp:61
void startRecordVideoAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
start to take video, non-blocking calls
Definition: dji_camera_module.hpp:508
Definition: dji_camera_module.hpp:388
Definition: dji_camera_module.hpp:300
Definition: dji_camera_module.hpp:344
Definition: dji_camera_module.hpp:113
ErrorCode::ErrorCodeType startShootPhotoSync(ShootPhotoMode mode, int timeout)
start to shoot photo, blocking calls
ErrorCode::ErrorCodeType startContinuousOpticalZoomSync(zoomDirectionData zoomDirection, zoomSpeedData zoomSpeed, int timeout)
start camera optical zooming, blocking calls
void setPhotoBurstCountAsync(PhotoBurstCount count, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set the burst count in the Burst take-photo mode, non-blocking calls
Definition: dji_camera_module.hpp:536
Definition: dji_camera_module.hpp:228
ErrorCode::ErrorCodeType getFocusModeSync(FocusMode &focusMode, int timeout)
get camera focus mode, blocking calls
ExposureCompensation
CameraModule exposure compensation.
Definition: dji_camera_module.hpp:342
Definition: dji_camera_module.hpp:286
Definition: dji_camera_module.hpp:382
struct DJI::OSDK::CameraModule::ISOParamReq ISOParamReq
Requesting to set ISO parameter, used in internal link layer.
Definition: dji_camera_module.hpp:394
Definition: dji_camera_module.hpp:148
PayloadIndexType
The payload Index of camera.
Definition: dji_payload_base.hpp:42
ErrorCode::ErrorCodeType getPhotoAEBCountSync(PhotoAEBCount &count, int timeout)
get the burst count in the AEB take-photo mode, blocking calls
Definition: dji_camera_module.hpp:462
ErrorCode::ErrorCodeType getExposureCompensationSync(ExposureCompensation &ev, int timeout)
get camera EV value, blocking calls
ErrorCode::ErrorCodeType setFocusTargetSync(TapFocusPosData tapFocusPos, int timeout)
set camera focus point, blocking calls
Definition: dji_camera_module.hpp:252
Definition: dji_camera_module.hpp:181
struct DJI::OSDK::CameraModule::TapZoomEnableReq TapZoomEnableReq
Requesting to set tap zoom enable, used in internal link layer.
Response data struct of exposure compensation, used in internal link layer.
Definition: dji_camera_module.hpp:1056
int16_t timeInterval
Definition: dji_camera_module.hpp:711
Definition: dji_camera_module.hpp:287
struct DJI::OSDK::CameraModule::ShutterReq ShutterReq
Requesting to set shutter parameter, used in internal link layer.
struct DJI::OSDK::CameraModule::ExposureCompensationReq ExposureCompensationReq
Requesting to set Exposure compensation, used in internal link layer.
WorkModeData workingMode
Definition: dji_camera_module.hpp:779
Definition: dji_camera_module.hpp:380
ErrorCode::ErrorCodeType setExposureCompensationSync(ExposureCompensation ev, int timeout)
set camera EV value, blocking calls
Definition: dji_camera_module.hpp:87
Data struct of optical zoom parameters.
Definition: dji_camera_module.hpp:849
Definition: dji_camera_module.hpp:346
ErrorCode::ErrorCodeType stopContinuousOpticalZoomSync(int timeout)
stop camera optical zooming, blocking calls
Definition: dji_camera_module.hpp:390
ErrorCode::ErrorCodeType getTapZoomEnabledSync(bool ¶m, int timeout)
get camera tap zoom parameters, blocking calls
Requesting to set tap zoom enable, used in internal link layer.
Definition: dji_camera_module.hpp:919
Definition: dji_camera_module.hpp:484
Responsing CameraModule working mode data, used in internal link layer.
Definition: dji_camera_module.hpp:785
Definition: dji_camera_module.hpp:260
Definition: dji_camera_module.hpp:188
Definition: dji_camera_module.hpp:316
ErrorCode::ErrorCodeType setExposureModeSync(ExposureMode mode, int timeout)
set camera exposure mode, blocking calls
Definition: dji_camera_module.hpp:406
uint8_t decimal_part
Definition: dji_camera_module.hpp:1015
Definition: dji_camera_module.hpp:118
Definition: dji_camera_module.hpp:272
Definition: dji_camera_module.hpp:318
Response data struct of aperture, used in internal link layer.
Definition: dji_camera_module.hpp:1005
Definition: dji_camera_module.hpp:243
Definition: dji_camera_module.hpp:257
struct DJI::OSDK::CameraModule::WorkModeReq WorkModeReq
Requesting CameraModule working mode data, used in internal link layer.
Definition: dji_camera_module.hpp:374
Definition: dji_camera_module.hpp:294
uint8_t ret_code
Definition: dji_camera_module.hpp:811
Definition: dji_camera_module.hpp:282
Definition: dji_camera_module.hpp:366
Definition: dji_camera_module.hpp:280
Definition: dji_type.hpp:253
void setFocusModeAsync(FocusMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera focus mode, non-blocking calls
Definition: dji_camera_module.hpp:514
Definition: dji_camera_module.hpp:376
Abstract protocol implementation for payload module.
ErrorCode::ErrorCodeType startRecordVideoSync(int timeout)
start to take video, blocking calls
Definition: dji_camera_module.hpp:246
Definition: dji_camera_module.hpp:456
Definition: dji_camera_module.hpp:128
Definition: dji_camera_module.hpp:254
Definition: dji_camera_module.hpp:242
Definition: dji_camera_module.hpp:263
Definition: dji_camera_module.hpp:261
Definition: dji_camera_module.hpp:265
ErrorCode::ErrorCodeType getShootPhotoModeSync(ShootPhotoMode &takePhotoMode, int timeout)
get the shoot photo mode, blocking calls
void getTapZoomMultiplierAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, TapZoomMultiplierData param, UserData userData), UserData userData)
get camera tap zoom function parameters, non-blocking calls
ExposureCompensationData ev
Definition: dji_camera_module.hpp:1050
struct DJI::OSDK::CameraModule::FocusModeAck FocusModeAck
Response data struct of focus mode, used in internal link layer.
Definition: dji_camera_module.hpp:271
Definition: dji_camera_module.hpp:512
Definition: dji_camera_module.hpp:488
void getPhotoAEBCountAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, PhotoAEBCount count, UserData userData), UserData userData)
ErrorCode::ErrorCodeType getOpticalZoomFactorSync(float &factor, int timeout)
get parameters of camera optical zooming, blocking calls
struct DJI::OSDK::CameraModule::FloatPoint FloatPoint
2D float point data struct
Definition: dji_camera_module.hpp:350
ErrorCode::ErrorCodeType setTapZoomEnabledSync(bool param, int timeout)
set camera tap zoom parameters, blocking calls
Definition: dji_camera_module.hpp:73
Definition: dji_camera_module.hpp:518
Definition: dji_camera_module.hpp:490
ErrorCode::ErrorCodeType getPhotoBurstCountSync(PhotoBurstCount &count, int timeout)
get the burst count in the Burst take-photo mode, blocking calls
uint8_t ExposureModeData
Exposure mode data used by user.
Definition: dji_camera_module.hpp:818
Definition: dji_camera_module.hpp:328
Definition: dji_camera_module.hpp:290
Definition: dji_camera_module.hpp:159
Definition: dji_camera_module.hpp:384
Requesting take photo mode, used in internal link layer.
Definition: dji_camera_module.hpp:792
ShootPhotoModeData takePhotoType
Definition: dji_camera_module.hpp:794
void getShutterSpeedAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ShutterSpeed shutterSpeed, UserData userData), UserData userData)
get camera shutter value, non-blocking calls
struct DJI::OSDK::CameraModule::ApertureAck ApertureAck
Response data struct of aperture, used in internal link layer.
uint8_t shutter_mode
Definition: dji_camera_module.hpp:1026
uint8_t zoomDirection
Definition: dji_camera_module.hpp:856
FloatPointReq TapZoomPosReq
Requesting to set the target of tapzoom , used in internal link layer.
Definition: dji_camera_module.hpp:958
Definition: dji_camera_module.hpp:205
struct DJI::OSDK::CameraModule::WorkModeAck WorkModeAck
Responsing CameraModule working mode data, used in internal link layer.
void setPhotoAEBCountAsync(PhotoAEBCount count, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set the burst count in the AEB take-photo mode, non-blocking calls
Definition: dji_camera_module.hpp:324
void setModeAsync(WorkMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera working mode, non-blocking calls
Definition: dji_camera_module.hpp:372
Response data struct of shutter, used in internal link layer.
Definition: dji_camera_module.hpp:1032
ShutterSpeed
CameraModule shutter speed values.
Definition: dji_camera_module.hpp:236
void getFocusTargetAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType, TapFocusPosData tapFocusPos, UserData userData), UserData userData)
get camera tap focus target point, non-blocking calls
Definition: dji_camera_module.hpp:486
Definition: dji_camera_module.hpp:178
ShootPhotoMode
The ShootPhoto mode itself can have several modes. The default value is SINGLE.
Definition: dji_camera_module.hpp:83
ExposureCompensationData ev_param
Definition: dji_camera_module.hpp:1059
Definition: dji_camera_module.hpp:239
Definition: dji_camera_module.hpp:392
Definition: dji_camera_module.hpp:470
uint8_t padding
Definition: dji_camera_module.hpp:858
struct DJI::OSDK::CameraModule::CommonAck CommonAck
It is the common ack of Open Protocol CMD DJI::OSDK::CameraModule::FunctionID. All the ack data from ...
Definition: dji_camera_module.hpp:269
uint16_t reciprocal
Definition: dji_camera_module.hpp:1014
uint8_t FocusModeData
Focus mode data used by user.
Definition: dji_camera_module.hpp:800
Definition: dji_camera_module.hpp:238
uint8_t ret_code
Definition: dji_camera_module.hpp:969
Definition: dji_camera_module.hpp:534
Definition: dji_camera_module.hpp:474
TapZoomEnableData tapZoomEnable
Definition: dji_camera_module.hpp:920
Definition: dji_camera_module.hpp:396
All DJI OSDK OpenProtocol Command IDs.
ErrorCode::ErrorCodeType stopRecordVideoSync(int timeout)
stop to take video, blocking calls
PhotoAEBCount
the photo action of INTERVAL shooting photo mode
Definition: dji_camera_module.hpp:156
Definition: dji_camera_module.hpp:464
Interval take photo mode setting.
Definition: dji_camera_module.hpp:708
Definition: dji_camera_module.hpp:259
ErrorCode::ErrorCodeType tapZoomAtTargetSync(TapZoomPosData tapZoomPos, int timeout)
set camera tap zoom point, blocking calls
uint8_t ExposureCompensationData
Exposure compensation data type used by user.
Definition: dji_camera_module.hpp:1041
struct DJI::OSDK::CameraModule::TapZoomEnableAck TapZoomEnableAck
Response data struct of tap zoom enable parameter, used in internal link layer.
struct DJI::OSDK::CameraModule::CaptureParamData CaptureParamData
Take photo mode parameters.
Definition: dji_camera_module.hpp:98
Definition: dji_camera_module.hpp:244
Definition: dji_camera_module.hpp:356
ErrorCode::ErrorCodeType getISOSync(ISO &iso, int timeout)
get camera iso value, blocking calls
struct DJI::OSDK::CameraModule::CaptureParamReq CaptureParamReq
Request data to take photo mode.
void setFocusTargetAsync(TapFocusPosData tapFocusPos, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera tap focus target point, non-blocking calls
Definition: dji_camera_module.hpp:249
Definition: dji_camera_module.hpp:312
Definition: dji_type.hpp:254
FloatPoint TapFocusPosData
Tap focus target point data struct, used by user.
Definition: dji_camera_module.hpp:946
Definition: dji_camera_module.hpp:304
ErrorCode::ErrorCodeType setFocusModeSync(FocusMode mode, int timeout)
get camera focus mode, blocking calls
Definition: dji_camera_module.hpp:498
void setTapZoomMultiplierAsync(TapZoomMultiplierData param, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera tap zoom function parameters, non-blocking calls
zoomSpeedData zoomSpeed
Definition: dji_camera_module.hpp:852
Definition: dji_camera_module.hpp:532
ErrorCode::ErrorCodeType setModeSync(WorkMode mode, int timeout)
set camera working mode, blocking calls
uint8_t WorkModeData
CameraModule working mode data used by user.
Definition: dji_camera_module.hpp:773
ErrorCode::ErrorCodeType setApertureSync(Aperture size, int timeout)
set camera aperture size value, blocking calls
CaptureParamData captureParam
Definition: dji_camera_module.hpp:757
Definition: dji_camera_module.hpp:77
Definition: dji_camera_module.hpp:256
Definition: dji_camera_module.hpp:528
ErrorCode::ErrorCodeType setOpticalZoomFactorSync(float factor, int timeout)
set parameters for camera optical zooming, blocking calls
Definition: dji_camera_module.hpp:237
ErrorCode::ErrorCodeType getTapZoomMultiplierSync(TapZoomMultiplierData ¶m, int timeout)
get camera tap zoom parameters, blocking calls
void startContinuousOpticalZoomAsync(zoomDirectionData zoomDirection, zoomSpeedData zoomSpeed, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
start camera optical zooming, non-blocking calls
ErrorCode::ErrorCodeType obtainDownloadRightSync(bool enable, int timeout)
obtaion the download right from camera, blocking calls
Definition: dji_camera_module.hpp:267
WorkModeData workingMode
Definition: dji_camera_module.hpp:787
Definition: dji_camera_module.hpp:326
Definition: dji_camera_module.hpp:303
Definition: dji_camera_module.hpp:524
uint8_t TapZoomMultiplierData
Data struct of tap zoom multiplier used by user. Limit: 1~5.
Definition: dji_camera_module.hpp:915
Definition: dji_camera_module.hpp:276
Definition: dji_type.hpp:250
Definition: dji_camera_module.hpp:175
Definition: dji_camera_module.hpp:264
Definition: dji_type.hpp:261
Definition: dji_type.hpp:259
Definition: dji_camera_module.hpp:262
struct DJI::OSDK::CameraModule::ExposureCompensationAck ExposureCompensationAck
Response data struct of exposure compensation, used in internal link layer.
Definition: dji_camera_module.hpp:408
Definition: dji_camera_module.hpp:66
Definition: dji_camera_module.hpp:266
Definition: dji_camera_module.hpp:348
Definition: dji_type.hpp:257
void setApertureAsync(Aperture size, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera aperture size value, non-blocking calls
Response data struct of focus mode, used in internal link layer.
Definition: dji_camera_module.hpp:810
Definition: dji_camera_module.hpp:299
Definition: dji_camera_module.hpp:253
Definition: dji_camera_module.hpp:248
Definition: dji_camera_module.hpp:478
Definition: dji_camera_module.hpp:211
Definition: dji_camera_module.hpp:296
Definition: dji_camera_module.hpp:362
Definition: dji_camera_module.hpp:402
Request data to record video mode.
Definition: dji_camera_module.hpp:763
Definition: dji_camera_module.hpp:314
FunctionID
the function ID of camera used in the CMD OpenProtocolCMD::CMDSet::Control::cameraExtraFunction
Definition: dji_camera_module.hpp:414
Definition: dji_camera_module.hpp:295
void setPhotoTimeIntervalSettingsAsync(PhotoIntervalData intervalSetting, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set the parameters in the INTERVAL take-photo mode, non-blocking calls
Data type and Data Structure definitions for use throughout DJI OSDK.
FloatPoint TapZoomPosData
Tap zoom target point data struct, used by user.
Definition: dji_camera_module.hpp:942
Definition: dji_camera_module.hpp:49
struct DJI::OSDK::CameraModule::ApertureReq ApertureReq
Requesting to set aperture parameter, used in internal link layer.
Definition: dji_camera_module.hpp:241
Definition: dji_camera_module.hpp:368
uint8_t ret_code
Definition: dji_camera_module.hpp:1006
Response data struct of tap zoom enable parameter, used in internal link layer.
Definition: dji_camera_module.hpp:927
struct DJI::OSDK::CameraModule::UCBRetCodeHandler UCBRetCodeHandler
type of callback only deal the retCode for user
void getISOAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType, ISO iso, UserData userData), UserData userData)
get camera iso value, non-blocking calls
void stopShootPhotoAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
stop to shoot photo, non-blocking calls
Definition: dji_camera_module.hpp:330
Definition: dji_camera_module.hpp:386
ErrorCode::ErrorCodeType setShutterSpeedSync(ShutterSpeed shutterSpeed, int timeout)
set camera shutter value, blocking calls
Definition: dji_camera_module.hpp:283
Definition: dji_camera_module.hpp:298
Definition: dji_camera_module.hpp:460
uint8_t ret_code
Definition: dji_camera_module.hpp:831
Definition: dji_camera_module.hpp:147
Definition: dji_camera_module.hpp:292
Definition: dji_camera_module.hpp:516
ErrorCode::ErrorCodeType getPhotoIntervalDatasSync(PhotoIntervalData &intervalSetting, int timeout)
get the parameters in the INTERVAL take-photo mode, blocking calls
Definition: dji_camera_module.hpp:320
void getPhotoIntervalDatasAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, PhotoIntervalData intervalSetting, UserData userData), UserData userData)
get the parameters in the INTERVAL take-photo mode, non-blocking calls
Definition: dji_camera_module.hpp:398
Definition: dji_camera_module.hpp:533
Definition: dji_camera_module.hpp:496
void setExposureCompensationAsync(ExposureCompensation ev, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera EV value, non-blocking calls
Definition: dji_camera_module.hpp:337
uint8_t zoomSpeedData
Zoom speed data used by user, ref to DJI::OSDK::CameraModule::ZoomSpeed.
Definition: dji_camera_module.hpp:845
uint16_t integer_part
Definition: dji_camera_module.hpp:1013
TapZoomMultiplierData multiplier
Definition: dji_camera_module.hpp:921
It is the common ack of Open Protocol CMD DJI::OSDK::CameraModule::FunctionID. All the ack data from ...
Definition: dji_camera_module.hpp:687
ErrorCode::ErrorCodeType setISOSync(ISO iso, int timeout)
set camera iso value, blocking calls
Definition: dji_camera_module.hpp:270
Definition: dji_camera_module.hpp:149
struct DJI::OSDK::CameraModule::FloatPointReq FloatPointReq
Requesting to set the target point of some functions , used in internal link layer.
Definition: dji_camera_module.hpp:494
Definition: dji_ack.cpp:38
Definition: dji_camera_module.hpp:506
ErrorCode::ErrorCodeType getApertureSync(Aperture &size, int timeout)
get camera aperture size value, blocking calls
zoomOptiParamType zoomOptiParam
Definition: dji_camera_module.hpp:906
Requesting to set aperture parameter, used in internal link layer.
Definition: dji_camera_module.hpp:999
void tapZoomAtTargetAsync(TapZoomPosData tapZoomPos, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera tap zoom point, non-blocking calls
ExposureModeData exposureModeMode
Definition: dji_camera_module.hpp:824
Definition: dji_camera_module.hpp:132
PhotoIntervalData intervalSetting
Definition: dji_camera_module.hpp:721
Definition: dji_camera_module.hpp:492
ShutterSpeedType shutterSpeed
Definition: dji_camera_module.hpp:1027
Response data struct of tap focus target parameter, used in internal link layer.
Definition: dji_camera_module.hpp:968
struct DJI::OSDK::CameraModule::zoomOptiParamType zoomOptiParamType
Data struct of optical zoom parameters.
Definition: dji_camera_module.hpp:184
Definition: dji_camera_module.hpp:538
Definition: dji_camera_module.hpp:165
Definition: dji_camera_module.hpp:458
WorkMode
CameraModule work modes.
Definition: dji_camera_module.hpp:45
type of callback only deal the retCode for user
Definition: dji_camera_module.hpp:1066
void setISOAsync(ISO iso, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera iso value, non-blocking calls
Definition: dji_camera_module.hpp:281
ErrorCode::ErrorCodeType setPhotoAEBCountSync(PhotoAEBCount count, int timeout)
set the burst count in the AEB take-photo mode, blocking calls
uint8_t ShootPhotoModeData
Take photo mode data used by user.
Definition: dji_camera_module.hpp:694
ErrorCode::ErrorCodeType getModeSync(WorkMode &workingMode, int timeout)
get camera working mode, blocking calls
Definition: dji_camera_module.hpp:535
Requesting exposure mode, used in internal link layer.
Definition: dji_camera_module.hpp:822
Definition: dji_camera_module.hpp:288
ErrorCode::ErrorCodeType setShootPhotoModeSync(ShootPhotoMode takePhotoMode, int timeout)
set the shoot photo mode, blocking calls
uint8_t PhotoNumBurstData
Take photo mode data used by user.ref to DJI::OSDK::CameraModule::PhotoBurstCount.
Definition: dji_camera_module.hpp:704
Definition: dji_camera_module.hpp:302
Response data struct of ISO parameter, used in internal link layer.
Definition: dji_camera_module.hpp:987
struct DJI::OSDK::CameraModule::CaptureParamAck CaptureParamAck
Response data of take photo mode.
Definition: dji_type.hpp:262
uint16_t zoomFocusLength
Definition: dji_camera_module.hpp:861
Definition: dji_camera_module.hpp:322
Definition: dji_camera_module.hpp:247
Definition: dji_camera_module.hpp:277
Definition: dji_camera_module.hpp:93
void getExposureCompensationAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ExposureCompensation ev, UserData userData), UserData userData)
get camera EV value, non-blocking calls
void getTapZoomEnabledAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, bool param, UserData userData), UserData userData)
get camera tap zoom function parameters, non-blocking calls
uint8_t ret_code
Definition: dji_camera_module.hpp:928
uint8_t PhotoAEBCountData
Take photo mode data used by user.ref to DJI::OSDK::CameraModule::PhotoAEBCount.
Definition: dji_camera_module.hpp:699
ErrorCode::ErrorCodeType setPhotoBurstCountSync(PhotoBurstCount count, int timeout)
set the burst count in the Burst take-photo mode, blocking calls
Definition: dji_camera_module.hpp:240
void getFocusModeAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, FocusMode mode, UserData userData), UserData userData)
get camera focus mode, non-blocking calls
CaptureParamData captureParam
Definition: dji_camera_module.hpp:749
Definition: dji_camera_module.hpp:537
ErrorCode::ErrorCodeType stopShootPhotoSync(int timeout)
stop to shoot photo, blocking calls
Definition: dji_camera_module.hpp:404
Definition: dji_camera_module.hpp:275
Definition: dji_camera_module.hpp:274
void setExposureModeAsync(ExposureMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
set camera exposure mode, non-blocking calls
uint8_t shutter_mode
Definition: dji_camera_module.hpp:1034
FocusModeData focusMode
Definition: dji_camera_module.hpp:812
Definition: dji_camera_module.hpp:468
PhotoNumBurstData photoNumBurst
Definition: dji_camera_module.hpp:719
FloatPointReq TapFocusPosReq
Requesting to set the target of tapfocus , used in internal link layer.
Definition: dji_camera_module.hpp:963
ErrorCode::ErrorCodeType getShutterSpeedSync(ShutterSpeed &shutterSpeed, int timeout)
get camera shutter value, blocking calls
Definition: dji_camera_module.hpp:279
uint8_t ret_code
Definition: dji_camera_module.hpp:1057
Response data struct of exposure mode, used in internal link layer.
Definition: dji_camera_module.hpp:830
Definition: dji_camera_module.hpp:195
Definition: dji_camera_module.hpp:482
Definition: dji_camera_module.hpp:358
Definition: dji_camera_module.hpp:364
struct DJI::OSDK::CameraModule::zoomOptiParamReq zoomOptiParamReq
Requesting optical zoom, used in internal link layer.
Requesting to set the target point of some functions , used in internal link layer.
Definition: dji_camera_module.hpp:951
Definition: dji_camera_module.hpp:301
Definition: dji_camera_module.hpp:510
void getModeAsync(void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, WorkMode workingMode, UserData userData), UserData userData)
get camera working mode, non-blocking calls
Definition: dji_camera_module.hpp:141
Definition: dji_camera_module.hpp:284
Definition: dji_camera_module.hpp:151
Requesting to set ISO parameter, used in internal link layer.
Definition: dji_camera_module.hpp:981
Aperture
CameraModule aperture values.
Definition: dji_camera_module.hpp:451
struct DJI::OSDK::CameraModule::RecordVideoReq RecordVideoReq
Request data to record video mode.
Definition: dji_camera_module.hpp:138
Definition: dji_camera_module.hpp:221
ContiCapMode
the photo action of INTERVAL shooting photo mode
Definition: dji_camera_module.hpp:137