#[repr(C)]pub struct trajpoly5 {
pub p: [float; 6],
pub v: [float; 5],
pub a: [float; 4],
}
Expand description
quintic polynomial trajectory
Fields§
§p: [float; 6]
coefficients of position
v: [float; 5]
coefficients of velocity
a: [float; 4]
coefficients of acceleration
Implementations§
source§impl trajpoly5
impl trajpoly5
sourcepub fn new(
ts: float,
p0: float,
p1: float,
v0: float,
v1: float,
a0: float,
a1: float
) -> Self
pub fn new( ts: float, p0: float, p1: float, v0: float, v1: float, a0: float, a1: float ) -> Self
initialize for quintic polynomial trajectory
Auto Trait Implementations§
impl RefUnwindSafe for trajpoly5
impl Send for trajpoly5
impl Sync for trajpoly5
impl Unpin for trajpoly5
impl UnwindSafe for trajpoly5
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