pub struct HIL_RC_INPUTS_RAW_DATA {}
matrixpilot
only.Expand description
id: 92 Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.
Fields§
§time_usec: u64
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
chan1_raw: u16
RC channel 1 value
chan2_raw: u16
RC channel 2 value
chan3_raw: u16
RC channel 3 value
chan4_raw: u16
RC channel 4 value
chan5_raw: u16
RC channel 5 value
chan6_raw: u16
RC channel 6 value
chan7_raw: u16
RC channel 7 value
chan8_raw: u16
RC channel 8 value
chan9_raw: u16
RC channel 9 value
chan10_raw: u16
RC channel 10 value
chan11_raw: u16
RC channel 11 value
chan12_raw: u16
RC channel 12 value
rssi: u8
Receive signal strength indicator in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown.
Implementations§
Source§impl HIL_RC_INPUTS_RAW_DATA
impl HIL_RC_INPUTS_RAW_DATA
pub const ENCODED_LEN: usize = 33usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for HIL_RC_INPUTS_RAW_DATA
impl Clone for HIL_RC_INPUTS_RAW_DATA
Source§fn clone(&self) -> HIL_RC_INPUTS_RAW_DATA
fn clone(&self) -> HIL_RC_INPUTS_RAW_DATA
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for HIL_RC_INPUTS_RAW_DATA
impl Debug for HIL_RC_INPUTS_RAW_DATA
Source§impl Default for HIL_RC_INPUTS_RAW_DATA
impl Default for HIL_RC_INPUTS_RAW_DATA
Source§impl<'de> Deserialize<'de> for HIL_RC_INPUTS_RAW_DATA
impl<'de> Deserialize<'de> for HIL_RC_INPUTS_RAW_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 HIL_RC_INPUTS_RAW_DATA
impl MessageData for HIL_RC_INPUTS_RAW_DATA
const ID: u32 = 92u32
const NAME: &'static str = "HIL_RC_INPUTS_RAW"
const EXTRA_CRC: u8 = 54u8
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 HIL_RC_INPUTS_RAW_DATA
impl PartialEq for HIL_RC_INPUTS_RAW_DATA
Source§fn eq(&self, other: &HIL_RC_INPUTS_RAW_DATA) -> bool
fn eq(&self, other: &HIL_RC_INPUTS_RAW_DATA) -> bool
self
and other
values to be equal, and is used by ==
.