Struct mavlink::development::CAMERA_FOV_STATUS_DATA
source · pub struct CAMERA_FOV_STATUS_DATA {
pub time_boot_ms: u32,
pub lat_camera: i32,
pub lon_camera: i32,
pub alt_camera: i32,
pub lat_image: i32,
pub lon_image: i32,
pub alt_image: i32,
pub q: [f32; 4],
pub hfov: f32,
pub vfov: f32,
}
development
only.Expand description
id: 271 Information about the field of view of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
lat_camera: i32
Latitude of camera (INT32_MAX if unknown)..
lon_camera: i32
Longitude of camera (INT32_MAX if unknown)..
alt_camera: i32
Altitude (MSL) of camera (INT32_MAX if unknown)..
lat_image: i32
Latitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
lon_image: i32
Longitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
alt_image: i32
Altitude (MSL) of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
q: [f32; 4]
Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0).
hfov: f32
Horizontal field of view (NaN if unknown)..
vfov: f32
Vertical field of view (NaN if unknown)..
Implementations§
source§impl CAMERA_FOV_STATUS_DATA
impl CAMERA_FOV_STATUS_DATA
pub const ENCODED_LEN: usize = 52usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CAMERA_FOV_STATUS_DATA
impl Clone for CAMERA_FOV_STATUS_DATA
source§fn clone(&self) -> CAMERA_FOV_STATUS_DATA
fn clone(&self) -> CAMERA_FOV_STATUS_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_FOV_STATUS_DATA
impl Debug for CAMERA_FOV_STATUS_DATA
source§impl Default for CAMERA_FOV_STATUS_DATA
impl Default for CAMERA_FOV_STATUS_DATA
source§impl<'de> Deserialize<'de> for CAMERA_FOV_STATUS_DATA
impl<'de> Deserialize<'de> for CAMERA_FOV_STATUS_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_FOV_STATUS_DATA
impl MessageData for CAMERA_FOV_STATUS_DATA
const ID: u32 = 271u32
const NAME: &'static str = "CAMERA_FOV_STATUS"
const EXTRA_CRC: u8 = 22u8
const ENCODED_LEN: usize = 52usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for CAMERA_FOV_STATUS_DATA
impl PartialEq for CAMERA_FOV_STATUS_DATA
source§impl Serialize for CAMERA_FOV_STATUS_DATA
impl Serialize for CAMERA_FOV_STATUS_DATA
impl StructuralPartialEq for CAMERA_FOV_STATUS_DATA
Auto Trait Implementations§
impl Freeze for CAMERA_FOV_STATUS_DATA
impl RefUnwindSafe for CAMERA_FOV_STATUS_DATA
impl Send for CAMERA_FOV_STATUS_DATA
impl Sync for CAMERA_FOV_STATUS_DATA
impl Unpin for CAMERA_FOV_STATUS_DATA
impl UnwindSafe for CAMERA_FOV_STATUS_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
)