#[repr(C)]pub struct PamojaGuidance {
pub twist: PamojaTwist,
pub distance_m: f64,
pub heading_error_deg: f32,
pub arrived: u8,
}Expand description
The command toward a waypoint, with the geometry behind it.
Fields§
§twist: PamojaTwistThe body motion to drive.
distance_m: f64The distance left to the target, in meters.
heading_error_deg: f32The heading error to the target, in degrees, in (-180, 180].
arrived: u81 once the target is within the arrival radius, else 0.
Trait Implementations§
Source§impl Clone for PamojaGuidance
impl Clone for PamojaGuidance
Source§fn clone(&self) -> PamojaGuidance
fn clone(&self) -> PamojaGuidance
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 PamojaGuidance
Source§impl Debug for PamojaGuidance
impl Debug for PamojaGuidance
Source§impl PartialEq for PamojaGuidance
impl PartialEq for PamojaGuidance
impl StructuralPartialEq for PamojaGuidance
Auto Trait Implementations§
impl Freeze for PamojaGuidance
impl RefUnwindSafe for PamojaGuidance
impl Send for PamojaGuidance
impl Sync for PamojaGuidance
impl Unpin for PamojaGuidance
impl UnsafeUnpin for PamojaGuidance
impl UnwindSafe for PamojaGuidance
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