20#if defined(__cplusplus)
87#if defined(__cplusplus)
112#if defined(__cplusplus)
#define a_float
Definition a.h:785
double a_trajtrap_gen(a_trajtrap *ctx, double vm, double ac, double de, double p0, double p1, double v0, double v1)
generate for trapezoidal velocity trajectory
double a_trajtrap_vel(a_trajtrap const *ctx, double x)
calculate velocity for trapezoidal velocity trajectory
double a_trajtrap_acc(a_trajtrap const *ctx, double x)
calculate acceleration for trapezoidal velocity trajectory
double a_trajtrap_pos(a_trajtrap const *ctx, double x)
calculate position for trapezoidal velocity trajectory
instance structure for trapezoidal velocity trajectory
Definition trajtrap.h:99
double p1
final position
Definition trajtrap.h:102
double pd
position after constant velocity
Definition trajtrap.h:109
double pa
position before constant velocity
Definition trajtrap.h:108
double p0
initial position
Definition trajtrap.h:101
double v0
initial velocity
Definition trajtrap.h:103
double ta
time before constant velocity
Definition trajtrap.h:106
double v1
final velocity
Definition trajtrap.h:104
double t
total duration
Definition trajtrap.h:100
double td
time after constant velocity
Definition trajtrap.h:107
double de
acceleration after constant velocity
Definition trajtrap.h:111
double vc
constant velocity
Definition trajtrap.h:105
double ac
acceleration before constant velocity
Definition trajtrap.h:110