Struct mavlink::ardupilotmega::RALLY_POINT_DATA
source · pub struct RALLY_POINT_DATA {
pub lat: i32,
pub lng: i32,
pub alt: i16,
pub break_alt: i16,
pub land_dir: u16,
pub target_system: u8,
pub target_component: u8,
pub idx: u8,
pub count: u8,
pub flags: RallyFlags,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 175 A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS..
Fields§
§lat: i32
Latitude of point..
lng: i32
Longitude of point..
alt: i16
Transit / loiter altitude relative to home..
break_alt: i16
Break altitude relative to home..
land_dir: u16
Heading to aim for when landing..
target_system: u8
System ID..
target_component: u8
Component ID..
idx: u8
Point index (first point is 0)..
count: u8
Total number of points (for sanity checking)..
flags: RallyFlags
Configuration flags..
Implementations§
source§impl RALLY_POINT_DATA
impl RALLY_POINT_DATA
pub const ENCODED_LEN: usize = 19usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for RALLY_POINT_DATA
impl Clone for RALLY_POINT_DATA
source§fn clone(&self) -> RALLY_POINT_DATA
fn clone(&self) -> RALLY_POINT_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RALLY_POINT_DATA
impl Debug for RALLY_POINT_DATA
source§impl Default for RALLY_POINT_DATA
impl Default for RALLY_POINT_DATA
source§impl<'de> Deserialize<'de> for RALLY_POINT_DATA
impl<'de> Deserialize<'de> for RALLY_POINT_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for RALLY_POINT_DATA
impl MessageData for RALLY_POINT_DATA
const ID: u32 = 175u32
const NAME: &'static str = "RALLY_POINT"
const EXTRA_CRC: u8 = 138u8
const ENCODED_LEN: usize = 19usize
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 RALLY_POINT_DATA
impl PartialEq for RALLY_POINT_DATA
source§impl Serialize for RALLY_POINT_DATA
impl Serialize for RALLY_POINT_DATA
impl StructuralPartialEq for RALLY_POINT_DATA
Auto Trait Implementations§
impl Freeze for RALLY_POINT_DATA
impl RefUnwindSafe for RALLY_POINT_DATA
impl Send for RALLY_POINT_DATA
impl Sync for RALLY_POINT_DATA
impl Unpin for RALLY_POINT_DATA
impl UnwindSafe for RALLY_POINT_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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)