pub struct ObstacleConfig {
pub min_obstacle_size: usize,
pub max_detection_range: f64,
pub safety_margin: f64,
}Expand description
Tuning parameters for the obstacle detector.
Fields§
§min_obstacle_size: usizeMinimum number of points that must fall inside a cluster to be considered an obstacle.
max_detection_range: f64Maximum range from the robot within which obstacles are detected (metres).
safety_margin: f64Extra padding added around every detected obstacle (metres).
Trait Implementations§
Source§impl Clone for ObstacleConfig
impl Clone for ObstacleConfig
Source§fn clone(&self) -> ObstacleConfig
fn clone(&self) -> ObstacleConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObstacleConfig
impl Debug for ObstacleConfig
Source§impl Default for ObstacleConfig
impl Default for ObstacleConfig
Source§impl<'de> Deserialize<'de> for ObstacleConfig
impl<'de> Deserialize<'de> for ObstacleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ObstacleConfig
impl PartialEq for ObstacleConfig
Source§impl Serialize for ObstacleConfig
impl Serialize for ObstacleConfig
impl StructuralPartialEq for ObstacleConfig
Auto Trait Implementations§
impl Freeze for ObstacleConfig
impl RefUnwindSafe for ObstacleConfig
impl Send for ObstacleConfig
impl Sync for ObstacleConfig
impl Unpin for ObstacleConfig
impl UnsafeUnpin for ObstacleConfig
impl UnwindSafe for ObstacleConfig
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