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