pub struct Helper {}nav only.Expand description
Helper helps calcualte satellite orbital state from Keplerian elements.
Fields§
§sv: SVSV satellite identity
t_k: f64The difference between the calculated time and the ephemeris reference time
u_k: f64Ascending angle (corrected) in radians
r_k: f64Radius(corrected) in radians
i_k: f64Orbital inclination (corrected) in radians
omega_k: f64Ascending node right ascension (in radians)
fd_u_k: f64First Derivative of Ascending angle(corrected)
fd_r_k: f64First Derivative of Radius(corrected)
fd_i_k: f64First Derivative of Orbital inclination(corrected)
fd_omega_k: f64First Derivative of Ascending node right ascension
dtr: f64Relativistic Effect Correction
fd_dtr: f64First Derivative of Relativistic Effect Correction
r_sv: (f64, f64, f64)r_sv in meters ECEF
Implementations§
Source§impl Helper
impl Helper
Sourcepub fn ecef_position(&self) -> Vector3
pub fn ecef_position(&self) -> Vector3
Calculate ecef position [km].
Sourcepub fn ecef_velocity(&self) -> Vector3
pub fn ecef_velocity(&self) -> Vector3
Returns ECEF velocity Vector3 in km/s.
Sourcepub fn ecef_pv(&self) -> (Vector3, Vector3)
pub fn ecef_pv(&self) -> (Vector3, Vector3)
Returns ECEF (position, velocity) Vector3 in (km, km/s).
Sourcepub fn beidou_geo_ecef_position(&self) -> Vector3
pub fn beidou_geo_ecef_position(&self) -> Vector3
Returns ECEF position Vector3 in km, for BeiDou GEO specifically
Sourcepub fn beidou_geo_ecef_velocity(&self) -> Vector3
pub fn beidou_geo_ecef_velocity(&self) -> Vector3
Returns ECEF velocity Vector3 in km/s, for BeiDou GEO specifically
Sourcepub fn beidou_geo_ecef_pv(&self) -> (Vector3, Vector3)
pub fn beidou_geo_ecef_pv(&self) -> (Vector3, Vector3)
Returns ECEF (position, velocity) Vector3s in (km, km/s), for BeiDou GEO specifically.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Helper
impl RefUnwindSafe for Helper
impl Send for Helper
impl Sync for Helper
impl Unpin for Helper
impl UnsafeUnpin for Helper
impl UnwindSafe for Helper
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.