7#ifndef LIBA_TRAJPOLY7_H
8#define LIBA_TRAJPOLY7_H
20#if !defined A_TRAJPOLY7
23#if defined(__cplusplus)
64#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 1)
67#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 2)
70#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 3)
87#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 1)
102#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 2)
117#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 3)
132#if defined(__cplusplus)
136typedef struct a_trajpoly7 trajpoly7;
154#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 1)
157#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 2)
160#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 3)
163#if defined(__cplusplus)
176 a_trajpoly7_gen0(
this, ts, p0, p1, v0, v1, a0, a1, j0, j1);
182#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 1)
183 A_INLINE
void gen1() { a_trajpoly7_gen1(
this); }
189#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 2)
190 A_INLINE
void gen2() { a_trajpoly7_gen2(
this); }
196#if defined(A_TRAJPOLY7) && (A_TRAJPOLY7 + 0 > 3)
197 A_INLINE
void gen3() { a_trajpoly7_gen3(
this); }
double a_float
compiler built-in floating-point number type
Definition a.h:1003
a_float a_trajpoly7_vel(a_trajpoly7 const *ctx, a_float x)
calculate velocity for hepta polynomial trajectory
a_float a_trajpoly7_acc(a_trajpoly7 const *ctx, a_float x)
calculate acceleration for hepta polynomial trajectory
a_float a_trajpoly7_jer(a_trajpoly7 const *ctx, a_float x)
calculate jerk for hepta polynomial trajectory
void a_trajpoly7_gen(a_trajpoly7 *ctx, a_float ts, a_float p0, a_float p1, a_float v0, a_float v1, a_float a0, a_float a1, a_float j0, a_float j1)
generate for hepta polynomial trajectory
a_float a_trajpoly7_pos(a_trajpoly7 const *ctx, a_float x)
calculate position for hepta polynomial trajectory
instance structure for hepta polynomial trajectory
Definition trajpoly7.h:152
a_float a[6]
Definition trajpoly7.h:158
a_float j[5]
Definition trajpoly7.h:161
a_float p[8]
Definition trajpoly7.h:153
a_float v[7]
Definition trajpoly7.h:155