Struct mavlink::common::HIL_STATE_DATA
source · pub struct HIL_STATE_DATA {}
Available on crate feature
common
only.Expand description
id: 90 Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations..
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..
roll: f32
Roll angle.
pitch: f32
Pitch angle.
yaw: f32
Yaw angle.
rollspeed: f32
Body frame roll / phi angular speed.
pitchspeed: f32
Body frame pitch / theta angular speed.
yawspeed: f32
Body frame yaw / psi angular speed.
lat: i32
Latitude.
lon: i32
Longitude.
alt: i32
Altitude.
vx: i16
Ground X Speed (Latitude).
vy: i16
Ground Y Speed (Longitude).
vz: i16
Ground Z Speed (Altitude).
xacc: i16
X acceleration.
yacc: i16
Y acceleration.
zacc: i16
Z acceleration.
Implementations§
source§impl HIL_STATE_DATA
impl HIL_STATE_DATA
pub const ENCODED_LEN: usize = 56usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for HIL_STATE_DATA
impl Clone for HIL_STATE_DATA
source§fn clone(&self) -> HIL_STATE_DATA
fn clone(&self) -> HIL_STATE_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 HIL_STATE_DATA
impl Debug for HIL_STATE_DATA
source§impl Default for HIL_STATE_DATA
impl Default for HIL_STATE_DATA
source§impl<'de> Deserialize<'de> for HIL_STATE_DATA
impl<'de> Deserialize<'de> for HIL_STATE_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 HIL_STATE_DATA
impl MessageData for HIL_STATE_DATA
const ID: u32 = 90u32
const NAME: &'static str = "HIL_STATE"
const EXTRA_CRC: u8 = 183u8
const ENCODED_LEN: usize = 56usize
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_STATE_DATA
impl PartialEq for HIL_STATE_DATA
source§impl Serialize for HIL_STATE_DATA
impl Serialize for HIL_STATE_DATA
impl StructuralPartialEq for HIL_STATE_DATA
Auto Trait Implementations§
impl Freeze for HIL_STATE_DATA
impl RefUnwindSafe for HIL_STATE_DATA
impl Send for HIL_STATE_DATA
impl Sync for HIL_STATE_DATA
impl Unpin for HIL_STATE_DATA
impl UnwindSafe for HIL_STATE_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
)