pub struct GyroWheelOdometry { /* private fields */ }Expand description
Fuses wheel odometry poses (its point, level) with a gyro and an accelerometer (any frame fixed to the robot), in time order of each.
Implementations§
Source§impl GyroWheelOdometry
impl GyroWheelOdometry
pub fn new(config: GyroWheelConfig) -> Self
Sourcepub fn bias(&self) -> Option<f64>
pub fn bias(&self) -> Option<f64>
The gyro’s bias about the vertical (rad/s), once a standstill gave it.
Sourcepub fn up(&self) -> Option<Vector3<f64>>
pub fn up(&self) -> Option<Vector3<f64>>
The vertical (up) in the IMU’s frame, from the accelerometer.
Trait Implementations§
Source§impl Clone for GyroWheelOdometry
impl Clone for GyroWheelOdometry
Auto Trait Implementations§
impl Forget for GyroWheelOdometry
impl Freeze for GyroWheelOdometry
impl Move for GyroWheelOdometry
impl RefUnwindSafe for GyroWheelOdometry
impl Send for GyroWheelOdometry
impl Sync for GyroWheelOdometry
impl Unpin for GyroWheelOdometry
impl UnsafeUnpin for GyroWheelOdometry
impl UnwindSafe for GyroWheelOdometry
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
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.