Struct mavlink::avssuas::CAMERA_IMAGE_CAPTURED_DATA
source · pub struct CAMERA_IMAGE_CAPTURED_DATA {
pub time_utc: u64,
pub time_boot_ms: u32,
pub lat: i32,
pub lon: i32,
pub alt: i32,
pub relative_alt: i32,
pub q: [f32; 4],
pub image_index: i32,
pub camera_id: u8,
pub capture_result: i8,
pub file_url: [u8; 205],
}
avssuas
only.Expand description
id: 263 Information about a captured image. This is emitted every time a message is captured. MAV_CMD_REQUEST_MESSAGE can be used to (re)request this message for a specific sequence number or range of sequence numbers: MAV_CMD_REQUEST_MESSAGE.param2 indicates the sequence number the first image to send, or set to -1 to send the message for all sequence numbers. MAV_CMD_REQUEST_MESSAGE.param3 is used to specify a range of messages to send: set to 0 (default) to send just the the message for the sequence number in param 2, set to -1 to send the message for the sequence number in param 2 and all the following sequence numbers, set to the sequence number of the final message in the range..
Fields§
§time_utc: u64
Timestamp (time since UNIX epoch) in UTC. 0 for unknown..
time_boot_ms: u32
Timestamp (time since system boot)..
lat: i32
Latitude where image was taken.
lon: i32
Longitude where capture was taken.
alt: i32
Altitude (MSL) where image was taken.
relative_alt: i32
Altitude above ground.
q: [f32; 4]
Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0).
image_index: i32
Zero based index of this image (i.e. a new image will have index CAMERA_CAPTURE_STATUS.image count -1).
camera_id: u8
Deprecated/unused. Component IDs are used to differentiate multiple cameras..
capture_result: i8
Boolean indicating success (1) or failure (0) while capturing this image..
file_url: [u8; 205]
URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface..
Implementations§
source§impl CAMERA_IMAGE_CAPTURED_DATA
impl CAMERA_IMAGE_CAPTURED_DATA
pub const ENCODED_LEN: usize = 255usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CAMERA_IMAGE_CAPTURED_DATA
impl Clone for CAMERA_IMAGE_CAPTURED_DATA
source§fn clone(&self) -> CAMERA_IMAGE_CAPTURED_DATA
fn clone(&self) -> CAMERA_IMAGE_CAPTURED_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CAMERA_IMAGE_CAPTURED_DATA
impl Debug for CAMERA_IMAGE_CAPTURED_DATA
source§impl Default for CAMERA_IMAGE_CAPTURED_DATA
impl Default for CAMERA_IMAGE_CAPTURED_DATA
source§impl<'de> Deserialize<'de> for CAMERA_IMAGE_CAPTURED_DATA
impl<'de> Deserialize<'de> for CAMERA_IMAGE_CAPTURED_DATA
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 MessageData for CAMERA_IMAGE_CAPTURED_DATA
impl MessageData for CAMERA_IMAGE_CAPTURED_DATA
const ID: u32 = 263u32
const NAME: &'static str = "CAMERA_IMAGE_CAPTURED"
const EXTRA_CRC: u8 = 133u8
const ENCODED_LEN: usize = 255usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for CAMERA_IMAGE_CAPTURED_DATA
Auto Trait Implementations§
impl Freeze for CAMERA_IMAGE_CAPTURED_DATA
impl RefUnwindSafe for CAMERA_IMAGE_CAPTURED_DATA
impl Send for CAMERA_IMAGE_CAPTURED_DATA
impl Sync for CAMERA_IMAGE_CAPTURED_DATA
impl Unpin for CAMERA_IMAGE_CAPTURED_DATA
impl UnwindSafe for CAMERA_IMAGE_CAPTURED_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)