7#ifndef LIBA_TRAJPOLY3_H
8#define LIBA_TRAJPOLY3_H
20#if defined(__cplusplus)
107#if defined(__cplusplus)
111typedef struct a_trajpoly3 trajpoly3;
128#if defined(__cplusplus)
146 A_INLINE
void c0(
a_real x[4])
const
150 A_INLINE
void c1(
a_real x[3])
const
154 A_INLINE
void c2(
a_real x[2])
const
double a_real
compiler built-in floating-point number type
Definition a.h:1006
void a_trajpoly3_gen(a_trajpoly3 *ctx, a_real ts, a_real p0, a_real p1, a_real v0, a_real v1)
generate for cubic polynomial trajectory
void a_trajpoly3_c1(a_trajpoly3 const *ctx, a_real c[3])
compute coefficients of velocity for cubic polynomial trajectory
void a_trajpoly3_c2(a_trajpoly3 const *ctx, a_real c[2])
compute coefficients of acceleration for cubic polynomial trajectory
a_real a_trajpoly3_pos(a_trajpoly3 const *ctx, a_real x)
compute position for cubic polynomial trajectory
a_real a_trajpoly3_vel(a_trajpoly3 const *ctx, a_real x)
compute velocity for cubic polynomial trajectory
void a_trajpoly3_c0(a_trajpoly3 const *ctx, a_real c[4])
compute coefficients of position for cubic polynomial trajectory
a_real a_trajpoly3_acc(a_trajpoly3 const *ctx, a_real x)
compute acceleration for cubic polynomial trajectory
instance structure for cubic polynomial trajectory
Definition trajpoly3.h:126
a_real c[4]
Definition trajpoly3.h:127