pub struct Ecef {
pub x: Option<f64>,
pub y: Option<f64>,
pub z: Option<f64>,
pub p_acc: Option<f64>,
pub vx: Option<f64>,
pub vy: Option<f64>,
pub vz: Option<f64>,
pub v_acc: Option<f64>,
}Expand description
Earth-Centered, Earth-Fixed (ECEF) coordinates
Represents position and velocity in the ECEF coordinate system, where the origin is at Earth’s center of mass.
Reference: gps_fix_t.ecef
Fields§
§x: Option<f64>X coordinate in meters
y: Option<f64>Y coordinate in meters
z: Option<f64>Z coordinate in meters
p_acc: Option<f64>Position accuracy in meters
vx: Option<f64>X velocity in meters/second
vy: Option<f64>Y velocity in meters/second
vz: Option<f64>Z velocity in meters/second
v_acc: Option<f64>Velocity accuracy in meters/second
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ecef
impl<'de> Deserialize<'de> for Ecef
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
impl StructuralPartialEq for Ecef
Auto Trait Implementations§
impl Freeze for Ecef
impl RefUnwindSafe for Ecef
impl Send for Ecef
impl Sync for Ecef
impl Unpin for Ecef
impl UnwindSafe for Ecef
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