7#ifndef LIBA_TRAJPOLY5_H
8#define LIBA_TRAJPOLY5_H
20#if !defined A_TRAJPOLY5
23#if defined(__cplusplus)
58#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 1)
61#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 2)
78#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 1)
93#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 2)
108#if defined(__cplusplus)
112typedef struct a_trajpoly5 trajpoly5;
129#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 1)
132#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 2)
135#if defined(__cplusplus)
146 a_trajpoly5_gen0(
this, ts, p0, p1, v0, v1, a0, a1);
152#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 1)
153 A_INLINE
void gen1() { a_trajpoly5_gen1(
this); }
159#if defined(A_TRAJPOLY5) && (A_TRAJPOLY5 + 0 > 2)
160 A_INLINE
void gen2() { a_trajpoly5_gen2(
this); }
double a_float
compiler built-in floating-point number type
Definition a.h:1003
a_float a_trajpoly5_vel(a_trajpoly5 const *ctx, a_float x)
calculate velocity for quintic polynomial trajectory
void a_trajpoly5_gen(a_trajpoly5 *ctx, a_float ts, a_float p0, a_float p1, a_float v0, a_float v1, a_float a0, a_float a1)
generate for quintic polynomial trajectory
a_float a_trajpoly5_pos(a_trajpoly5 const *ctx, a_float x)
calculate position for quintic polynomial trajectory
a_float a_trajpoly5_acc(a_trajpoly5 const *ctx, a_float x)
calculate acceleration for quintic polynomial trajectory
instance structure for quintic polynomial trajectory
Definition trajpoly5.h:127
a_float v[5]
Definition trajpoly5.h:130
a_float a[4]
Definition trajpoly5.h:133
a_float p[6]
Definition trajpoly5.h:128