pub type CameraImageCaptured = CameraImageCaptured;Expand description
Originally defined in common::messages::camera_image_captured.
Aliased Type§
pub struct CameraImageCaptured {
pub time_boot_ms: u32,
pub time_utc: u64,
pub camera_id: u8,
pub lat: i32,
pub lon: i32,
pub alt: i32,
pub relative_alt: i32,
pub q: [f32; 4],
pub image_index: i32,
pub capture_result: i8,
pub file_url: [u8; 205],
}Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
time_utc: u64MAVLink field time_utc.
Timestamp (time since UNIX epoch) in UTC. 0 for unknown.
camera_id: u8MAVLink field camera_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). Field name is usually camera_device_id.
lat: i32MAVLink field lat.
Latitude where image was taken
lon: i32MAVLink field lon.
Longitude where capture was taken
alt: i32MAVLink field alt.
Altitude (MSL) where image was taken
relative_alt: i32MAVLink field relative_alt.
Altitude above ground
q: [f32; 4]MAVLink field q.
Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0)
image_index: i32MAVLink field image_index.
Zero based index of this image (i.e. a new image will have index CAMERA_CAPTURE_STATUS.image count -1)
capture_result: i8MAVLink field capture_result.
Boolean indicating success (1) or failure (0) while capturing this image.
file_url: [u8; 205]MAVLink field file_url.
URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface.