pub struct ReacquireEstimate {
pub x: i32,
pub y: i32,
pub ambiguous: bool,
pub confidence: f64,
pub error: f64,
}Expand description
track.ts::reacquire’s output; confidence is the fully computed
top.m.confidence.max(0.05) * exp(-error / 20) * (ambiguous ? 0.6 : 1), using the unweighted native residual
and libm::exp (the same code on every engine — see odometry.rs’s OdometryEstimate.confidence doc comment for why this
is no longer finished by the TS caller with Math.exp).
Fields§
§x: i32§y: i32§ambiguous: bool§confidence: f64§error: f64Ordinary native residual at the selected offset; spatial weighting only selects the motion.
Auto Trait Implementations§
impl Freeze for ReacquireEstimate
impl RefUnwindSafe for ReacquireEstimate
impl Send for ReacquireEstimate
impl Sync for ReacquireEstimate
impl Unpin for ReacquireEstimate
impl UnsafeUnpin for ReacquireEstimate
impl UnwindSafe for ReacquireEstimate
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> 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> ⓘ
Converts
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> ⓘ
Converts
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 more