pub struct CameraCaptureStatus {
pub time_boot_ms: u32,
pub image_status: u8,
pub video_status: u8,
pub image_interval: f32,
pub recording_time_ms: u32,
pub available_capacity: f32,
pub image_count: i32,
pub camera_device_id: u8,
}Expand description
MAVLink CAMERA_CAPTURE_STATUS message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Information about the status of a capture. Can be requested with a MAV_CMD_REQUEST_MESSAGE command.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
CameraCaptureStatus (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
image_status: u8MAVLink field image_status.
Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress)
video_status: u8MAVLink field video_status.
Current status of video capturing (0: idle, 1: capture in progress)
image_interval: f32MAVLink field image_interval.
Image capture interval
recording_time_ms: u32MAVLink field recording_time_ms.
Elapsed time since recording started (0: Not supported/available). A GCS should compute recording time and use non-zero values of this field to correct any discrepancy.
available_capacity: f32MAVLink field available_capacity.
Available storage capacity.
image_count: i32MAVLink field image_count.
Total number of images captured (‘forever’, or until reset using MAV_CMD_STORAGE_FORMAT).
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).
Implementations§
Source§impl CameraCaptureStatus
impl CameraCaptureStatus
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for CameraCaptureStatus
impl Clone for CameraCaptureStatus
Source§fn clone(&self) -> CameraCaptureStatus
fn clone(&self) -> CameraCaptureStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CameraCaptureStatus
impl Debug for CameraCaptureStatus
Source§impl Default for CameraCaptureStatus
impl Default for CameraCaptureStatus
Source§impl<'de> Deserialize<'de> for CameraCaptureStatus
impl<'de> Deserialize<'de> for CameraCaptureStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<CameraCaptureStatus> for Common
impl From<CameraCaptureStatus> for Common
Source§fn from(value: CameraCaptureStatus) -> Self
fn from(value: CameraCaptureStatus) -> Self
Source§impl IntoPayload for CameraCaptureStatus
impl IntoPayload for CameraCaptureStatus
Source§impl MessageSpec for CameraCaptureStatus
impl MessageSpec for CameraCaptureStatus
Source§impl MessageSpecStatic for CameraCaptureStatus
impl MessageSpecStatic for CameraCaptureStatus
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for CameraCaptureStatus
impl NamedType for CameraCaptureStatus
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for CameraCaptureStatus
impl PartialEq for CameraCaptureStatus
Source§impl Serialize for CameraCaptureStatus
impl Serialize for CameraCaptureStatus
Source§impl TryFrom<&Payload> for CameraCaptureStatus
impl TryFrom<&Payload> for CameraCaptureStatus
Source§impl Type for CameraCaptureStatus
impl Type for CameraCaptureStatus
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.