camera

Overall camera control

Request Type URL
POST /api/v1/camera/<camera_action>

camera_action

Option DJI Zenmuse Description
reset Any Reset Zenmuse camera settings
trigger_ffc XT Trigger flat-field correction manually

Sample Request

POST http://localhost:8123/api/v1/camera/reset

Sample Response

Status code: 200

{
  "success": true
}

Camera status

Return current values of camera settings.

Request Type URL DJI Zenmuse
GET /api/v1/camera X3, Z3, XT

JSON Response

Parameter Type DJI Zenmuse Description
сolor string X3, XT, Z3 See color API description
color_system string X3, XT, Z3 See color_system API description
color_temperature number X3, Z3 See color_temperature API description
digital_zoom number Z3 Current value of digital zoom
exposure_mode string X3, Z3 See exposure_mode API description
ev number X3, Z3 See ev API description
ffc_mode string XT See ffc_mode API description
image_format string X3, XT, Z3 See image_format API description
iso number X3, Z3 See iso API description
isotherm string XT See isotherm API description
isotherm_lower number XT See isotherm_lower API description
isotherm_units string XT See isotherm_units API description
isotherm_middle number XT See isotherm_middle API description
isotherm_upper number XT See isotherm_upper API description
gain_mode string XT See gain_mode API description
magnification number XT See magnification API description
measure_temperature string XT See measure_temperature API description
mode string X3, XT, Z3 See mode API description
roi string XT See roi API description
scene string XT See scene API description
scene_ace number XT See scene_ace API description
scene_brightness number XT See scene_brightness API description
scene_contrast number XT See scene_contrast API description
scene_dde number XT See scene_dde API description
scene_sso number XT See scene_sso API description
shutter string X3, Z3 See shutter API description
temperature number XT Current value of measured temperature
video_format string X3, Z3 See video_format API description
video_size string X3, Z3 See video_size API description
white_balance string X3, Z3 See white_balance API description

Sample Request

GET http://localhost:8123/api/v1/camera

Sample Response

Status code: 200

/* DJI Zenmuse XT */
{
  "color": "none",
  "color_system": "ntsc",
  "image_format": "jpeg",
  "mode": "video",
  "ffc_mode": "auto",
  "isotherm": "on",
  "isotherm_units": "percentage",
  "isotherm_lower": 90,
  "isotherm_middle": 95,
  "isotherm_upper": 100,
  "gain_mode": "auto",
  "magnification": 2.0,
  "measure_temperature": "on",
  "roi": "full",
  "scene": "default",
  "scene_ace": 1,
  "scene_brightness": 5000,
  "scene_contrast": 111,
  "scene_dde": 33,
  "scene_sso": 75,
  "temperature": 25
}

← attitude | color →