pub struct Problem<R, Sa, const N: usize, G = PolytopeGoal<N>> {
pub reach: R,
pub obstacles: Obstacles,
pub sampler: Sa,
pub start: [f64; N],
pub start_set: SparsePolyZonotope,
pub goal: G,
}Expand description
Everything RobustRrt needs to know about the world.
The goal defaults to a PolytopeGoal; any Goal works.
Fields§
§reach: RThe dynamics model that steers and propagates.
obstacles: ObstaclesThe obstacles and their split budget.
sampler: SaDraws the states the tree grows toward.
start: [f64; N]The nominal start state, which steering starts from.
start_set: SparsePolyZonotopeEvery state the system may start in. Must be proven safe.
goal: GThe goal region. A node reaches it when its set is proven inside; goal-biased
samples draw Goal::center.
Trait Implementations§
Auto Trait Implementations§
impl<R, Sa, const N: usize, G> Forget for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> Freeze for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> Move for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> RefUnwindSafe for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> Send for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> Sync for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> Unpin for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> UnsafeUnpin for Problem<R, Sa, N, G>
impl<R, Sa, const N: usize, G> UnwindSafe for Problem<R, Sa, N, G>
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.