Camera2 feature#

command messageolympe.messages.camera2.Command.Configure(camera_id, config, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.GetState(camera_id, include_default_capabilities, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
  • camera_id (u64) –

  • include_default_capabilities (bool) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.ListCameras(model_filter, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

Message documentation example. This is a reference to an other message CameraList().

Parameters

model_filter (list(olympe.enums.camera2.CameraModel)) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.LockExposure(camera_id, mode, roi, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.LockWhiteBalance(camera_id, mode, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.ResetZoom(camera_id, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters

camera_id (u64) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.SetMediaMetadata(camera_id, metadata, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.SetZoomTarget(camera_id, control_mode, target, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.StartPhoto(camera_id, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters

camera_id (u64) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.StartRecording(camera_id, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters

camera_id (u64) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.StopPhoto(camera_id, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters

camera_id (u64) –

Supported by:
Anafi Ai

with an up to date firmware

command messageolympe.messages.camera2.Command.StopRecording(camera_id, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#
Parameters

camera_id (u64) –

Supported by:
Anafi Ai

with an up to date firmware

event messageolympe.messages.camera2.Event.CameraList(cameras=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters

cameras (list(olympe.messages.camera2.Event.CameraList.CamerasEntry())) –

Supported by:
Anafi Ai

with an up to date firmware

messageCamerasEntry(key=None, value=None, _float_tol=(1e-07, 1e-09))#
Parameters
event messageolympe.messages.camera2.Event.Exposure(camera_id=None, shutter_speed=None, iso_sensitivity=None, exposure_lock_region=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

event messageolympe.messages.camera2.Event.NextPhotoInterval(camera_id=None, mode=None, interval=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

event messageolympe.messages.camera2.Event.Photo(camera_id=None, type=None, media_id=None, stop_reason=None, resource_id=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

event messageolympe.messages.camera2.Event.Recording(camera_id=None, type=None, media_id=None, stop_reason=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

event messageolympe.messages.camera2.Event.State(camera_id=None, active=None, default_capabilities=None, current_capabilities=None, config=None, photo=None, recording=None, white_balance_lock=None, exposure_lock=None, zoom=None, media_metadata=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
Supported by:
Anafi Ai

with an up to date firmware

messageExposureLock(supported_modes=None, mode=None, _float_tol=(1e-07, 1e-09))#
Parameters
messagePhoto(state=None, start_timestamp=None, photo_count=None, storage=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageRecording(state=None, start_timestamp=None, video_bitrate=None, storage=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageWhiteBalanceLock(supported_modes=None, mode=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageZoom(zoom_level_max=None, zoom_high_quality_level_max=None, _float_tol=(1e-07, 1e-09))#
Parameters
  • zoom_level_max (double) –

  • zoom_high_quality_level_max (double) –

event messageolympe.messages.camera2.Event.ZoomLevel(camera_id=None, level=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#
Parameters
  • camera_id (u64) –

  • level (double) –

Supported by:
Anafi Ai

with an up to date firmware

messageolympe.messages.camera2.Capabilities(rules=None, _float_tol=(1e-07, 1e-09))#
Parameters

rules (list(olympe.messages.camera2.Capabilities.Rule())) –

messageRule(index=None, camera_modes=None, photo_modes=None, photo_dynamic_ranges=None, photo_resolutions=None, photo_formats=None, photo_file_formats=None, photo_burst_values=None, photo_bracketing_presets=None, photo_time_lapse_interval_range=None, photo_gps_lapse_interval_range=None, photo_streaming_modes=None, video_recording_modes=None, video_recording_dynamic_ranges=None, video_recording_codecs=None, video_recording_resolutions=None, video_recording_framerates=None, audio_recording_modes=None, exposure_modes=None, exposure_manual_shutter_speeds=None, exposure_manual_iso_sensitivities=None, exposure_maximum_iso_sensitivities=None, white_balance_modes=None, white_balance_temperatures=None, ev_compensations=None, image_styles=None, image_contrast_range=None, image_saturation_range=None, image_sharpness_range=None, zoom_max_speed_range=None, zoom_velocity_control_quality_modes=None, auto_record_modes=None, alignment_offset_pitch_range=None, alignment_offset_roll_range=None, alignment_offset_yaw_range=None, photo_signatures=None, exposure_meterings=None, storage_policies=None, video_recording_bitrates=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageolympe.messages.camera2.Config(camera_mode=None, photo_mode=None, photo_dynamic_range=None, photo_resolution=None, photo_format=None, photo_file_format=None, photo_burst_value=None, photo_bracketing_preset=None, photo_time_lapse_interval=None, photo_gps_lapse_interval=None, photo_streaming_mode=None, video_recording_mode=None, video_recording_dynamic_range=None, video_recording_codec=None, video_recording_resolution=None, video_recording_framerate=None, audio_recording_mode=None, exposure_mode=None, exposure_manual_shutter_speed=None, exposure_manual_iso_sensitivity=None, exposure_maximum_iso_sensitivity=None, white_balance_mode=None, white_balance_temperature=None, ev_compensation=None, image_style=None, image_contrast=None, image_saturation=None, image_sharpness=None, zoom_max_speed=None, zoom_velocity_control_quality_mode=None, auto_record_mode=None, alignment_offset_pitch=None, alignment_offset_roll=None, alignment_offset_yaw=None, photo_signature=None, exposure_metering=None, storage_policy=None, video_recording_bitrate=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageolympe.messages.camera2.DoubleRange(min=None, max=None, _float_tol=(1e-07, 1e-09))#
Parameters
  • min (double) –

  • max (double) –

messageolympe.messages.camera2.ExposureRoi(center=None, width=None, height=None, _float_tol=(1e-07, 1e-09))#
Parameters
messageCenter(x=None, y=None, _float_tol=(1e-07, 1e-09))#
Parameters
  • x (double) –

  • y (double) –

messageolympe.messages.camera2.MediaMetadata(copyright=None, custom_id=None, custom_title=None, _float_tol=(1e-07, 1e-09))#
Parameters
  • copyright (string) –

  • custom_id (string) –

  • custom_title (string) –

enumolympe.enums.camera2.AudioRecordingMode#

This is an enum documentation example.

mute
drone
enumolympe.enums.camera2.AutoRecordMode#
disabled
flight
enumolympe.enums.camera2.BracketingPreset#
1ev
2ev
3ev
1ev_2ev
1ev_3ev
2ev_3ev
1ev_2ev_3ev
enumolympe.enums.camera2.BurstValue#
14_over_4s
14_over_2s
14_over_1s
10_over_4s
10_over_2s
10_over_1s
4_over_4s
4_over_2s
4_over_1s
enumolympe.enums.camera2.CameraMode#
photo
recording
enumolympe.enums.camera2.CameraModel#
main
enumolympe.enums.camera2.DigitalSignature#
none
drone
enumolympe.enums.camera2.DynamicRange#
standard
hdr8
hdr10
enumolympe.enums.camera2.EvCompensation#
minus_3_00
minus_2_67
minus_2_33
minus_2_00
minus_1_67
minus_1_33
minus_1_00
minus_0_67
minus_0_33
0_00
0_33
0_67
1_00
1_33
1_67
2_00
2_33
2_67
3_00
enumolympe.enums.camera2.ExposureLockMode#
unlocked
full_lock
roi_lock
enumolympe.enums.camera2.ExposureMetering#
standard
center_top
enumolympe.enums.camera2.ExposureMode#
automatic
automatic_prefer_iso_sensitivity
automatic_prefer_shutter_speed
manual_iso_sensitivity
manual_shutter_speed
manual
enumolympe.enums.camera2.Framerate#
24
25
30
48
50
60
96
100
120
enumolympe.enums.camera2.ImageStyle#
custom
standard
plog
intense
pastel
photogrammetry
enumolympe.enums.camera2.IsoSensitivity#
25
50
64
80
100
125
160
200
250
320
400
500
640
800
1000
1200
1600
2000
2500
3200
4000
5000
6400
8000
10000
12800
16000
20000
25600
32000
40000
51200
enumolympe.enums.camera2.PhotoEvent#
start
taking_photo
stop
enumolympe.enums.camera2.PhotoFileFormat#
jpeg
dng_jpeg
enumolympe.enums.camera2.PhotoFormat#
full_frame
rectilinear
full_frame_stabilized
enumolympe.enums.camera2.PhotoMode#
single
bracketing
burst
time_lapse
gps_lapse
enumolympe.enums.camera2.PhotoResolution#
48_mega_pixels
12_mega_pixels
enumolympe.enums.camera2.PhotoState#
unavailable
inactive
active
enumolympe.enums.camera2.PhotoStopReason#
user_request
capture_done
configuration_change
internal_error
insufficient_storage_space
enumolympe.enums.camera2.PhotoStreamingMode#
interrupt
continuous
enumolympe.enums.camera2.RecordingEvent#
start
stop
stopping
enumolympe.enums.camera2.RecordingState#
unavailable
inactive
active
enumolympe.enums.camera2.RecordingStopReason#
user_request
configuration_change
internal_error
insufficient_storage_space
insufficient_storage_speed
enumolympe.enums.camera2.ShutterSpeed#
1_over_10000
1_over_8000
1_over_6400
1_over_5000
1_over_4000
1_over_3200
1_over_2500
1_over_2000
1_over_1600
1_over_1250
1_over_1000
1_over_800
1_over_640
1_over_500
1_over_400
1_over_320
1_over_240
1_over_200
1_over_160
1_over_120
1_over_100
1_over_80
1_over_60
1_over_50
1_over_40
1_over_30
1_over_25
1_over_15
1_over_10
1_over_8
1_over_6
1_over_4
1_over_3
1_over_2
1_over_1_point_5
1
enumolympe.enums.camera2.StoragePolicy#
auto
internal
removable
enumolympe.enums.camera2.StorageType#
internal
removable
enumolympe.enums.camera2.VideoCodec#
h264
h265
enumolympe.enums.camera2.VideoRecordingMode#
standard
enumolympe.enums.camera2.VideoResolution#
reserved
2160p
1080p
enumolympe.enums.camera2.WhiteBalanceLockMode#
unlocked
locked
enumolympe.enums.camera2.WhiteBalanceMode#
custom
automatic
candle
sunset
incandescent
warm_white_fluorescent
halogen
fluorescent
cool_white_fluorescent
flash
daylight
sunny
cloudy
snow
hazy
shaded
green_foliage
blue_sky
enumolympe.enums.camera2.WhiteBalanceTemperature#
1500
1750
2000
2250
2500
2750
3000
3250
3500
3750
4000
4250
4500
4750
5000
5250
5500
5750
6000
6250
6500
6750
7000
7250
7500
7750
8000
8250
8500
8750
9000
9250
9500
9750
10000
10250
10500
10750
11000
11250
11500
11750
12000
12250
12500
12750
13000
13250
13500
13750
14000
14250
14500
14750
15000
enumolympe.enums.camera2.ZoomControlMode#
level
velocity
enumolympe.enums.camera2.ZoomVelocityControlQualityMode#
allow_degradation
stop_before_degradation