pub struct ReachChecker<R, const N: usize> { /* private fields */ }Expand description
Checks states and motions of sampling-planning’s planners with reachable sets.
sampling-planning hands a checker only two bare states per motion, so this adapter
assumes a fixed uncertainty tube: the real state at every tree node lies in the box
state ± half_widths. It then proves each motion against that assumption:
- the model’s nominal steering from
fromtowardtoends exactly atto; - every set covering the motion, propagated from the box at
from, is proven disjoint from every obstacle, at every intermediate time step; - the end set is proven inside the box at
to, so the assumption holds at the next node as well and edges chain soundly.
Only then is the motion Validity::Valid. Anything unproven is Validity::Unknown
and rejected by the planners. For uncertainty that grows along a branch, use
RobustRrt, which keeps the propagated set per node.
Implementations§
Source§impl<R: Reach<N>, const N: usize> ReachChecker<R, N>
impl<R: Reach<N>, const N: usize> ReachChecker<R, N>
Trait Implementations§
Source§impl<R: Reach<N> + Steer<N, R::Control>, const N: usize> ValidityChecker<Euclidean<N>> for ReachChecker<R, N>
impl<R: Reach<N> + Steer<N, R::Control>, const N: usize> ValidityChecker<Euclidean<N>> for ReachChecker<R, N>
Auto Trait Implementations§
impl<R, const N: usize> Forget for ReachChecker<R, N>
impl<R, const N: usize> Freeze for ReachChecker<R, N>
impl<R, const N: usize> Move for ReachChecker<R, N>
impl<R, const N: usize> RefUnwindSafe for ReachChecker<R, N>
impl<R, const N: usize> Send for ReachChecker<R, N>
impl<R, const N: usize> Sync for ReachChecker<R, N>
impl<R, const N: usize> Unpin for ReachChecker<R, N>
impl<R, const N: usize> UnsafeUnpin for ReachChecker<R, N>
impl<R, const N: usize> UnwindSafe for ReachChecker<R, N>
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.