Struct mavlink::asluav::MANUAL_SETPOINT_DATA
source · pub struct MANUAL_SETPOINT_DATA {
pub time_boot_ms: u32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub thrust: f32,
pub mode_switch: u8,
pub manual_override_switch: u8,
}
Available on crate feature
asluav
only.Expand description
id: 81 Setpoint in roll, pitch, yaw and thrust from the operator.
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
roll: f32
Desired roll rate.
pitch: f32
Desired pitch rate.
yaw: f32
Desired yaw rate.
thrust: f32
Collective thrust, normalized to 0 .. 1.
mode_switch: u8
Flight mode switch position, 0.. 255.
manual_override_switch: u8
Override mode switch position, 0.. 255.
Implementations§
source§impl MANUAL_SETPOINT_DATA
impl MANUAL_SETPOINT_DATA
pub const ENCODED_LEN: usize = 22usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MANUAL_SETPOINT_DATA
impl Clone for MANUAL_SETPOINT_DATA
source§fn clone(&self) -> MANUAL_SETPOINT_DATA
fn clone(&self) -> MANUAL_SETPOINT_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 MANUAL_SETPOINT_DATA
impl Debug for MANUAL_SETPOINT_DATA
source§impl Default for MANUAL_SETPOINT_DATA
impl Default for MANUAL_SETPOINT_DATA
source§impl<'de> Deserialize<'de> for MANUAL_SETPOINT_DATA
impl<'de> Deserialize<'de> for MANUAL_SETPOINT_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 MANUAL_SETPOINT_DATA
impl MessageData for MANUAL_SETPOINT_DATA
const ID: u32 = 81u32
const NAME: &'static str = "MANUAL_SETPOINT"
const EXTRA_CRC: u8 = 106u8
const ENCODED_LEN: usize = 22usize
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 MANUAL_SETPOINT_DATA
impl PartialEq for MANUAL_SETPOINT_DATA
source§impl Serialize for MANUAL_SETPOINT_DATA
impl Serialize for MANUAL_SETPOINT_DATA
impl StructuralPartialEq for MANUAL_SETPOINT_DATA
Auto Trait Implementations§
impl Freeze for MANUAL_SETPOINT_DATA
impl RefUnwindSafe for MANUAL_SETPOINT_DATA
impl Send for MANUAL_SETPOINT_DATA
impl Sync for MANUAL_SETPOINT_DATA
impl Unpin for MANUAL_SETPOINT_DATA
impl UnwindSafe for MANUAL_SETPOINT_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
)