DJI Onboard SDK  4.0
camera_manager_sync_sample.hpp
Go to the documentation of this file.
1 
30 #ifndef ONBOARDSDK_CAMERA_MANAGER_SYNC_SAMPLE_HPP
31 #define ONBOARDSDK_CAMERA_MANAGER_SYNC_SAMPLE_HPP
32 
33 #include <dji_vehicle.hpp>
34 #include "dji_camera_manager.hpp"
35 
39  public:
40  CameraManagerSyncSample(Vehicle* vehiclePtr);
41 
43 
44  public:
57 
68 
78  CameraModule::ISO dataTarget);
79 
90 
100  PayloadIndexType index, CameraModule::Aperture dataTarget);
101 
113  float x, float y);
114 
128  uint8_t multiplier,
129  float x, float y);
130 
146 
156 
166  PayloadIndexType index);
167 
179 
191 
203 
212 
222 
232 
233  private:
234  Vehicle* vehicle;
235 };
236 
237 #endif // ONBOARDSDK_CAMERA_MANAGER_SYNC_SAMPLE_HPP
ErrorCode::ErrorCodeType shootPhotoStopSyncSample(PayloadIndexType index)
Sample to stop shooting, using async api.
uint8_t zoomDirectionData
Zoom direction data used by user, ref to DJI::OSDK::CameraModule::ZoomDirection.
Definition: dji_camera_module.hpp:675
ExposureMode
the photo action of INTERVAL shooting photo mode
Definition: dji_camera_module.hpp:142
int64_t ErrorCodeType
Unified error type.
Definition: dji_error.hpp:144
ErrorCode::ErrorCodeType setExposureModeSyncSample(PayloadIndexType index, CameraModule::ExposureMode dataTarget)
Sample to set exposure mode for camera, using async api.
ExposureCompensation
CameraModule exposure compensation.
Definition: dji_camera_module.hpp:338
PayloadIndexType
The payload Index of camera.
Definition: dji_payload_base.hpp:42
ErrorCode::ErrorCodeType setISOSyncSample(PayloadIndexType index, CameraModule::ISO dataTarget)
Sample to set ISO value for camera, using async api.
ErrorCode::ErrorCodeType startShootAEBPhotoSyncSample(PayloadIndexType index, CameraModule::PhotoAEBCount photoNum)
Sample to shoot AEB photo, using async api.
ErrorCode::ErrorCodeType startRecordVideoSyncSample(PayloadIndexType index)
Sample to start record video, using async api.
ShutterSpeed
CameraModule shutter speed values.
Definition: dji_camera_module.hpp:232
ErrorCode::ErrorCodeType setEVSyncSample(PayloadIndexType index, CameraModule::ExposureCompensation dataTarget)
Sample to set exposure compensation value for camera, using async api.
ErrorCode::ErrorCodeType startShootSinglePhotoSyncSample(PayloadIndexType index)
Sample to shoot single photo, using async api.
PhotoAEBCount
the photo action of INTERVAL shooting photo mode
Definition: dji_camera_module.hpp:152
Interval take photo mode setting.
Definition: dji_camera_module.hpp:564
camera manager sync sample
Definition: camera_manager_sync_sample.hpp:38
ErrorCode::ErrorCodeType stopZoomSyncSample(PayloadIndexType index)
Sample to stop continuous zoom on camera, using async api.
ErrorCode::ErrorCodeType startShootIntervalPhotoSyncSample(PayloadIndexType index, CameraModule::PhotoIntervalData intervalData)
Sample to start shooting interval photo, using async api.
ISO
CameraModule ISO values.
Definition: dji_camera_module.hpp:305
ErrorCode::ErrorCodeType stopRecordVideoSyncSample(PayloadIndexType index)
Sample to stop record video, using async api.
ErrorCode::ErrorCodeType startShootBurstPhotoSyncSample(PayloadIndexType index, CameraModule::PhotoBurstCount count)
Sample to shoot burst photo, using async api.
PhotoBurstCount
Definition: dji_camera_module.hpp:168
ErrorCode::ErrorCodeType startZoomSyncSample(PayloadIndexType index, CameraModule::zoomDirectionData direction, CameraModule::zoomSpeedData speed)
Sample to execute continuous zoom on camera, using async api.
uint8_t zoomSpeedData
Zoom speed data used by user, ref to DJI::OSDK::CameraModule::ZoomSpeed.
Definition: dji_camera_module.hpp:680
ErrorCode::ErrorCodeType setFocusPointSyncSample(PayloadIndexType index, float x, float y)
Sample to set focus point for camera, using async api.
ErrorCode::ErrorCodeType setApertureSyncSample(PayloadIndexType index, CameraModule::Aperture dataTarget)
Sample to set shutter aperture value for camera, using async api.
ErrorCode::ErrorCodeType setShutterSpeedSyncSample(PayloadIndexType index, CameraModule::ShutterSpeed dataTarget)
Sample to set shutter speed for camera, using async api.
Implementation of the manager for camera module.
Vehicle API for DJI onboardSDK library.
ErrorCode::ErrorCodeType setTapZoomPointSyncSample(PayloadIndexType index, uint8_t multiplier, float x, float y)
Sample to set tap-zoom point for camera, using async api.
Aperture
CameraModule aperture values.
Definition: dji_camera_module.hpp:447