pub struct OccupancyGridConfig {
pub resolution: f64,
pub width: usize,
pub height: usize,
pub prior_log_odds: f64,
pub occupied_log_odds: f64,
pub free_log_odds: f64,
pub max_log_odds: f64,
pub min_log_odds: f64,
}Expand description
Configuration parameters for OccupancyGridMap.
Fields§
§resolution: f64Cell size [m].
width: usizeNumber of cells along the x-axis.
height: usizeNumber of cells along the y-axis.
prior_log_odds: f64Log-odds value assigned to every cell at initialisation.
occupied_log_odds: f64Log-odds increment added when a cell is observed as occupied.
free_log_odds: f64Log-odds decrement added when a cell is observed as free.
max_log_odds: f64Upper saturation limit for log-odds values.
min_log_odds: f64Lower saturation limit for log-odds values.
Trait Implementations§
Source§impl Clone for OccupancyGridConfig
impl Clone for OccupancyGridConfig
Source§impl Debug for OccupancyGridConfig
impl Debug for OccupancyGridConfig
Auto Trait Implementations§
impl Freeze for OccupancyGridConfig
impl RefUnwindSafe for OccupancyGridConfig
impl Send for OccupancyGridConfig
impl Sync for OccupancyGridConfig
impl Unpin for OccupancyGridConfig
impl UnsafeUnpin for OccupancyGridConfig
impl UnwindSafe for OccupancyGridConfig
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<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.