pub struct DWAConfig {Show 17 fields
pub max_speed: f64,
pub min_speed: f64,
pub max_yaw_rate: f64,
pub max_accel: f64,
pub max_delta_yaw_rate: f64,
pub v_resolution: f64,
pub yaw_rate_resolution: f64,
pub dt: f64,
pub predict_time: f64,
pub to_goal_cost_gain: f64,
pub speed_cost_gain: f64,
pub obstacle_cost_gain: f64,
pub robot_type: DWARobotType,
pub robot_radius: f64,
pub robot_width: f64,
pub robot_length: f64,
pub goal_threshold: f64,
}Expand description
Configuration for DWA planner
Fields§
§max_speed: f64§min_speed: f64§max_yaw_rate: f64§max_accel: f64§max_delta_yaw_rate: f64§v_resolution: f64§yaw_rate_resolution: f64§dt: f64§predict_time: f64§to_goal_cost_gain: f64§speed_cost_gain: f64§obstacle_cost_gain: f64§robot_type: DWARobotType§robot_radius: f64§robot_width: f64§robot_length: f64§goal_threshold: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DWAConfig
impl RefUnwindSafe for DWAConfig
impl Send for DWAConfig
impl Sync for DWAConfig
impl Unpin for DWAConfig
impl UnsafeUnpin for DWAConfig
impl UnwindSafe for DWAConfig
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§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.