pub struct CorridorLoopConfig {
pub layout: CorridorLayout,
pub start_offset: f64,
pub step: f64,
pub corner_radius: f64,
pub extra_distance: f64,
pub odometry_scale: f64,
pub odometry_yaw_drift: f64,
pub odometry_noise: f64,
pub range_noise: f64,
pub beams: usize,
pub max_range: f64,
pub seed: u64,
}Expand description
Scenario parameters for run_corridor_loop.
Fields§
§layout: CorridorLayoutPillar arrangement along the bottom corridor.
start_offset: f64Distance along the centerline (from the bottom-left start) at which the robot starts [m].
step: f64Distance travelled per step [m].
corner_radius: f64Turning radius at the corridor corners [m].
extra_distance: f64Distance driven past one full lap [m].
odometry_scale: f64Odometry distance scale factor (1.03 = over-reports by 3 %).
odometry_yaw_drift: f64Odometry yaw drift [rad/m].
odometry_noise: f64Standard deviation of per-step odometry noise [m, rad].
range_noise: f64Standard deviation of LiDAR range noise [m].
beams: usizeLiDAR beams over 360°.
max_range: f64LiDAR maximum range [m].
seed: u64RNG seed for odometry and range noise.
Trait Implementations§
Source§impl Clone for CorridorLoopConfig
impl Clone for CorridorLoopConfig
impl Copy for CorridorLoopConfig
Source§impl Debug for CorridorLoopConfig
impl Debug for CorridorLoopConfig
Source§impl Default for CorridorLoopConfig
impl Default for CorridorLoopConfig
Source§impl PartialEq for CorridorLoopConfig
impl PartialEq for CorridorLoopConfig
impl StructuralPartialEq for CorridorLoopConfig
Auto Trait Implementations§
impl Freeze for CorridorLoopConfig
impl RefUnwindSafe for CorridorLoopConfig
impl Send for CorridorLoopConfig
impl Sync for CorridorLoopConfig
impl Unpin for CorridorLoopConfig
impl UnsafeUnpin for CorridorLoopConfig
impl UnwindSafe for CorridorLoopConfig
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.