pub struct OccupancyConfig {
pub resolution: f64,
pub hit: f32,
pub miss: f32,
pub clamp: f32,
pub occupied_threshold: f32,
pub free_threshold: f32,
}Expand description
Log-odds increments and thresholds.
Fields§
§resolution: f64Cell edge [m].
hit: f32Log-odds added to the end cell of a beam.
miss: f32Log-odds added to cells a beam passes through (negative).
clamp: f32Log-odds clamp, so a cell can still change its mind.
occupied_threshold: f32Cells above this log-odds are occupied.
free_threshold: f32Cells below this log-odds are free.
Trait Implementations§
Source§impl Clone for OccupancyConfig
impl Clone for OccupancyConfig
impl Copy for OccupancyConfig
Source§impl Debug for OccupancyConfig
impl Debug for OccupancyConfig
Source§impl Default for OccupancyConfig
impl Default for OccupancyConfig
Source§impl PartialEq for OccupancyConfig
impl PartialEq for OccupancyConfig
impl StructuralPartialEq for OccupancyConfig
Auto Trait Implementations§
impl Freeze for OccupancyConfig
impl RefUnwindSafe for OccupancyConfig
impl Send for OccupancyConfig
impl Sync for OccupancyConfig
impl Unpin for OccupancyConfig
impl UnsafeUnpin for OccupancyConfig
impl UnwindSafe for OccupancyConfig
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,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.