pub struct NavigationResult {Show 31 fields
pub timestamp: DateTime<Utc>,
pub latitude: f64,
pub longitude: f64,
pub altitude: f64,
pub velocity_north: f64,
pub velocity_east: f64,
pub velocity_down: f64,
pub roll: f64,
pub pitch: f64,
pub yaw: f64,
pub acc_bias_x: f64,
pub acc_bias_y: f64,
pub acc_bias_z: f64,
pub gyro_bias_x: f64,
pub gyro_bias_y: f64,
pub gyro_bias_z: f64,
pub latitude_cov: f64,
pub longitude_cov: f64,
pub altitude_cov: f64,
pub velocity_n_cov: f64,
pub velocity_e_cov: f64,
pub velocity_d_cov: f64,
pub roll_cov: f64,
pub pitch_cov: f64,
pub yaw_cov: f64,
pub acc_bias_x_cov: f64,
pub acc_bias_y_cov: f64,
pub acc_bias_z_cov: f64,
pub gyro_bias_x_cov: f64,
pub gyro_bias_y_cov: f64,
pub gyro_bias_z_cov: f64,
}
Expand description
Generic result struct for navigation simulations.
This structure contains a single row of position, velocity, and attitude vectors representing the navigation solution at a specific timestamp, along with the covariance diagonal, input IMU measurements, and derived geophysical values.
It can be used across different types of navigation simulations such as dead reckoning, Kalman filtering, or any other navigation algorithm.
Fields§
§timestamp: DateTime<Utc>
Timestamp corresponding to the state
latitude: f64
Latitude in radians
longitude: f64
Longitude in radians
altitude: f64
Altitude in meters
velocity_north: f64
Northward velocity in m/s
velocity_east: f64
Eastward velocity in m/s
velocity_down: f64
Downward velocity in m/s
roll: f64
Roll angle in radians
pitch: f64
Pitch angle in radians
yaw: f64
Yaw angle in radians
acc_bias_x: f64
IMU accelerometer x-axis bias in m/s^2
acc_bias_y: f64
IMU accelerometer y-axis bias in m/s^2
acc_bias_z: f64
IMU accelerometer z-axis bias in m/s^2
gyro_bias_x: f64
IMU gyroscope x-axis bias in radians/s
gyro_bias_y: f64
IMU gyroscope y-axis bias in radians/s
gyro_bias_z: f64
IMU gyroscope z-axis bias in radians/s
latitude_cov: f64
Latitude covariance
longitude_cov: f64
Longitude covariance
altitude_cov: f64
Altitude covariance
velocity_n_cov: f64
Northward velocity covariance
velocity_e_cov: f64
Eastward velocity covariance
velocity_d_cov: f64
Downward velocity covariance
roll_cov: f64
Roll covariance
pitch_cov: f64
Pitch covariance
yaw_cov: f64
Yaw covariance
acc_bias_x_cov: f64
Accelerometer x-axis bias covariance
acc_bias_y_cov: f64
Accelerometer y-axis bias covariance
acc_bias_z_cov: f64
Accelerometer z-axis bias covariance
gyro_bias_x_cov: f64
Gyroscope x-axis bias covariance
gyro_bias_y_cov: f64
Gyroscope y-axis bias covariance
gyro_bias_z_cov: f64
Gyroscope z-axis bias covariance
Implementations§
Trait Implementations§
Source§fn clone(&self) -> NavigationResult
fn clone(&self) -> NavigationResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§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>,
This implementation is useful for converting the output of a Kalman filter or UKF into a NavigationResult, which can then be used for further processing or analysis.
§Arguments
timestamp
: The timestamp of the navigation solution.state
: A DVector containing the navigation state mean.covariance
: A DMatrix containing the covariance of the state.imu_data
: An IMUData struct containing the IMU measurements.mag_x
,mag_y
,mag_z
: Magnetic field strength in micro teslas.pressure
: Pressure in millibars.freeair
: Free-air gravity anomaly in mGal.
§Returns
A NavigationResult struct containing the navigation solution.
This implementation is useful for converting the output of a StrapdownState into a NavigationResult, which can then be used for further processing or analysis.
§Arguments
timestamp
: The timestamp of the navigation solution.state
: A reference to the StrapdownState instance containing the navigation state.imu_data
: An IMUData struct containing the IMU measurements.magnetic_vector
: Magnetic field strength measurement in micro teslas (body frame x, y, z).pressure
: Pressure in millibars.
§Returns
A NavigationResult struct containing the navigation solution.
This implementation is useful for converting the output of a UKF into a NavigationResult, which can then be used for further processing or analysis.
§Arguments
timestamp
: The timestamp of the navigation solution.ukf
: A reference to the UKF instance containing the navigation state mean and covariance.imu_data
: An IMUData struct containing the IMU measurements.magnetic_vector
: Magnetic field strength measurement in micro teslas (body frame x, y, z).pressure
: Pressure in millibars.
§Returns
A NavigationResult struct containing the navigation solution.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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.