pub struct WaypointTrajectory {
pub motor: String<32>,
pub waypoints: Vec<Degrees, 32>,
pub dwell_ms: u32,
pub velocity_percent: u8,
}Expand description
Trajectory with multiple waypoints.
Fields§
§motor: String<32>Target motor name.
waypoints: Vec<Degrees, 32>Ordered list of waypoint positions in degrees (max 32).
dwell_ms: u32Dwell time at each waypoint (milliseconds).
velocity_percent: u8Velocity percent for all moves.
Trait Implementations§
Source§impl Clone for WaypointTrajectory
impl Clone for WaypointTrajectory
Source§fn clone(&self) -> WaypointTrajectory
fn clone(&self) -> WaypointTrajectory
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 WaypointTrajectory
impl Debug for WaypointTrajectory
Source§impl<'de> Deserialize<'de> for WaypointTrajectory
impl<'de> Deserialize<'de> for WaypointTrajectory
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
Auto Trait Implementations§
impl Freeze for WaypointTrajectory
impl RefUnwindSafe for WaypointTrajectory
impl Send for WaypointTrajectory
impl Sync for WaypointTrajectory
impl Unpin for WaypointTrajectory
impl UnwindSafe for WaypointTrajectory
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