pub struct WheelCalibrationEstimate {Show 14 fields
pub offset: Vector2<f64>,
pub scale: f64,
pub vio_scale: Option<f64>,
pub body_from_level: UnitQuaternion<f64>,
pub tilt_deg: f64,
pub rms_m: f64,
pub rms_without_offset_m: f64,
pub map_rms_m: Option<f64>,
pub turned_deg: f64,
pub pairs: usize,
pub fixes: usize,
pub offset_from: CalibrationSource,
pub scale_from: CalibrationSource,
pub level_from: CalibrationSource,
}Expand description
What WheelCalibration::estimate found.
Fields§
§offset: Vector2<f64>Offset, in the body frame and the wheel odometry’s units, of the body origin from the wheel odometry’s point.
scale: f64The map’s scale against the wheel odometry (1 until the map localizations show it, or the prior’s).
vio_scale: Option<f64>The VIO’s scale against the wheel odometry, when it gave the offset (not used: a VIO session’s scale is not the map’s).
body_from_level: UnitQuaternion<f64>Rotation from the levelled body frame to the given one (identity without levelling).
tilt_deg: f64Tilt of the given body frame against the reference’s gravity, in degrees.
rms_m: f64RMS residual of the fit that gave the offset, in metres of its reference, and that fit without the offset.
rms_without_offset_m: f64§map_rms_m: Option<f64>RMS residual of the map localizations’ fit, when they gave a value.
turned_deg: f64Total turn of the wheel odometry over the VIO pairs, in degrees, and the number of pairs and of map localizations used.
pairs: usize§fixes: usize§offset_from: CalibrationSource§scale_from: CalibrationSource§level_from: CalibrationSourceImplementations§
Source§impl WheelCalibrationEstimate
impl WheelCalibrationEstimate
Sourcepub fn imu_from_wheel(&self, imu_from_body: &SE3) -> SE3
pub fn imu_from_wheel(&self, imu_from_body: &SE3) -> SE3
T_imu_body with the body moved to the wheel odometry’s point and
levelled (the wheel odometry’s own frame).
Sourcepub fn odom_from_body(&self, odom_from_wheel: &SE3) -> SE3
pub fn odom_from_body(&self, odom_from_wheel: &SE3) -> SE3
The body’s pose in the odometry frame, in the map’s scale, from a wheel odometry pose (of the wheel odometry’s point, level).
Trait Implementations§
Source§impl Clone for WheelCalibrationEstimate
impl Clone for WheelCalibrationEstimate
Source§impl Debug for WheelCalibrationEstimate
impl Debug for WheelCalibrationEstimate
Source§impl PartialEq for WheelCalibrationEstimate
impl PartialEq for WheelCalibrationEstimate
impl StructuralPartialEq for WheelCalibrationEstimate
Auto Trait Implementations§
impl Forget for WheelCalibrationEstimate
impl Freeze for WheelCalibrationEstimate
impl Move for WheelCalibrationEstimate
impl RefUnwindSafe for WheelCalibrationEstimate
impl Send for WheelCalibrationEstimate
impl Sync for WheelCalibrationEstimate
impl Unpin for WheelCalibrationEstimate
impl UnsafeUnpin for WheelCalibrationEstimate
impl UnwindSafe for WheelCalibrationEstimate
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,
impl<T> Scalar 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.