Struct mavlink::common::NAV_CONTROLLER_OUTPUT_DATA
source · pub struct NAV_CONTROLLER_OUTPUT_DATA {
pub nav_roll: f32,
pub nav_pitch: f32,
pub alt_error: f32,
pub aspd_error: f32,
pub xtrack_error: f32,
pub nav_bearing: i16,
pub target_bearing: i16,
pub wp_dist: u16,
}
Available on crate feature
common
only.Expand description
id: 62 The state of the navigation and position controller..
Fields§
Current desired roll.
Current desired pitch.
alt_error: f32
Current altitude error.
aspd_error: f32
Current airspeed error.
xtrack_error: f32
Current crosstrack error on x-y plane.
Current desired heading.
target_bearing: i16
Bearing to current waypoint/target.
wp_dist: u16
Distance to active waypoint.
Implementations§
source§impl NAV_CONTROLLER_OUTPUT_DATA
impl NAV_CONTROLLER_OUTPUT_DATA
pub const ENCODED_LEN: usize = 26usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for NAV_CONTROLLER_OUTPUT_DATA
impl Clone for NAV_CONTROLLER_OUTPUT_DATA
source§fn clone(&self) -> NAV_CONTROLLER_OUTPUT_DATA
fn clone(&self) -> NAV_CONTROLLER_OUTPUT_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 NAV_CONTROLLER_OUTPUT_DATA
impl Debug for NAV_CONTROLLER_OUTPUT_DATA
source§impl Default for NAV_CONTROLLER_OUTPUT_DATA
impl Default for NAV_CONTROLLER_OUTPUT_DATA
source§impl<'de> Deserialize<'de> for NAV_CONTROLLER_OUTPUT_DATA
impl<'de> Deserialize<'de> for NAV_CONTROLLER_OUTPUT_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 NAV_CONTROLLER_OUTPUT_DATA
impl MessageData for NAV_CONTROLLER_OUTPUT_DATA
const ID: u32 = 62u32
const NAME: &'static str = "NAV_CONTROLLER_OUTPUT"
const EXTRA_CRC: u8 = 183u8
const ENCODED_LEN: usize = 26usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for NAV_CONTROLLER_OUTPUT_DATA
Auto Trait Implementations§
impl Freeze for NAV_CONTROLLER_OUTPUT_DATA
impl RefUnwindSafe for NAV_CONTROLLER_OUTPUT_DATA
impl Send for NAV_CONTROLLER_OUTPUT_DATA
impl Sync for NAV_CONTROLLER_OUTPUT_DATA
impl Unpin for NAV_CONTROLLER_OUTPUT_DATA
impl UnwindSafe for NAV_CONTROLLER_OUTPUT_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
)