pub type CameraSettings = CameraSettings;Expand description
Originally defined in common::messages::camera_settings.
Aliased Type§
pub struct CameraSettings {
pub time_boot_ms: u32,
pub mode_id: CameraMode,
pub zoom_level: f32,
pub focus_level: f32,
pub camera_device_id: u8,
}Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
mode_id: CameraModeMAVLink field mode_id.
Camera mode
zoom_level: f32MAVLink field zoomLevel.
Current zoom level as a percentage of the full range (0.0 to 100.0, NaN if not known)
focus_level: f32MAVLink field focusLevel.
Current focus level as a percentage of the full range (0.0 to 100.0, NaN if not known)
camera_device_id: u8MAVLink field camera_device_id.
Camera id of a non-MAVLink camera attached to an autopilot (1-6). 0 if the component is a MAVLink camera (with its own component id).