Struct mavlink::asluav::ASL_OBCTRL_DATA
source · pub struct ASL_OBCTRL_DATA {
pub timestamp: u64,
pub uElev: f32,
pub uThrot: f32,
pub uThrot2: f32,
pub uAilL: f32,
pub uAilR: f32,
pub uRud: f32,
pub obctrl_status: u8,
}
Available on crate feature
asluav
only.Expand description
id: 8008 Off-board controls/commands for ASLUAVs.
Fields§
§timestamp: u64
Time since system start.
uElev: f32
Elevator command [~].
uThrot: f32
Throttle command [~].
uThrot2: f32
Throttle 2 command [~].
uAilL: f32
Left aileron command [~].
uAilR: f32
Right aileron command [~].
uRud: f32
Rudder command [~].
obctrl_status: u8
Off-board computer status.
Implementations§
source§impl ASL_OBCTRL_DATA
impl ASL_OBCTRL_DATA
pub const ENCODED_LEN: usize = 33usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ASL_OBCTRL_DATA
impl Clone for ASL_OBCTRL_DATA
source§fn clone(&self) -> ASL_OBCTRL_DATA
fn clone(&self) -> ASL_OBCTRL_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 ASL_OBCTRL_DATA
impl Debug for ASL_OBCTRL_DATA
source§impl Default for ASL_OBCTRL_DATA
impl Default for ASL_OBCTRL_DATA
source§impl<'de> Deserialize<'de> for ASL_OBCTRL_DATA
impl<'de> Deserialize<'de> for ASL_OBCTRL_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 ASL_OBCTRL_DATA
impl MessageData for ASL_OBCTRL_DATA
const ID: u32 = 8_008u32
const NAME: &'static str = "ASL_OBCTRL"
const EXTRA_CRC: u8 = 234u8
const ENCODED_LEN: usize = 33usize
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 ASL_OBCTRL_DATA
impl PartialEq for ASL_OBCTRL_DATA
source§impl Serialize for ASL_OBCTRL_DATA
impl Serialize for ASL_OBCTRL_DATA
impl StructuralPartialEq for ASL_OBCTRL_DATA
Auto Trait Implementations§
impl Freeze for ASL_OBCTRL_DATA
impl RefUnwindSafe for ASL_OBCTRL_DATA
impl Send for ASL_OBCTRL_DATA
impl Sync for ASL_OBCTRL_DATA
impl Unpin for ASL_OBCTRL_DATA
impl UnwindSafe for ASL_OBCTRL_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
)