Struct ublox::NavVelNedRef
source · pub struct NavVelNedRef<'a>(/* private fields */);
Expand description
Velocity Solution in NED Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn vel_north_raw(&self) -> i32
pub fn vel_north_raw(&self) -> i32
north velocity (m/s)
sourcepub fn vel_east_raw(&self) -> i32
pub fn vel_east_raw(&self) -> i32
east velocity (m/s)
sourcepub fn vel_down_raw(&self) -> i32
pub fn vel_down_raw(&self) -> i32
down velocity (m/s)
sourcepub fn speed_3d_raw(&self) -> u32
pub fn speed_3d_raw(&self) -> u32
Speed 3-D (m/s)
sourcepub fn ground_speed_raw(&self) -> u32
pub fn ground_speed_raw(&self) -> u32
Ground speed (m/s)
sourcepub fn ground_speed(&self) -> f64
pub fn ground_speed(&self) -> f64
Ground speed (m/s)
sourcepub fn heading_degrees_raw(&self) -> i32
pub fn heading_degrees_raw(&self) -> i32
Heading of motion 2-D (degrees)
sourcepub fn heading_degrees(&self) -> f64
pub fn heading_degrees(&self) -> f64
Heading of motion 2-D (degrees)
sourcepub fn speed_accuracy_estimate_raw(&self) -> u32
pub fn speed_accuracy_estimate_raw(&self) -> u32
Speed Accuracy Estimate (m/s)
sourcepub fn speed_accuracy_estimate(&self) -> f64
pub fn speed_accuracy_estimate(&self) -> f64
Speed Accuracy Estimate (m/s)
sourcepub fn course_heading_accuracy_estimate_raw(&self) -> u32
pub fn course_heading_accuracy_estimate_raw(&self) -> u32
Course / Heading Accuracy Estimate (degrees)
sourcepub fn course_heading_accuracy_estimate(&self) -> f64
pub fn course_heading_accuracy_estimate(&self) -> f64
Course / Heading Accuracy Estimate (degrees)
Trait Implementations§
source§fn from(packet: &NavVelNedRef<'a>) -> Self
fn from(packet: &NavVelNedRef<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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