pub struct Spars2Config {
pub sparse_delta: f64,
pub dense_delta: f64,
pub stretch: f64,
pub max_failures: usize,
pub near_samples: usize,
pub check_both_directions: bool,
}Expand description
Settings for Spars2. The defaults follow OMPL’s SPARStwo.
Fields§
§sparse_delta: f64Delta: the visibility range of a guard. OMPL uses a quarter of the space’s extent.
Positive and finite.
dense_delta: f64delta: the range in which interface points are sampled around a sample. OMPL uses a
thousandth of the extent. Positive, finite and below sparse_delta.
stretch: f64t: the stretch factor the quality criterion enforces. Above one; 3 by default.
max_failures: usizeM: construction is complete after this many consecutive samples that changed nothing.
5000 by default.
near_samples: usizek: the samples drawn near each sample to find neighboring representatives; OMPL uses
twice the state dimension.
check_both_directions: boolCheck every sparse edge in both directions, for directional checkers (see
PrmConfig::check_both_directions). Off by
default.
Implementations§
Trait Implementations§
Source§impl Clone for Spars2Config
impl Clone for Spars2Config
impl Copy for Spars2Config
Source§impl Debug for Spars2Config
impl Debug for Spars2Config
Source§impl PartialEq for Spars2Config
impl PartialEq for Spars2Config
impl StructuralPartialEq for Spars2Config
Auto Trait Implementations§
impl Forget for Spars2Config
impl Freeze for Spars2Config
impl Move for Spars2Config
impl RefUnwindSafe for Spars2Config
impl Send for Spars2Config
impl Sync for Spars2Config
impl Unpin for Spars2Config
impl UnsafeUnpin for Spars2Config
impl UnwindSafe for Spars2Config
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