Struct mavlink::ardupilotmega::WATER_DEPTH_DATA
source · pub struct WATER_DEPTH_DATA {
pub time_boot_ms: u32,
pub lat: i32,
pub lng: i32,
pub alt: f32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub distance: f32,
pub temperature: f32,
pub id: u8,
pub healthy: u8,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 11038 Water depth.
Fields§
§time_boot_ms: u32
Timestamp (time since system boot).
lat: i32
Latitude.
lng: i32
Longitude.
alt: f32
Altitude (MSL) of vehicle.
roll: f32
Roll angle.
pitch: f32
Pitch angle.
yaw: f32
Yaw angle.
distance: f32
Distance (uncorrected).
temperature: f32
Water temperature.
id: u8
Onboard ID of the sensor.
healthy: u8
Sensor data healthy (0=unhealthy, 1=healthy).
Implementations§
source§impl WATER_DEPTH_DATA
impl WATER_DEPTH_DATA
pub const ENCODED_LEN: usize = 38usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for WATER_DEPTH_DATA
impl Clone for WATER_DEPTH_DATA
source§fn clone(&self) -> WATER_DEPTH_DATA
fn clone(&self) -> WATER_DEPTH_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 WATER_DEPTH_DATA
impl Debug for WATER_DEPTH_DATA
source§impl Default for WATER_DEPTH_DATA
impl Default for WATER_DEPTH_DATA
source§impl<'de> Deserialize<'de> for WATER_DEPTH_DATA
impl<'de> Deserialize<'de> for WATER_DEPTH_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 WATER_DEPTH_DATA
impl MessageData for WATER_DEPTH_DATA
const ID: u32 = 11_038u32
const NAME: &'static str = "WATER_DEPTH"
const EXTRA_CRC: u8 = 47u8
const ENCODED_LEN: usize = 38usize
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 WATER_DEPTH_DATA
impl PartialEq for WATER_DEPTH_DATA
source§impl Serialize for WATER_DEPTH_DATA
impl Serialize for WATER_DEPTH_DATA
impl StructuralPartialEq for WATER_DEPTH_DATA
Auto Trait Implementations§
impl Freeze for WATER_DEPTH_DATA
impl RefUnwindSafe for WATER_DEPTH_DATA
impl Send for WATER_DEPTH_DATA
impl Sync for WATER_DEPTH_DATA
impl Unpin for WATER_DEPTH_DATA
impl UnwindSafe for WATER_DEPTH_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
)