pub struct CAMERA_TRACKING_IMAGE_STATUS_DATA {
pub point_x: f32,
pub point_y: f32,
pub radius: f32,
pub rec_top_x: f32,
pub rec_top_y: f32,
pub rec_bottom_x: f32,
pub rec_bottom_y: f32,
pub tracking_status: CameraTrackingStatusFlags,
pub tracking_mode: CameraTrackingMode,
pub target_data: CameraTrackingTargetData,
}
cubepilot
only.Expand description
id: 275 Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval..
Fields§
§point_x: f32
Current tracked point x value if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is left, 1 is right), NAN if unknown.
point_y: f32
Current tracked point y value if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown.
radius: f32
Current tracked radius if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is image left, 1 is image right), NAN if unknown.
rec_top_x: f32
Current tracked rectangle top x value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is left, 1 is right), NAN if unknown.
rec_top_y: f32
Current tracked rectangle top y value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown.
rec_bottom_x: f32
Current tracked rectangle bottom x value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is left, 1 is right), NAN if unknown.
rec_bottom_y: f32
Current tracked rectangle bottom y value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown.
tracking_status: CameraTrackingStatusFlags
Current tracking status.
tracking_mode: CameraTrackingMode
Current tracking mode.
target_data: CameraTrackingTargetData
Defines location of target data.
Implementations§
source§impl CAMERA_TRACKING_IMAGE_STATUS_DATA
impl CAMERA_TRACKING_IMAGE_STATUS_DATA
pub const ENCODED_LEN: usize = 31usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl Clone for CAMERA_TRACKING_IMAGE_STATUS_DATA
source§fn clone(&self) -> CAMERA_TRACKING_IMAGE_STATUS_DATA
fn clone(&self) -> CAMERA_TRACKING_IMAGE_STATUS_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'de> Deserialize<'de> for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl<'de> Deserialize<'de> for CAMERA_TRACKING_IMAGE_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_TRACKING_IMAGE_STATUS_DATA
impl MessageData for CAMERA_TRACKING_IMAGE_STATUS_DATA
const ID: u32 = 275u32
const NAME: &'static str = "CAMERA_TRACKING_IMAGE_STATUS"
const EXTRA_CRC: u8 = 126u8
const ENCODED_LEN: usize = 31usize
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_TRACKING_IMAGE_STATUS_DATA
impl PartialEq for CAMERA_TRACKING_IMAGE_STATUS_DATA
source§fn eq(&self, other: &CAMERA_TRACKING_IMAGE_STATUS_DATA) -> bool
fn eq(&self, other: &CAMERA_TRACKING_IMAGE_STATUS_DATA) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CAMERA_TRACKING_IMAGE_STATUS_DATA
Auto Trait Implementations§
impl Freeze for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl RefUnwindSafe for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl Send for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl Sync for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl Unpin for CAMERA_TRACKING_IMAGE_STATUS_DATA
impl UnwindSafe for CAMERA_TRACKING_IMAGE_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
)