#[repr(C)]pub struct PamojaWaypointFollower {
pub cruise: f32,
pub arrival_m: f64,
pub heading_gain: f32,
pub max_angular: f32,
}Expand description
Steers toward a waypoint: the speeds and gains of a carrot-following guide.
Fields§
§cruise: f32The forward speed when pointed at the target; its magnitude is used.
arrival_m: f64How close, in meters, counts as arrived; its magnitude is used.
heading_gain: f32The yaw rate commanded per radian of heading error; its magnitude is used.
max_angular: f32The largest yaw rate to command; its magnitude is used.
Trait Implementations§
Source§impl Clone for PamojaWaypointFollower
impl Clone for PamojaWaypointFollower
Source§fn clone(&self) -> PamojaWaypointFollower
fn clone(&self) -> PamojaWaypointFollower
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaWaypointFollower
Source§impl Debug for PamojaWaypointFollower
impl Debug for PamojaWaypointFollower
Source§impl PartialEq for PamojaWaypointFollower
impl PartialEq for PamojaWaypointFollower
impl StructuralPartialEq for PamojaWaypointFollower
Auto Trait Implementations§
impl Freeze for PamojaWaypointFollower
impl RefUnwindSafe for PamojaWaypointFollower
impl Send for PamojaWaypointFollower
impl Sync for PamojaWaypointFollower
impl Unpin for PamojaWaypointFollower
impl UnsafeUnpin for PamojaWaypointFollower
impl UnwindSafe for PamojaWaypointFollower
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