CameraModule of PayloadNode. More...
#include <dji_camera_module.hpp>
Classes | |
| struct | ApertureAck |
| Response data struct of aperture, used in internal link layer. More... | |
| struct | ApertureReq |
| Requesting to set aperture parameter, used in internal link layer. More... | |
| struct | CaptureParamAck |
| Response data of take photo mode. More... | |
| struct | CaptureParamData |
| Take photo mode parameters. More... | |
| struct | CaptureParamReq |
| Request data to take photo mode. More... | |
| struct | CommonAck |
| It is the common ack of Open Protocol CMD DJI::OSDK::CameraModule::FunctionID. All the ack data from this CMD will include the ack struct. More... | |
| struct | ExposureCompensationAck |
| Response data struct of exposure compensation, used in internal link layer. More... | |
| struct | ExposureCompensationReq |
| Requesting to set Exposure compensation, used in internal link layer. More... | |
| struct | ExposureModeAck |
| Response data struct of exposure mode, used in internal link layer. More... | |
| struct | ExposureModeReq |
| Requesting exposure mode, used in internal link layer. More... | |
| struct | FloatPoint |
| 2D float point data struct More... | |
| struct | FloatPointReq |
| Requesting to set the target point of some functions , used in internal link layer. More... | |
| struct | FocusModeAck |
| Response data struct of focus mode, used in internal link layer. More... | |
| struct | FocusModeReq |
| Requesting focus mode, used in internal link layer. More... | |
| struct | ISOParamAck |
| Response data struct of ISO parameter, used in internal link layer. More... | |
| struct | ISOParamReq |
| Requesting to set ISO parameter, used in internal link layer. More... | |
| struct | PhotoIntervalData |
| Interval take photo mode setting. More... | |
| struct | RecordVideoReq |
| Request data to record video mode. More... | |
| struct | ShootPhotoReq |
| Requesting take photo mode, used in internal link layer. More... | |
| struct | ShutterAck |
| Response data struct of shutter, used in internal link layer. More... | |
| struct | ShutterParamType |
| Shutter data struct. More... | |
| struct | ShutterReq |
| Requesting to set shutter parameter, used in internal link layer. More... | |
| struct | TapFocusPosAck |
| Response data struct of tap focus target parameter, used in internal link layer. More... | |
| struct | TapZoomEnableAck |
| Response data struct of tap zoom enable parameter, used in internal link layer. More... | |
| struct | TapZoomEnableReq |
| Requesting to set tap zoom enable, used in internal link layer. More... | |
| struct | UCBRetCodeHandler |
| type of callback only deal the retCode for user More... | |
| struct | UCBRetParamStruct |
| struct of callback deal the param and retCode for user More... | |
| struct | WorkModeAck |
| Responsing CameraModule working mode data, used in internal link layer. More... | |
| struct | WorkModeReq |
| Requesting CameraModule working mode data, used in internal link layer. More... | |
| struct | zoomOptiParamReq |
| Requesting optical zoom, used in internal link layer. More... | |
| struct | zoomOptiParamType |
| Data struct of optical zoom parameters. More... | |
Public Types | |
| enum | WorkMode { SHOOT_PHOTO = 0, RECORD_VIDEO = 1, PLAYBACK = 2, MEDIA_DOWNLOAD = 3, BROADCAST = 4, WORK_MODE_UNKNOWN = 0xFF } |
| CameraModule work modes. More... | |
| enum | ShootPhotoMode { SINGLE = DJI_CAMERA_TAKE_PHOTO_TYPE_NORMAL, HDR = DJI_CAMERA_TAKE_PHOTO_TYPE_HDR, BURST = DJI_CAMERA_TAKE_PHOTO_TYPE_BURST, AEB = DJI_CAMERA_TAKE_PHOTO_TYPE_AEB, INTERVAL = DJI_CAMERA_TAKE_PHOTO_TYPE_TIME_LAPSE, RAW_BURST = DJI_CAMERA_TAKE_PHOTO_TYPE_RAW_BURST, EHDR = DJI_CAMERA_TAKE_PHOTO_TYPE_EHDR, REGIONAL_SR = 0x16, SHOOT_PHOTO_MODE_UNKNOWN = 0xFF } |
| The ShootPhoto mode itself can have several modes. The default value is SINGLE. More... | |
| enum | ContiCapMode { CONTI_CAP_SINGLE = 0, CONTI_CAP_MULTIPLE, CONTI_CAP_TIMELAPSE = 2 } |
| the photo action of INTERVAL shooting photo mode More... | |
| enum | ExposureMode { PROGRAM_AUTO = 1, SHUTTER_PRIORITY = 2, APERTURE_PRIORITY = 3, EXPOSURE_MANUAL = 4, EXPOSURE_UNKNOWN = 0xFF } |
| the photo action of INTERVAL shooting photo mode More... | |
| enum | PhotoAEBCount { AEB_COUNT_3 = 3, AEB_COUNT_5 = 5, AEB_COUNT_7 = 7, AEB_COUNT_KNOWN = 0xFF } |
| the photo action of INTERVAL shooting photo mode More... | |
| enum | PhotoBurstCount { BURST_COUNT_2 = 2, BURST_COUNT_3 = 3, BURST_COUNT_5 = 5, BURST_COUNT_7 = 7, BURST_COUNT_10 = 10, BURST_COUNT_14 = 14, BURST_COUNT_KNOWN = 0xFF } |
| enum | FocusMode { MANUAL = 0, AUTO = 1, AFC = 2, FOCUS_MODE_UNKNOWN = 0xFFFF } |
| enum | ShutterMode { SHUTTER_AUTO_MODE = 0x00, SHUTTER_MANUAL_MODE = 0x01 } |
| enum | ShutterSpeed { SHUTTER_SPEED_1_8000 = 0, SHUTTER_SPEED_1_6400 = 1, SHUTTER_SPEED_1_6000 = 2, SHUTTER_SPEED_1_5000 = 3, SHUTTER_SPEED_1_4000 = 4, SHUTTER_SPEED_1_3200 = 5, SHUTTER_SPEED_1_3000 = 6, SHUTTER_SPEED_1_2500 = 7, SHUTTER_SPEED_1_2000 = 8, SHUTTER_SPEED_1_1600 = 9, SHUTTER_SPEED_1_1500 = 10, SHUTTER_SPEED_1_1250 = 11, SHUTTER_SPEED_1_1000 = 12, SHUTTER_SPEED_1_800 = 13, SHUTTER_SPEED_1_725 = 14, SHUTTER_SPEED_1_640 = 15, SHUTTER_SPEED_1_500 = 16, SHUTTER_SPEED_1_400 = 17, SHUTTER_SPEED_1_350 = 18, SHUTTER_SPEED_1_320 = 19, SHUTTER_SPEED_1_250 = 20, SHUTTER_SPEED_1_240 = 21, SHUTTER_SPEED_1_200 = 22, SHUTTER_SPEED_1_180 = 23, SHUTTER_SPEED_1_160 = 24, SHUTTER_SPEED_1_125 = 25, SHUTTER_SPEED_1_120 = 26, SHUTTER_SPEED_1_100 = 27, SHUTTER_SPEED_1_90 = 28, SHUTTER_SPEED_1_80 = 29, SHUTTER_SPEED_1_60 = 30, SHUTTER_SPEED_1_50 = 31, SHUTTER_SPEED_1_40 = 32, SHUTTER_SPEED_1_30 = 33, SHUTTER_SPEED_1_25 = 34, SHUTTER_SPEED_1_20 = 35, SHUTTER_SPEED_1_15 = 36, SHUTTER_SPEED_1_12DOT5 = 37, SHUTTER_SPEED_1_10 = 38, SHUTTER_SPEED_1_8 = 39, SHUTTER_SPEED_1_6DOT25 = 40, SHUTTER_SPEED_1_5 = 41, SHUTTER_SPEED_1_4 = 42, SHUTTER_SPEED_1_3 = 43, SHUTTER_SPEED_1_2DOT5 = 44, SHUTTER_SPEED_1_2 = 45, SHUTTER_SPEED_1_1DOT67 = 46, SHUTTER_SPEED_1_1DOT25 = 47, SHUTTER_SPEED_1 = 48, SHUTTER_SPEED_1DOT3 = 49, SHUTTER_SPEED_1DOT6 = 50, SHUTTER_SPEED_2 = 51, SHUTTER_SPEED_2DOT5 = 52, SHUTTER_SPEED_3 = 53, SHUTTER_SPEED_3DOT2 = 54, SHUTTER_SPEED_4 = 55, SHUTTER_SPEED_5 = 56, SHUTTER_SPEED_6 = 57, SHUTTER_SPEED_7 = 58, SHUTTER_SPEED_8 = 59, SHUTTER_SPEED_9 = 60, SHUTTER_SPEED_10 = 61, SHUTTER_SPEED_13 = 62, SHUTTER_SPEED_15 = 63, SHUTTER_SPEED_20 = 64, SHUTTER_SPEED_25 = 65, SHUTTER_SPEED_30 = 66, SHUTTER_SPEED_UNKNOWN = 0xFF } |
| CameraModule shutter speed values. More... | |
| enum | ISO { ISO_AUTO = DJI_CAMERA_ISO_PARAMETER_AUTO, ISO_100 = DJI_CAMERA_ISO_PARAMETER_100, ISO_200 = DJI_CAMERA_ISO_PARAMETER_200, ISO_400 = DJI_CAMERA_ISO_PARAMETER_400, ISO_800 = DJI_CAMERA_ISO_PARAMETER_800, ISO_1600 = DJI_CAMERA_ISO_PARAMETER_1600, ISO_3200 = DJI_CAMERA_ISO_PARAMETER_3200, ISO_6400 = DJI_CAMERA_ISO_PARAMETER_6400, ISO_12800 = DJI_CAMERA_ISO_PARAMETER_12800, ISO_25600 = DJI_CAMERA_ISO_PARAMETER_25600, ISO_FIXED = DJI_CAMERA_ISO_PARAMETER_FIXED, ISO_UNKNOWN = 0xFFFF } |
| CameraModule ISO values. More... | |
| enum | ExposureCompensation { N_5_0 = 1, N_4_7 = 2, N_4_3 = 3, N_4_0 = 4, N_3_7 = 5, N_3_3 = 6, N_3_0 = 7, N_2_7 = 8, N_2_3 = 9, N_2_0 = 10, N_1_7 = 11, N_1_3 = 12, N_1_0 = 13, N_0_7 = 14, N_0_3 = 15, N_0_0 = 16, P_0_3 = 17, P_0_7 = 18, P_1_0 = 19, P_1_3 = 20, P_1_7 = 21, P_2_0 = 22, P_2_3 = 23, P_2_7 = 24, P_3_0 = 25, P_3_3 = 26, P_3_7 = 27, P_4_0 = 28, P_4_3 = 29, P_4_7 = 30, P_5_0 = 31, FIXED = 0xFF, UNKNOWN = 0xFFFF } |
| CameraModule exposure compensation. More... | |
| enum | FunctionID { FUNCTION_SIMPLE_SHOT = 0, FUNCTION_RECORD_VIDEO = 1, FUNCTION_SET_WORKING_MODE = 3, FUNCTION_GET_WORKING_MODE = 4, FUNCTION_SET_FOCUS_PARAMETER = 7, FUNCTION_SET_EXPOSURE_MODE = 8, FUNCTION_GET_EXPOSURE_MODE = 9, FUNCTION_SET_FOCUS_MODE = 10, FUNCTION_GET_FOCUS_MODE = 11, FUNCTION_SET_EV_PARAMETER = 12, FUNCTION_GET_EV_PARAMETER = 13, FUNCTION_GET_FOCUS_PARAMETER = 14, FUNCTION_SET_POINT_ZOOM_MODE = 15, FUNCTION_GET_POINT_ZOOM_MODE = 16, FUNCTION_POINT_ZOOM_CTRL = 17, FUNCTION_SET_ZOOM_PARAMETER = 19, FUNCTION_GET_ZOOM_PARAMETER = 20, FUNCTION_SET_ISO_PARAMETER = 22, FUNCTION_GET_ISO_PARAMETER = 23, FUNCTION_SET_SHUTTER_SPEED = 24, FUNCTION_GET_SHUTTER_SPEED = 25, FUNCTION_SET_APERTURE_SIZE = 26, FUNCTION_GET_APERTURE_SIZE = 27, FUNCTION_SET_METERING_MODE = 28, FUNCTION_GET_METERING_MODE = 29, FUNCTION_SET_SPOT_FOCUS_AERA = 30, FUNCTION_GET_SPOT_FOCUS_AERA = 31, FUNCTION_SET_SHOT_MODE = 32, FUNCTION_GET_SHOT_MODE = 33, FUNCTION_CONTROL_OPTIZOOM = 34 } |
| the function ID of camera used in the CMD OpenProtocolCMD::CMDSet::Control::cameraExtraFunction | |
| enum | Aperture { F_1_DOT_6 = 160, F_1_DOT_7 = 170, F_1_DOT_8 = 180, F_2 = 200, F_2_DOT_2 = 220, F_2_DOT_4 = 240, F_2_DOT_5 = 250, F_2_DOT_6 = 260, F_2_DOT_8 = 280, F_3_DOT_2 = 320, F_3_DOT_4 = 340, F_3_DOT_5 = 350, F_4 = 400, F_4_DOT_5 = 450, F_4_DOT_8 = 480, F_5 = 500, F_5_DOT_6 = 560, F_6_DOT_3 = 630, F_6_DOT_8 = 680, F_7_DOT_1 = 710, F_8 = 800, F_9 = 900, F_9_DOT_6 = 960, F_10 = 1000, F_11 = 1100, F_13 = 1300, F_14 = 1400, F_16 = 1600, F_18 = 1800, F_19 = 1900, F_20 = 2000, F_22 = 2200, F_UNKNOWN = 0xFFFF } |
| CameraModule aperture values. More... | |
| enum | ZoomDirection { ZOOM_OUT = 0, ZOOM_IN = 1 } |
| enum | ZoomSpeed { SLOWEST = 72, SLOW = 73, MODERATELY_SLOW = 74, NORMAL = 75, MODERATELY_FAST = 76, FAST = 77, FASTEST = 78 } |
| enum | DJI_CAMERA_FOCUS_MODE { DJI_CAMERA_FOCUS_MODE_MANUAL = 0, DJI_CAMERA_FOCUS_MODE_SHOT_AF = 1, DJI_CAMERA_FOCUS_MODE_CONTIN_AF = 2, DJI_CAMERA_FOCUS_MODE_MANUAL_FINE = 3 } |
| enum | DJI_CAMERA_DJPH1_CALIBRATE_RESULT { DJI_CAMERA_DJPH1_CALIBRATE_RESULT_IDLE = 0, DJI_CAMERA_DJPH1_CALIBRATE_RESULT_SUCCESS = 1, DJI_CAMERA_DJPH1_CALIBRATE_RESULT_TOOCLOSE = 2 } |
| enum | DJI_X5_CAMERA_PROTOCOL_TYPE { DJI_X5_CAMERA_PROTOCOL_TYPE_DEFAULT = 0, DJI_X5_CAMERA_PROTOCOL_TYPE_ASSISTANT_FOCUS = 1, DJI_X5_CAMERA_PROTOCOL_TYPE_CMODE = 2 } |
| enum | DJI_CAMERA_CONTI_CAP_TYPE : uint8_t { DJI_CAMERA_CONTI_CAP_TYPE_SINGLE = 0, DJI_CAMERA_CONTI_CAP_TYPE_MULTIPLE = 1, DJI_CAMERA_CONTI_CAP_TYPE_TIMELAPSE = 2 } |
| typedef struct DJI::OSDK::CameraModule::dji_camera_focus_area_struct | dji_camera_focus_area_struct |
| typedef struct DJI::OSDK::CameraModule::dji_camera_aperture_range | dji_camera_aperture_range |
| typedef struct DJI::OSDK::CameraModule::dji_camera_assist_digital_zoom_para | dji_camera_assist_digital_zoom_para |
| typedef struct DJI::OSDK::CameraModule::dji_camera_real_focus_area_struct | dji_camera_real_focus_area_struct |
| typedef struct DJI::OSDK::CameraModule::dji_camera_focusing_state | dji_camera_focusing_state |
| typedef struct DJI::OSDK::CameraModule::dji_camera_lens_state | dji_camera_lens_state |
| typedef struct DJI::OSDK::CameraModule::dji_camera_len_para_push | dji_camera_len_para_push |
| typedef struct DJI::OSDK::CameraModule::CommonAck | CommonAck |
| It is the common ack of Open Protocol CMD DJI::OSDK::CameraModule::FunctionID. All the ack data from this CMD will include the ack struct. | |
| typedef uint8_t | ShootPhotoModeData |
| Take photo mode data used by user. More... | |
| typedef uint8_t | PhotoAEBCountData |
| Take photo mode data used by user.ref to DJI::OSDK::CameraModule::PhotoAEBCount. | |
| typedef uint8_t | PhotoNumBurstData |
| Take photo mode data used by user.ref to DJI::OSDK::CameraModule::PhotoBurstCount. | |
| typedef struct DJI::OSDK::CameraModule::PhotoIntervalData | PhotoIntervalData |
| Interval take photo mode setting. | |
| typedef struct DJI::OSDK::CameraModule::CaptureParamData | CaptureParamData |
| Take photo mode parameters. | |
| typedef struct DJI::OSDK::CameraModule::dji_camera_timelapse_capture_with_ms | dji_camera_timelapse_capture_with_ms |
| typedef struct DJI::OSDK::CameraModule::CaptureParamReq | CaptureParamReq |
| Request data to take photo mode. | |
| typedef struct DJI::OSDK::CameraModule::CaptureParamAck | CaptureParamAck |
| Response data of take photo mode. | |
| typedef struct DJI::OSDK::CameraModule::RecordVideoReq | RecordVideoReq |
| Request data to record video mode. | |
| typedef uint8_t | WorkModeData |
| CameraModule working mode data used by user. More... | |
| typedef struct DJI::OSDK::CameraModule::WorkModeReq | WorkModeReq |
| Requesting CameraModule working mode data, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::WorkModeAck | WorkModeAck |
| Responsing CameraModule working mode data, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ShootPhotoReq | ShootPhotoReq |
| Requesting take photo mode, used in internal link layer. | |
| typedef uint8_t | FocusModeData |
| Focus mode data used by user. More... | |
| typedef struct DJI::OSDK::CameraModule::FocusModeReq | FocusModeReq |
| Requesting focus mode, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::FocusModeAck | FocusModeAck |
| Response data struct of focus mode, used in internal link layer. | |
| typedef uint8_t | ExposureModeData |
| Exposure mode data used by user. More... | |
| typedef struct DJI::OSDK::CameraModule::ExposureModeReq | ExposureModeReq |
| Requesting exposure mode, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ExposureModeAck | ExposureModeAck |
| Response data struct of exposure mode, used in internal link layer. | |
| typedef uint8_t | zoomDirectionData |
| Zoom direction data used by user, ref to DJI::OSDK::CameraModule::ZoomDirection. | |
| typedef uint8_t | zoomSpeedData |
| Zoom speed data used by user, ref to DJI::OSDK::CameraModule::ZoomSpeed. | |
| typedef struct DJI::OSDK::CameraModule::zoomOptiParamType | zoomOptiParamType |
| Data struct of optical zoom parameters. | |
| typedef struct DJI::OSDK::CameraModule::zoom_config_t | zoom_config_t |
| typedef union DJI::OSDK::CameraModule::zoom_param_t | zoom_param_t |
| typedef struct DJI::OSDK::CameraModule::camera_zoom_data_type | camera_zoom_data_type |
| typedef struct DJI::OSDK::CameraModule::zoomOptiParamReq | zoomOptiParamReq |
| Requesting optical zoom, used in internal link layer. | |
| typedef uint8_t | TapZoomEnableData |
| Data struct of tap zoom enabled used by user. | |
| typedef uint8_t | TapZoomMultiplierData |
| Data struct of tap zoom multiplier used by user. Limit: 1~5. | |
| typedef struct DJI::OSDK::CameraModule::TapZoomEnableReq | TapZoomEnableReq |
| Requesting to set tap zoom enable, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::TapZoomEnableAck | TapZoomEnableAck |
| Response data struct of tap zoom enable parameter, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::FloatPoint | FloatPoint |
| 2D float point data struct | |
| typedef FloatPoint | TapZoomPosData |
| Tap zoom target point data struct, used by user. | |
| typedef FloatPoint | TapFocusPosData |
| Tap focus target point data struct, used by user. | |
| typedef struct DJI::OSDK::CameraModule::FloatPointReq | FloatPointReq |
| Requesting to set the target point of some functions , used in internal link layer. | |
| typedef FloatPointReq | TapZoomPosReq |
| Requesting to set the target of tapzoom , used in internal link layer. | |
| typedef FloatPointReq | TapFocusPosReq |
| Requesting to set the target of tapfocus , used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::TapFocusPosAck | TapFocusPosAck |
| Response data struct of tap focus target parameter, used in internal link layer. | |
| typedef uint8_t | ISOParamData |
| ISO data used by user. More... | |
| typedef struct DJI::OSDK::CameraModule::ISOParamReq | ISOParamReq |
| Requesting to set ISO parameter, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ISOParamAck | ISOParamAck |
| Response data struct of ISO parameter, used in internal link layer. | |
| typedef uint16_t | ApertureData |
| Aperture size data used by user. ref to DJI::OSDK::CameraModule::Aperture. | |
| typedef struct DJI::OSDK::CameraModule::ApertureReq | ApertureReq |
| Requesting to set aperture parameter, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ApertureAck | ApertureAck |
| Response data struct of aperture, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ShutterParamType | ShutterSpeedType |
| Shutter data struct. | |
| typedef uint8_t | ShutterSpeedData |
| Shutter data type used by user. ref to DJI::OSDK::CameraModule::ShutterSpeed. | |
| typedef struct DJI::OSDK::CameraModule::ShutterReq | ShutterReq |
| Requesting to set shutter parameter, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ShutterAck | ShutterAck |
| Response data struct of shutter, used in internal link layer. | |
| typedef uint8_t | ExposureCompensationData |
| Exposure compensation data type used by user. More... | |
| typedef struct DJI::OSDK::CameraModule::ExposureCompensationReq | ExposureCompensationReq |
| Requesting to set Exposure compensation, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::ExposureCompensationAck | ExposureCompensationAck |
| Response data struct of exposure compensation, used in internal link layer. | |
| typedef struct DJI::OSDK::CameraModule::UCBRetCodeHandler | UCBRetCodeHandler |
| type of callback only deal the retCode for user | |
| template<typename T > | |
| using | UCBRetParamHandler = UCBRetParamStruct< T > |
| type of callback deal the param and retCode for user | |
| typedef struct DJI::OSDK::CameraModule::LensInfoPacketType | LensInfoPacketType |
Public Member Functions | |
| CameraModule (Linker *linker, PayloadIndexType payloadIndex, std::string name, bool enable) | |
| void | startShootPhotoAsync (ShootPhotoMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| start to shoot photo, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | startShootPhotoSync (ShootPhotoMode mode, int timeout) |
| start to shoot photo, blocking calls More... | |
| void | stopShootPhotoAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| stop to shoot photo, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | stopShootPhotoSync (int timeout) |
| stop to shoot photo, blocking calls More... | |
| void | setShootPhotoModeAsync (ShootPhotoMode takePhotoMode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set the shoot photo mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setShootPhotoModeSync (ShootPhotoMode takePhotoMode, int timeout) |
| set the shoot photo mode, blocking calls More... | |
| void | getShootPhotoModeAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ShootPhotoMode takePhotoMode, UserData userData), UserData userData) |
| get the shoot photo mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getShootPhotoModeSync (ShootPhotoMode &takePhotoMode, int timeout) |
| get the shoot photo mode, blocking calls More... | |
| 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 More... | |
| ErrorCode::ErrorCodeType | setPhotoBurstCountSync (PhotoBurstCount count, int timeout) |
| set the burst count in the Burst take-photo mode, blocking calls More... | |
| void | getPhotoBurstCountAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, PhotoBurstCount count, UserData userData), UserData userData) |
| ErrorCode::ErrorCodeType | getPhotoBurstCountSync (PhotoBurstCount &count, int timeout) |
| get the burst count in the Burst take-photo mode, blocking calls More... | |
| 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 More... | |
| ErrorCode::ErrorCodeType | setPhotoAEBCountSync (PhotoAEBCount count, int timeout) |
| set the burst count in the AEB take-photo mode, blocking calls More... | |
| void | getPhotoAEBCountAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, PhotoAEBCount count, UserData userData), UserData userData) |
| ErrorCode::ErrorCodeType | getPhotoAEBCountSync (PhotoAEBCount &count, int timeout) |
| get the burst count in the AEB take-photo mode, blocking calls More... | |
| 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 More... | |
| ErrorCode::ErrorCodeType | setPhotoTimeIntervalSettingsSync (PhotoIntervalData intervalSetting, int timeout) |
| set the parameters in the INTERVAL take-photo mode, blocking calls More... | |
| 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 More... | |
| ErrorCode::ErrorCodeType | getPhotoIntervalDatasSync (PhotoIntervalData &intervalSetting, int timeout) |
| get the parameters in the INTERVAL take-photo mode, blocking calls More... | |
| void | startRecordVideoAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| start to take video, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | startRecordVideoSync (int timeout) |
| start to take video, blocking calls More... | |
| void | stopRecordVideoAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| stop to take video, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | stopRecordVideoSync (int timeout) |
| stop to take video, blocking calls More... | |
| void | setModeAsync (WorkMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera working mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setModeSync (WorkMode mode, int timeout) |
| set camera working mode, blocking calls More... | |
| void | getModeAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, WorkMode workingMode, UserData userData), UserData userData) |
| get camera working mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getModeSync (WorkMode &workingMode, int timeout) |
| get camera working mode, blocking calls More... | |
| void | setFocusModeAsync (FocusMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera focus mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setFocusModeSync (FocusMode mode, int timeout) |
| get camera focus mode, blocking calls More... | |
| void | getFocusModeAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, FocusMode mode, UserData userData), UserData userData) |
| get camera focus mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getFocusModeSync (FocusMode &focusMode, int timeout) |
| get camera focus mode, blocking calls More... | |
| void | setFocusTargetAsync (TapFocusPosData tapFocusPos, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera tap focus target point, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setFocusTargetSync (TapFocusPosData tapFocusPos, int timeout) |
| set camera focus point, blocking calls More... | |
| void | getFocusTargetAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType, TapFocusPosData tapFocusPos, UserData userData), UserData userData) |
| get camera tap focus target point, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getFocusTargetSync (TapFocusPosData &tapFocusPos, int timeout) |
| get camera focus point, blocking calls More... | |
| void | startContinuousOpticalZoomAsync (zoomDirectionData zoomDirection, zoomSpeedData zoomSpeed, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| start camera optical zooming, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | startContinuousOpticalZoomSync (zoomDirectionData zoomDirection, zoomSpeedData zoomSpeed, int timeout) |
| start camera optical zooming, blocking calls More... | |
| ErrorCode::ErrorCodeType | setOpticalZoomFactorSync (float factor, int timeout) |
| set parameters for camera optical zooming, blocking calls More... | |
| ErrorCode::ErrorCodeType | getOpticalZoomFactorSync (float &factor, int timeout) |
| get parameters of camera optical zooming, blocking calls More... | |
| void | stopContinuousOpticalZoomAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| stop camera optical zooming, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | stopContinuousOpticalZoomSync (int timeout) |
| stop camera optical zooming, blocking calls More... | |
| void | setTapZoomEnabledAsync (bool param, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera tap zoom function parameters, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setTapZoomEnabledSync (bool param, int timeout) |
| set camera tap zoom parameters, blocking calls More... | |
| void | getTapZoomEnabledAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, bool param, UserData userData), UserData userData) |
| get camera tap zoom function parameters, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getTapZoomEnabledSync (bool ¶m, int timeout) |
| get camera tap zoom parameters, blocking calls More... | |
| void | setTapZoomMultiplierAsync (TapZoomMultiplierData param, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera tap zoom function parameters, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setTapZoomMultiplierSync (TapZoomMultiplierData param, int timeout) |
| set camera tap zoom parameters, blocking calls More... | |
| void | getTapZoomMultiplierAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, TapZoomMultiplierData param, UserData userData), UserData userData) |
| get camera tap zoom function parameters, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getTapZoomMultiplierSync (TapZoomMultiplierData ¶m, int timeout) |
| get camera tap zoom parameters, blocking calls More... | |
| void | tapZoomAtTargetAsync (TapZoomPosData tapZoomPos, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera tap zoom point, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | tapZoomAtTargetSync (TapZoomPosData tapZoomPos, int timeout) |
| set camera tap zoom point, blocking calls More... | |
| void | setExposureModeAsync (ExposureMode mode, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera exposure mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setExposureModeSync (ExposureMode mode, int timeout) |
| set camera exposure mode, blocking calls More... | |
| void | getExposureModeAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ExposureMode mode, UserData userData), UserData userData) |
| get camera exposure mode, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getExposureModeSync (ExposureMode &mode, int timeout) |
| get camera exposure mode, blocking calls More... | |
| void | setISOAsync (ISO iso, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera iso value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setISOSync (ISO iso, int timeout) |
| set camera iso value, blocking calls More... | |
| void | getISOAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType, ISO iso, UserData userData), UserData userData) |
| get camera iso value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getISOSync (ISO &iso, int timeout) |
| get camera iso value, blocking calls More... | |
| void | setApertureAsync (Aperture size, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera aperture size value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setApertureSync (Aperture size, int timeout) |
| set camera aperture size value, blocking calls More... | |
| void | getApertureAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType, Aperture size, UserData userData), UserData userData) |
| get camera aperture size value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getApertureSync (Aperture &size, int timeout) |
| get camera aperture size value, blocking calls More... | |
| void | setShutterSpeedAsync (ShutterSpeed shutterSpeed, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera shutter value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setShutterSpeedSync (ShutterSpeed shutterSpeed, int timeout) |
| set camera shutter value, blocking calls More... | |
| void | getShutterSpeedAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ShutterSpeed shutterSpeed, UserData userData), UserData userData) |
| get camera shutter value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getShutterSpeedSync (ShutterSpeed &shutterSpeed, int timeout) |
| get camera shutter value, blocking calls More... | |
| void | setExposureCompensationAsync (ExposureCompensation ev, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData) |
| set camera EV value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | setExposureCompensationSync (ExposureCompensation ev, int timeout) |
| set camera EV value, blocking calls More... | |
| void | getExposureCompensationAsync (void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, ExposureCompensation ev, UserData userData), UserData userData) |
| get camera EV value, non-blocking calls More... | |
| ErrorCode::ErrorCodeType | getExposureCompensationSync (ExposureCompensation &ev, int timeout) |
| get camera EV value, blocking calls More... | |
| ErrorCode::ErrorCodeType | obtainDownloadRightSync (bool enable, int timeout) |
| obtaion the download right from camera, blocking calls More... | |
| std::string | getCameraVersion () |
| std::string | getFirmwareVersion () |
| void | updateLensInfo (dji_camera_len_para_push data) |
| LensInfoPacketType | getLensInfo () |
| Public Member Functions inherited from DJI::OSDK::PayloadBase | |
| PayloadBase (Linker *linker, PayloadIndexType index, std::string name, bool enable) | |
| void | setEnable (bool en) |
| set the enable status of this payload module More... | |
| bool | getEnable () |
| get the enable status of this payload module More... | |
| PayloadIndexType | getIndex () |
| std::string | getName () |
| void | setName (std::string name) |
| Linker * | getLinker () |
Detailed Description
CameraModule of PayloadNode.
Member Typedef Documentation
◆ ExposureCompensationData
| typedef uint8_t DJI::OSDK::CameraModule::ExposureCompensationData |
Exposure compensation data type used by user.
◆ ExposureModeData
| typedef uint8_t DJI::OSDK::CameraModule::ExposureModeData |
Exposure mode data used by user.
◆ FocusModeData
| typedef uint8_t DJI::OSDK::CameraModule::FocusModeData |
Focus mode data used by user.
◆ ISOParamData
| typedef uint8_t DJI::OSDK::CameraModule::ISOParamData |
ISO data used by user.
ref to DJI::OSDK::CameraModule::ISO
◆ ShootPhotoModeData
| typedef uint8_t DJI::OSDK::CameraModule::ShootPhotoModeData |
Take photo mode data used by user.
◆ WorkModeData
| typedef uint8_t DJI::OSDK::CameraModule::WorkModeData |
CameraModule working mode data used by user.
Member Enumeration Documentation
◆ Aperture
CameraModule aperture values.
- Note
- X5, X5R, Z30, Phantom 4 Pro camera, X4S and X5S support this setting.
◆ ContiCapMode
◆ ExposureCompensation
CameraModule exposure compensation.
◆ ExposureMode
◆ FocusMode
@breif CameraModule focus mode. If the physical AF switch on the camera is set to auto.
◆ ISO
CameraModule ISO values.
◆ PhotoAEBCount
the photo action of INTERVAL shooting photo mode
◆ PhotoBurstCount
◆ ShootPhotoMode
The ShootPhoto mode itself can have several modes. The default value is SINGLE.
◆ ShutterMode
@breif CameraModule shutter mode.
| Enumerator | |
|---|---|
| SHUTTER_AUTO_MODE | The shutter mode of camera is automatical |
| SHUTTER_MANUAL_MODE | The shutter mode of camera is manual, the shutter speed setting is valid. |
◆ ShutterSpeed
CameraModule shutter speed values.
◆ WorkMode
CameraModule work modes.
◆ ZoomDirection
◆ ZoomSpeed
Member Function Documentation
◆ getApertureAsync()
| void DJI::OSDK::CameraModule::getApertureAsync | ( | void(*)(ErrorCode::ErrorCodeType, Aperture size, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera aperture size value, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- size used as an input param, camera aperture size, input limit see enum DJI::OSDK::CameraModule::ApertureSize
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getApertureSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getApertureSync | ( | Aperture & | size, |
| int | timeout | ||
| ) |
get camera aperture size value, blocking calls
- Parameters
-
size used as an output param, camera aperture size, input limit see enum DJI::OSDK::CameraModule::ApertureSize timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getExposureCompensationAsync()
| void DJI::OSDK::CameraModule::getExposureCompensationAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, ExposureCompensation ev, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera EV value, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- ev used as an input param, ev parameter value of camera, input limit see enum DJI::OSDK::CameraModule::EVParameter userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getExposureCompensationSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getExposureCompensationSync | ( | ExposureCompensation & | ev, |
| int | timeout | ||
| ) |
get camera EV value, blocking calls
- Parameters
-
ev used as an output param, ev parameter value of camera, input limit see enum DJI::OSDK::CameraModule::EVParameter timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getExposureModeAsync()
| void DJI::OSDK::CameraModule::getExposureModeAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, ExposureMode mode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera exposure mode, non-blocking calls
- Note
- The different exposure modes define whether Aperture, Shutter Speed, ISO can be set automatically or manually. Exposure compensation can be changed in all modes except Manual mode where it is not settable. X5, X5R, Phantom 4 Pro camera, X4S and X5S: Program Mode: Shutter: Auto Aperture: Auto ISO: Manual or Auto Shutter Priority: Shutter: Manual Aperture: Auto ISO: Manual or Auto Aperture Priority: Shutter: Auto Aperture: Manual ISO: Manual or Auto Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual All other cameras: Program Mode: Shutter: Auto Aperture: Fixed ISO: Auto Shutter Priority: Shutter: Manual Aperture: Fixed ISO: Auto Aperture Priority: NA Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- mode exposure mode, input limit see enum DJI::OSDK::CameraModule::ExposureMode
- userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getExposureModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getExposureModeSync | ( | ExposureMode & | mode, |
| int | timeout | ||
| ) |
get camera exposure mode, blocking calls
- Parameters
-
mode used as an output param,exposure mode, input limit see enum DJI::OSDK::CameraModule::ExposureMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getFocusModeAsync()
| void DJI::OSDK::CameraModule::getFocusModeAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, FocusMode mode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera focus mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- mode used as an input param, please see enum DJI::OSDK::CameraModule::FocusMode userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getFocusModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getFocusModeSync | ( | FocusMode & | focusMode, |
| int | timeout | ||
| ) |
get camera focus mode, blocking calls
- Parameters
-
focusMode used as an output param, camera focus mode, input limit see enum DJI::OSDK::CameraModule::FocusMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getFocusTargetAsync()
| void DJI::OSDK::CameraModule::getFocusTargetAsync | ( | void(*)(ErrorCode::ErrorCodeType, TapFocusPosData tapFocusPos, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera tap focus target point, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- tapFocusPos used as an input param, the param of tap focus, including x,y value userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getFocusTargetSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getFocusTargetSync | ( | TapFocusPosData & | tapFocusPos, |
| int | timeout | ||
| ) |
get camera focus point, blocking calls
- Parameters
-
tapFocusPos used as an output param, the param of tap focus, including x,y value timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getISOAsync()
| void DJI::OSDK::CameraModule::getISOAsync | ( | void(*)(ErrorCode::ErrorCodeType, ISO iso, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera iso value, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- iso used as an input param, camera iso, input limit see enum DJI::OSDK::CameraModule::ISOParameter
- userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getISOSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getISOSync | ( | ISO & | iso, |
| int | timeout | ||
| ) |
get camera iso value, blocking calls
- Parameters
-
iso used as an output param, camera iso, input limit see enum DJI::OSDK::CameraModule::ISOParameter timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getModeAsync()
| void DJI::OSDK::CameraModule::getModeAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, WorkMode workingMode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera working mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- mode used as an input param, please see enum DJI::OSDK::CameraModule::WorkMode
- userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getModeSync | ( | WorkMode & | workingMode, |
| int | timeout | ||
| ) |
get camera working mode, blocking calls
- Parameters
-
workingMode used as an output param, camera working mode, input limit see enum DJI::OSDK::CameraModule::WorkMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getOpticalZoomFactorSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getOpticalZoomFactorSync | ( | float & | factor, |
| int | timeout | ||
| ) |
get parameters of camera optical zooming, blocking calls
- Note
- It is only supported by X5, X5R and X5S camera on Osmo with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera, Z30 camera.
- In this interface, the zoom will set the zoom factor as the your target value.
- Parameters
-
factor zoom factor
- Returns
- ErrorCode::ErrorCodeType error code
◆ getPhotoAEBCountAsync()
| void DJI::OSDK::CameraModule::getPhotoAEBCountAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, PhotoAEBCount count, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get the burst count in the AEB take-photo mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- count burst photos count in the each AEB photo taking DJI::OSDK::CameraModule::PhotoAEBCount
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getPhotoAEBCountSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getPhotoAEBCountSync | ( | PhotoAEBCount & | count, |
| int | timeout | ||
| ) |
get the burst count in the AEB take-photo mode, blocking calls
- Parameters
-
count burst photos count in the each AEB photo taking DJI::OSDK::CameraModule::PhotoAEBCount timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getPhotoBurstCountAsync()
| void DJI::OSDK::CameraModule::getPhotoBurstCountAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, PhotoBurstCount count, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get the burst count in the Burst take-photo mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- count burst photos count in the each burst photo taking DJI::OSDK::CameraModule::PhotoBurstCount
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getPhotoBurstCountSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getPhotoBurstCountSync | ( | PhotoBurstCount & | count, |
| int | timeout | ||
| ) |
get the burst count in the Burst take-photo mode, blocking calls
- Parameters
-
count burst photos count in the each burst photo taking DJI::OSDK::CameraModule::PhotoBurstCount timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getPhotoIntervalDatasAsync()
| void DJI::OSDK::CameraModule::getPhotoIntervalDatasAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, PhotoIntervalData intervalSetting, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get the parameters in the INTERVAL take-photo mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- intervalSetting parameters in the INTERVAL take-photo mode, including photo number and time interval
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getPhotoIntervalDatasSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getPhotoIntervalDatasSync | ( | PhotoIntervalData & | intervalSetting, |
| int | timeout | ||
| ) |
get the parameters in the INTERVAL take-photo mode, blocking calls
- Parameters
-
intervalSetting parameters in the INTERVAL take-photo mode, including photo number and time interval timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getShootPhotoModeAsync()
| void DJI::OSDK::CameraModule::getShootPhotoModeAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, ShootPhotoMode takePhotoMode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get the shoot photo mode, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- takePhotoMode take photo mode, input limit see enum DJI::OSDK::CameraModule::ShootPhotoMode
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getShootPhotoModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getShootPhotoModeSync | ( | ShootPhotoMode & | takePhotoMode, |
| int | timeout | ||
| ) |
get the shoot photo mode, blocking calls
- Parameters
-
takePhotoMode take photo mode, input limit see enum DJI::OSDK::CameraModule::ShootPhotoMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getShutterSpeedAsync()
| void DJI::OSDK::CameraModule::getShutterSpeedAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, ShutterSpeed shutterSpeed, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera shutter value, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- shutter used as an input param, the shutter mode and param of camera, input limit see enum DJI::OSDK::CameraModule::ShutterMode userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getShutterSpeedSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getShutterSpeedSync | ( | ShutterSpeed & | shutterSpeed, |
| int | timeout | ||
| ) |
get camera shutter value, blocking calls
- Parameters
-
shutter used as an output param, the shutter mode and param of camera, input limit see enum DJI::OSDK::CameraModule::ShutterMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getTapZoomEnabledAsync()
| void DJI::OSDK::CameraModule::getTapZoomEnabledAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, bool param, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera tap zoom function parameters, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- param used as an input param, tap zoom enable data
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getTapZoomEnabledSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getTapZoomEnabledSync | ( | bool & | param, |
| int | timeout | ||
| ) |
get camera tap zoom parameters, blocking calls
- Parameters
-
param used as an output param, tap zoom enable data timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ getTapZoomMultiplierAsync()
| void DJI::OSDK::CameraModule::getTapZoomMultiplierAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, TapZoomMultiplierData param, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
get camera tap zoom function parameters, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- param used as an input param, tap zoom multiplier data
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ getTapZoomMultiplierSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::getTapZoomMultiplierSync | ( | TapZoomMultiplierData & | param, |
| int | timeout | ||
| ) |
get camera tap zoom parameters, blocking calls
- Parameters
-
param used as an output param, tap zoom multiplier data timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ obtainDownloadRightSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::obtainDownloadRightSync | ( | bool | enable, |
| int | timeout | ||
| ) |
obtaion the download right from camera, blocking calls
- Parameters
-
enable obtain the download right from the camera or not timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setApertureAsync()
| void DJI::OSDK::CameraModule::setApertureAsync | ( | Aperture | size, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera aperture size value, non-blocking calls
- Parameters
-
size camera aperture size, input limit see enum DJI::OSDK::CameraModule::ApertureSize UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setApertureSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setApertureSync | ( | Aperture | size, |
| int | timeout | ||
| ) |
set camera aperture size value, blocking calls
- Parameters
-
size camera aperture size, input limit see enum DJI::OSDK::CameraModule::ApertureSize timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setExposureCompensationAsync()
| void DJI::OSDK::CameraModule::setExposureCompensationAsync | ( | ExposureCompensation | ev, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera EV value, non-blocking calls
- Parameters
-
ev ev parameter value of camera, input limit see enum DJI::OSDK::CameraModule::EVParameter UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setExposureCompensationSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setExposureCompensationSync | ( | ExposureCompensation | ev, |
| int | timeout | ||
| ) |
set camera EV value, blocking calls
- Parameters
-
ev ev parameter value of camera, input limit see enum DJI::OSDK::CameraModule::EVParameter timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setExposureModeAsync()
| void DJI::OSDK::CameraModule::setExposureModeAsync | ( | ExposureMode | mode, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera exposure mode, non-blocking calls
- Note
- The different exposure modes define whether Aperture, Shutter Speed, ISO can be set automatically or manually. Exposure compensation can be changed in all modes except Manual mode where it is not settable. X5, X5R, Phantom 4 Pro camera, X4S and X5S: Program Mode: Shutter: Auto Aperture: Auto ISO: Manual or Auto Shutter Priority: Shutter: Manual Aperture: Auto ISO: Manual or Auto Aperture Priority: Shutter: Auto Aperture: Manual ISO: Manual or Auto Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual All other cameras: Program Mode: Shutter: Auto Aperture: Fixed ISO: Auto Shutter Priority: Shutter: Manual Aperture: Fixed ISO: Auto Aperture Priority: NA Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual
- Parameters
-
mode exposure mode, input limit see enum DJI::OSDK::CameraModule::ExposureMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setExposureModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setExposureModeSync | ( | ExposureMode | mode, |
| int | timeout | ||
| ) |
set camera exposure mode, blocking calls
- Parameters
-
mode exposure mode, input limit see enum DJI::OSDK::CameraModule::ExposureMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setFocusModeAsync()
| void DJI::OSDK::CameraModule::setFocusModeAsync | ( | FocusMode | mode, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera focus mode, non-blocking calls
- Parameters
-
mode camera focus mode, input limit see enum DJI::OSDK::CameraModule::FocusMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setFocusModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setFocusModeSync | ( | FocusMode | mode, |
| int | timeout | ||
| ) |
get camera focus mode, blocking calls
- Parameters
-
mode camera focus mode, input limit see enum DJI::OSDK::CameraModule::FocusMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setFocusTargetAsync()
| void DJI::OSDK::CameraModule::setFocusTargetAsync | ( | TapFocusPosData | tapFocusPos, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera tap focus target point, non-blocking calls
- Note
- Sets the lens focus mode. When the focus mode is auto, the target point is the focal point. When the focus mode is manual, the target point is the zoom out area if the focus assistant is enabled for the manual mode. Supported only by the X5, X5R, Z3 cameras, Mavic Pro camera, Phantom 4 Pro camera, Mavic 2 Pro, Mavic 2 Zoom Camera, Mavic 2 Enterprise Camera, X5S. It's should be attention that X4S will keep focus point as (0.5,0.5) all the time, the setting of focus point to X4S will quickly replaced by (0.5, 0.5).
- Parameters
-
tapFocusPos the param of tap focus, including x,y value UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setFocusTargetSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setFocusTargetSync | ( | TapFocusPosData | tapFocusPos, |
| int | timeout | ||
| ) |
set camera focus point, blocking calls
- Note
- Sets the lens focus mode. When the focus mode is auto, the target point is the focal point. When the focus mode is manual, the target point is the zoom out area if the focus assistant is enabled for the manual mode. Supported only by the X5, X5R, Z3 cameras, Mavic Pro camera, Phantom 4 Pro camera, Mavic 2 Pro, Mavic 2 Zoom Camera, Mavic 2 Enterprise Camera, X5S. It's should be attention that X4S will keep focus point as (0.5,0.5) all the time, the setting of focus point to X4S will quickly replaced by (0.5, 0.5).
- Parameters
-
tapFocusPos the param of tap focus, including x,y value timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setISOAsync()
| void DJI::OSDK::CameraModule::setISOAsync | ( | ISO | iso, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera iso value, non-blocking calls
- Parameters
-
iso camera iso, input limit see enum DJI::OSDK::CameraModule::ISOParameter UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setISOSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setISOSync | ( | ISO | iso, |
| int | timeout | ||
| ) |
set camera iso value, blocking calls
- Parameters
-
iso camera iso, input limit see enum DJI::OSDK::CameraModule::ISOParameter timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setModeAsync()
| void DJI::OSDK::CameraModule::setModeAsync | ( | WorkMode | mode, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera working mode, non-blocking calls
- Parameters
-
mode camera working mode, input limit see enum DJI::OSDK::CameraModule::WorkMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setModeSync | ( | WorkMode | mode, |
| int | timeout | ||
| ) |
set camera working mode, blocking calls
- Parameters
-
mode camera working mode, input limit see enum DJI::OSDK::CameraModule::WorkMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setOpticalZoomFactorSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setOpticalZoomFactorSync | ( | float | factor, |
| int | timeout | ||
| ) |
set parameters for camera optical zooming, blocking calls
- Note
- It is only supported by X5, X5R and X5S camera on Osmo with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera, Z30 camera.
- In this interface, the zoom will set the zoom factor as the your target value.
- Parameters
-
factor target zoom factor
- Returns
- ErrorCode::ErrorCodeType error code
◆ setPhotoAEBCountAsync()
| void DJI::OSDK::CameraModule::setPhotoAEBCountAsync | ( | PhotoAEBCount | count, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set the burst count in the AEB take-photo mode, non-blocking calls
- Parameters
-
count burst photos count in the each AEB photo taking DJI::OSDK::CameraModule::PhotoAEBCount UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setPhotoAEBCountSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setPhotoAEBCountSync | ( | PhotoAEBCount | count, |
| int | timeout | ||
| ) |
set the burst count in the AEB take-photo mode, blocking calls
- Parameters
-
count burst photos count in the each AEB photo taking DJI::OSDK::CameraModule::PhotoAEBCount timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setPhotoBurstCountAsync()
| void DJI::OSDK::CameraModule::setPhotoBurstCountAsync | ( | PhotoBurstCount | count, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set the burst count in the Burst take-photo mode, non-blocking calls
- Parameters
-
count burst photos count in the each burst photo taking DJI::OSDK::CameraModule::PhotoBurstCount UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setPhotoBurstCountSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setPhotoBurstCountSync | ( | PhotoBurstCount | count, |
| int | timeout | ||
| ) |
set the burst count in the Burst take-photo mode, blocking calls
- Parameters
-
count burst photos count in the each burst photo taking DJI::OSDK::CameraModule::PhotoBurstCount timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setPhotoTimeIntervalSettingsAsync()
| void DJI::OSDK::CameraModule::setPhotoTimeIntervalSettingsAsync | ( | PhotoIntervalData | intervalSetting, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set the parameters in the INTERVAL take-photo mode, non-blocking calls
- Parameters
-
intervalSetting parameters in the INTERVAL take-photo mode, including photo number and time interval UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setPhotoTimeIntervalSettingsSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setPhotoTimeIntervalSettingsSync | ( | PhotoIntervalData | intervalSetting, |
| int | timeout | ||
| ) |
set the parameters in the INTERVAL take-photo mode, blocking calls
- Parameters
-
intervalSetting parameters in the INTERVAL take-photo mode, including photo number and time interval timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setShootPhotoModeAsync()
| void DJI::OSDK::CameraModule::setShootPhotoModeAsync | ( | ShootPhotoMode | takePhotoMode, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set the shoot photo mode, non-blocking calls
- Parameters
-
takePhotoMode take photo mode, input limit see enum DJI::OSDK::CameraModule::ShootPhotoMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setShootPhotoModeSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setShootPhotoModeSync | ( | ShootPhotoMode | takePhotoMode, |
| int | timeout | ||
| ) |
set the shoot photo mode, blocking calls
- Parameters
-
takePhotoMode take photo mode, input limit see enum DJI::OSDK::CameraModule::ShootPhotoMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setShutterSpeedAsync()
| void DJI::OSDK::CameraModule::setShutterSpeedAsync | ( | ShutterSpeed | shutterSpeed, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera shutter value, non-blocking calls
- Parameters
-
shutter the shutter mode and param of camera, input limit see enum DJI::OSDK::CameraModule::ShutterMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ setShutterSpeedSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setShutterSpeedSync | ( | ShutterSpeed | shutterSpeed, |
| int | timeout | ||
| ) |
set camera shutter value, blocking calls
- Parameters
-
shutter the shutter mode and param of camera, input limit see enum DJI::OSDK::CameraModule::ShutterMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ setTapZoomEnabledAsync()
| void DJI::OSDK::CameraModule::setTapZoomEnabledAsync | ( | bool | param, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera tap zoom function parameters, non-blocking calls
- Parameters
-
param tap zoom enable data UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
It should be paid attention that, tap zoom have not getter API
◆ setTapZoomEnabledSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setTapZoomEnabledSync | ( | bool | param, |
| int | timeout | ||
| ) |
set camera tap zoom parameters, blocking calls
- Parameters
-
param tap zoom enable data timeout blocking timeout in seconds
It should be paid attention that, tap zoom have not getter API
- Returns
- ErrorCode::ErrorCodeType error code
◆ setTapZoomMultiplierAsync()
| void DJI::OSDK::CameraModule::setTapZoomMultiplierAsync | ( | TapZoomMultiplierData | param, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera tap zoom function parameters, non-blocking calls
- Parameters
-
param tap zoom multiplier data UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
It should be paid attention that, tap zoom have not getter API
◆ setTapZoomMultiplierSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::setTapZoomMultiplierSync | ( | TapZoomMultiplierData | param, |
| int | timeout | ||
| ) |
set camera tap zoom parameters, blocking calls
- Parameters
-
param tap multiplier enable data timeout blocking timeout in seconds
It should be paid attention that, tap zoom have not getter API
- Returns
- ErrorCode::ErrorCodeType error code
◆ startContinuousOpticalZoomAsync()
| void DJI::OSDK::CameraModule::startContinuousOpticalZoomAsync | ( | zoomDirectionData | zoomDirection, |
| zoomSpeedData | zoomSpeed, | ||
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
start camera optical zooming, non-blocking calls
- Parameters
-
zoomDirection optical zoom direction, ref to DJI::OSDK::CameraModule::ZoomDirection zoomSpeed optical zoom direction, ref to DJI::OSDK::CameraModule::ZoomSpeed UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ startContinuousOpticalZoomSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::startContinuousOpticalZoomSync | ( | zoomDirectionData | zoomDirection, |
| zoomSpeedData | zoomSpeed, | ||
| int | timeout | ||
| ) |
start camera optical zooming, blocking calls
- Parameters
-
zoomDirection optical zoom direction, ref to DJI::OSDK::CameraModule::ZoomDirection zoomSpeed optical zoom direction, ref to DJI::OSDK::CameraModule::ZoomSpeed timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ startRecordVideoAsync()
| void DJI::OSDK::CameraModule::startRecordVideoAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
start to take video, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ startRecordVideoSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::startRecordVideoSync | ( | int | timeout | ) |
start to take video, blocking calls
- Parameters
-
timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ startShootPhotoAsync()
| void DJI::OSDK::CameraModule::startShootPhotoAsync | ( | ShootPhotoMode | mode, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
start to shoot photo, non-blocking calls
- Parameters
-
mode take photo mode, input limit see enum DJI::OSDK::CameraModule::TakePhotoMode UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ startShootPhotoSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::startShootPhotoSync | ( | ShootPhotoMode | mode, |
| int | timeout | ||
| ) |
start to shoot photo, blocking calls
- Parameters
-
mode take photo mode, input limit see enum DJI::OSDK::CameraModule::TakePhotoMode timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ stopContinuousOpticalZoomAsync()
| void DJI::OSDK::CameraModule::stopContinuousOpticalZoomAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
stop camera optical zooming, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ stopContinuousOpticalZoomSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::stopContinuousOpticalZoomSync | ( | int | timeout | ) |
stop camera optical zooming, blocking calls
- Parameters
-
timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ stopRecordVideoAsync()
| void DJI::OSDK::CameraModule::stopRecordVideoAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
stop to take video, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ stopRecordVideoSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::stopRecordVideoSync | ( | int | timeout | ) |
stop to take video, blocking calls
- Parameters
-
timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ stopShootPhotoAsync()
| void DJI::OSDK::CameraModule::stopShootPhotoAsync | ( | void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, |
| UserData | userData | ||
| ) |
stop to shoot photo, non-blocking calls
- Parameters
-
UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ stopShootPhotoSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::stopShootPhotoSync | ( | int | timeout | ) |
stop to shoot photo, blocking calls
- Parameters
-
timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
◆ tapZoomAtTargetAsync()
| void DJI::OSDK::CameraModule::tapZoomAtTargetAsync | ( | TapZoomPosData | tapZoomPos, |
| void(*)(ErrorCode::ErrorCodeType retCode, UserData userData) | UserCallBack, | ||
| UserData | userData | ||
| ) |
set camera tap zoom point, non-blocking calls
- Parameters
-
tapZoomPos the param of tap zoom, including x,y value UserCallBack callback function defined by user - retCode is the ErrorCode::ErrorCodeType error code
- userData the interface to pass userData in when the callback is called
userData when UserCallBack is called, used in UserCallBack
◆ tapZoomAtTargetSync()
| ErrorCode::ErrorCodeType DJI::OSDK::CameraModule::tapZoomAtTargetSync | ( | TapZoomPosData | tapZoomPos, |
| int | timeout | ||
| ) |
set camera tap zoom point, blocking calls
- Parameters
-
tapZoomPos the param of tap zoom, including x,y value timeout blocking timeout in seconds
- Returns
- ErrorCode::ErrorCodeType error code
The documentation for this class was generated from the following file:
- osdk-core/modules/inc/payload/dji_camera_module.hpp


{% macro banner(beta, alpha, hmrc, signedIn) %} {% if beta %}
BETA This is a new service – your feedback will help us to improve it.
ALPHA This is a new service – your feedback will help us to improve it.
HM Revenue & Customs
Firstname Lastname, you last signed in 12:34pm, Monday 5 June 2017


{% extends "base.html" %} {% load static %} {% block content %}
new
No user groups have been created yet.


Across: 1. Stalker upsets Poe the writer (8) 5. Victoria wasn’t employed after the morning (6) 9. Bad reaction to everything! (8) 10. Bad smells from washbasins around West End (6) 12. Artist, 49, comes back with storyteller (4) 13. Intercept diamonds at the top! (4 6) 15. Sound of vicar spilling beer allowance (13) 19. Mexican Tom takes cue into bar (13) 23. Hot crew need to be more intense (10) 25. This is obtained from nameless uncle (4) 28. One French goat turns out to be sweet (6) 29. Repeated words and afterthoughts are things to be avoided! (8) 30. Revolutionary female outfit for fiddlers (6) 31. Now the man has split from follower (8) Down: 1. Stimulate credit with the French (6) 2. Time after work is for entertainment (5) 3. See, Eliot, there’s plenty! (4) 4. Returning leader has look round for trailblazer (7) 6. Recurring idea to get back Lewis Hamilton’s cat? (5) 7. Compassionate Stevie’s in disarray! (9) 8. Makes out records about eastern fleet (8) 11. Move carefully to gain advantage (4) 14. Egg on victorious Uxbridge militants initially (4) 15. Honesty displayed by tired cute characters (9) 16. Prohibit Lancelot’s dad? (3) 17. Jelly found in bag arriving at Heathrow (4) 18. Chic name for skilled worker (8) 20. Takes advantage of Sue and Bob (4) 21. Country store (7) 22. Journalist’s in section that’s flat (6) 24. Warmth right inside the centre (5) 26. Rent out meadowland around London (5) 27. Oldest yeti may have had eye problem (4)


--- layout: post author: adi-bolb authorname: Adi Bolboaca title: Taking Baby Steps preview: I wrote a post on the history of Taking Baby Steps, you can read it here. ---
I wrote a post on the history of Taking Baby Steps, you can read it here.
Now I would like to tell you more about the workshop and the technique itself. While coding, for me it is very important to be focused on one idea. Why? Because this is how programmer mistakes appear in the code; some people tell them bugs. The other thing I am interested in is to have an undo button for every change.
The rules are the following:
Steps
Setup source control repository.
Setup a timer for 2 minutes interval when you start.
Write exactly one test
If the timer rings and the test is red then revert and start over.
If the test is green before timer rings then commit.
Restart timer (no discussions in between timers)
Refactor
If the timer rings and the refactoring is not complete then revert and start over.
If the refactoring is complete before the timer rings then commit.
Restart the timer (no discussions in between timers)
Go to 3.
When session time is up delete the code.
You can read more on my blog: Taking Baby Steps.


This
VDD sample implements serial port support for the Virtual DOS Machine (VDM)
under Microsoft® Windows NT®/Windows® 2003.
The Windows NT/Windows
2003 VDM has a built-in Virtual Device Driver for serial communications, so
this sample driver is completely redundant. It illustrates how serial support
might have been implemented using Win32 and the Windows NT DDK. This sample is
based in part on the built-in serial driver, but it has been significantly
modified and works differently. You should not rely on any feature of this
driver when writing serial I/O code that might be used under Windows NT.
To
install this VDD, use regedit to modify HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers\VDD
to include ddkroot\lib\*\com_vdd.dll from your DDK
tree. Shut down and restart Windows 2003 to let this change take effect.
Note: Once you install the DLL as a
VDD, you can only modify (rebuild) it when no VDMs
are running. Use regedit to uninstall the VDD from
HKEY_LOCAL_MACHINE\...\VDD if you want to use the built-in serial support.
An optional feature of a VDD
is the direct dispatch function. Your application can call this function
directly instead of through the I/O instruction trap. A sample direct dispatch
function is included (VDDDispatch), but it has not
been completed or tested at this time. You may use it as a guide, but be aware
of its status. Also, there is no equivalent to this function in the built-in
serial support.
The code is split into
three modules. The first module (Com_vdd.c) is the
VDD interface. This holds the code to install the VDM hooks and initialize the
virtual UARTs, and to close and release them. The
second module (Pc_com.c) implements the DOS interface
to the virtual UARTs. It handles IN and OUT
instructions to the UART ports and generates simulated interrupts as appropriate.
The final module (Nt_com.c) implements the interface
to Win32.
Unlike the built-in
serial support, there is no provision for this VDD to ever release the serial
port once it is used. As long as the VDM remains active, you will be able to
access the serial port from it, but otherwise the serial port is locked out.
You should consider whether this is the way you want your VDD to act, and how
you might deal with this problem. One option would be to dynamically load and
unload your VDD rather than installing it permanently.
This VDD is
multithreaded. Besides the thread that executes the DOS code, there is a thread
that monitors the serial port status and an optional thread for transmit
buffering. Multithreading is one way you can get better performance and reduce
the drag on other apps.
Transmit buffering is an
example of how this works. Through testing, it was found that byte transmission
offered the most room for improvement. Each transmitted byte was being output
using a WriteFile call. The overhead can be reduced
by collecting several bytes into a buffer before doing the WriteFile.
A separate transmit thread helps this work by delaying the actual write for a
few milliseconds while trying to fill the buffer.
Transmit buffering also
shows an example of how queues can be implemented using Win32. Queues are not
supported directly by Win32, but they are easy to implement using a mutual
exclusion object and a semaphore object. The TX_enqueue
and TX_dequeue functions and TX_queue
structure show one way to do this.
Overlapped I/O is another
point that this VDD illustrates well. Under Win32 you must specify overlapped
I/O or any file operation will block all others until it completes. For serial
communications this includes WaitCommEvent as well as
ReadFile and WriteFile. In
the VDD this would have prevented any reads or writes while the status
monitoring thread was waiting for a comm event. See
the wait_comm, read_comm
and write_comm routines for details.
A CRITICAL_SECTION object
is used to control access to the UART state. This allows the status monitoring
thread to update the virtual UART state asynchronously. A Mutex
object could have been used as with the transmit buffers, but a critical
section is more appropriate in this context.
|
|
© 2004 Microsoft
Corporation


Create
Create a new certificate for your server. Simply specify the desired domain name and download the certificate and key.
title: Main ----
Certificate Manager provides a convenient way to create and, optionally for the Kubernetes cluster, deploy certificates for internal or non-production use.
Create a new certificate for your server. Simply specify the desired domain name and download the certificate and key.


Mini websites developed
The Veggie Patch
Floating an image
Floating menu list
3 column floats
Flexbox
Form with flexbox


SpaceFlex offers various plans suitable for anybody, ranging from plan with very little space to very huge plans. You can also upgrade your plan at any time, if you think the current hosting package you have is too small..
Create AccountIt is a long established fact that a reader will be distracted by the readable content of a page
-Art Director
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type...
-Art Director
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type...
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunnon cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moo tempor, sunt aliqua put a bird on it
Lorem ipsum dolor sit amet, co zansectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.


This is Chipster web-server. It is a simple web server for serving the files of the client app. It has no purpose in a development installation, where you want to serve the client files with ng serve (by default in port 4200). In a server installation you should replace this file with compiled client files in the web-root directory (served by default in port 8000).


If you're familiar with Blaze / Bazel, Buck or Pants you will probably find Please very familiar. Otherwise, don't worry, it's not very complicated...
Please targets are defined in files named BUILD. These are analogous to
Makefiles in that they define buildable targets for that directory.
Fortunately, they do so in a rather nicer syntax.
We refer to a directory containing a BUILD file as a package.
For more information on the format of BUILD files, read the language specification here.
Each BUILD file can contain a number of build targets. These are units of buildable code which can be reused by other build targets. An example is probably worth 1000 words at this point:
python_library(
name = 'my_library',
srcs = ['file1.py', 'file2.py'],
)
python_binary(
name = 'my_binary',
main = 'my_main.py',
deps = [':my_library'],
)
python_test(
name = 'my_library_test',
srcs = ['my_library_test.py'],
deps = [':my_library'],
)
java_library(
name = 'my_library',
srcs = ['File1.java', 'File2.java'],
)
java_binary(
name = 'my_binary',
main = 'Main.java',
deps = [':my_library'],
)
java_test(
name = 'my_library_test',
srcs = ['MyLibraryTest.java'],
deps = [':my_library'],
)
go_library(
name = 'my_library',
srcs = ['file1.go', 'file2.go'],
)
go_binary(
name = 'my_binary',
main = 'main.go',
deps = [':my_library'],
)
go_test(
name = 'my_library_test',
srcs = ['my_library_test.go'],
deps = [':my_library'],
)
c_library(
name = 'my_library',
srcs = ['file1.c', 'file2.c'],
hdrs = ['file1.h'],
)
c_binary(
name = 'my_binary',
main = 'main.c',
deps = [':my_library'],
)
c_test(
name = 'my_library_test',
srcs = ['my_library_test.c'],
deps = [':my_library'],
)
cc_library(
name = 'my_library',
srcs = ['file1.cpp', 'file2.cpp'],
hdrs = ['file1.hpp'],
)
cc_binary(
name = 'my_binary',
main = 'main.cpp',
deps = [':my_library'],
)
cc_test(
name = 'my_library_test',
srcs = ['my_library_test.cpp'],
deps = [':my_library'],
)
This snippet defines three build targets; a build target is simply a thing
that can be built by Please and typically appears as a single object in the
build file (as the
python_library
,
python_binary
and
python_test
are above).
my_library
is simply a collection of
file1.py
and
file2.py
.my_binary
creates a deployable Python binary
with an entry point in my_main.py
.my_library
since it will use it
internally.
my_library_test
defines a test on
my_library
. Tests are run by Please and their
results are aggregated.
This illustrates the core points of Please; every rule clearly defines its inputs - its own sources and its dependencies - and since these are known Please can be aggressive about parallelising, caching and reusing build artifacts.
Let's assume the build rules given above are defined in a file in your repo named package/BUILD. You can do the following:
plz build //package:my_library
builds the
library. This isn't drastically useful on its own, of course...
plz build //package:my_binary
builds the
binary and all needed libraries that it depends on. That produces a
single output file which you could copy to another machine.
plz run //package:my_binary
builds and runs
the binary immediately.
plz test //package:my_library_test
builds and
runs the test and shows you the results.
That brings us to the topic of build labels, which are identifiers
of build targets. As you've just seen, these are of the form
//package:target
, where
package
is the path from the repo root to that
package, and target
is the name of the target
within that package.
This is the most common form to identify targets absolutely, but there is
also a convenient shorthand where we omit the part before the colon (as you
saw earlier as well) to refer to a target within the current package.
The convention is to use
lower_case_with_underscores
for both package names
and target names.
This is not just for looks; in many languages (eg. Python) the file path
appears within the source files, and so it's important to choose something
that's a valid lexical identifier.
There are also some special pseudo-labels:
//mypackage:all
refers to all targets in
'mypackage'.
//mypackage/...
refers to all targets in
'mypackage' and anywhere beneath it in the filesystem.
Build targets can't use these as dependencies; these are primarily for using
on the command line or in the visibility specification for a target.
The special pseudo-label PUBLIC
is equivalent to
//...
in visibility specifications.
You may have noticed that the invocations in BUILD files look a bit like function calls. This is not coincidence; it is not just a declarative language, it's also a scripting language that allows you to programmatically create targets. For example, let's say you want to translate your documentation to a bunch of languages:
for language in ['en_NZ', 'en_GB', 'it_IT', 'es_MX', 'el_GR']:
lang_docs = genrule(
name = 'txt_documentation_' + language,
srcs = ['docs.txt'],
outs = [f'docs_{language}.txt'],
tools = ['//tools:translate_tool'],
cmd = f'$TOOL -i $SRC --language {language} > "$OUT"',
)
genrule(
name = 'documentation_' + language,
srcs = [lang_docs],
outs = [f'docs_{language}.html'],
tools = ['//tools:html_doc_tool'],
cmd = '$TOOL --src $SRC --out "$OUT"',
visibility = ['PUBLIC'],
)
Obviously this would be a bit repetitive if you redefined the rules separately for each language. Instead, we can take advantage of the build language to genericise them across languages; for each language we translate it and then format it as HTML.
The language itself shares some similarity to Python so it should feel familiar to many people. There is a complete description of it available if you're curious about more details.


Dashboard
Category
List Category
Add Category
Product
List Product
Add Product
User
List User
Add User


We're always ready to help
Got a question? Ask away.
Send us a message and we'll get back to you within 24 hours. If not sooner
Send your question
FAQS
Find your answer here.
What is Hiderband?
Does Hiber have its own satellite constellation?
What does the service cost?
Read all faqs


{{suggestion.title}}
Upvotes: {{suggestion.upvotes}}
Date Added: {{suggestion.date | date:"MMM d 'at' HH:mm"}}


Creativity App
Dashboard
User
User
Favorite Restaurant
Favorite Food
Restaurant
Restaurant
Comment
Service
Publicity
Food
Order
Photos
Message
Food
Order
Publicity
Service
Toggle navigation
Welcome {{ name }}
Stats
5
Notifications
Notification 1
Notification 2
Notification 3
Notification 4
Another notification
Sign Out