liba 0.1.15
An algorithm library based on C/C++
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
hepta polynomial trajectory
Collaboration diagram for hepta polynomial trajectory:

Data Structures

struct  a_trajpoly7
 instance structure for hepta polynomial trajectory More...
 

Typedefs

typedef struct a_trajpoly7 a_trajpoly7
 

Functions

void a_trajpoly7_gen (a_trajpoly7 *ctx, a_real ts, a_real p0, a_real p1, a_real v0, a_real v1, a_real a0, a_real a1, a_real j0, a_real j1)
 generate for hepta polynomial trajectory
 
void a_trajpoly7_c0 (a_trajpoly7 const *ctx, a_real c[8])
 compute coefficients of position for hepta polynomial trajectory
 
void a_trajpoly7_c1 (a_trajpoly7 const *ctx, a_real c[7])
 compute coefficients of velocity for hepta polynomial trajectory
 
void a_trajpoly7_c2 (a_trajpoly7 const *ctx, a_real c[6])
 compute coefficients of acceleration for hepta polynomial trajectory
 
void a_trajpoly7_c3 (a_trajpoly7 const *ctx, a_real c[5])
 compute coefficients of jerk for hepta polynomial trajectory
 
a_real a_trajpoly7_pos (a_trajpoly7 const *ctx, a_real x)
 compute position for hepta polynomial trajectory
 
a_real a_trajpoly7_vel (a_trajpoly7 const *ctx, a_real x)
 compute velocity for hepta polynomial trajectory
 
a_real a_trajpoly7_acc (a_trajpoly7 const *ctx, a_real x)
 compute acceleration for hepta polynomial trajectory
 
a_real a_trajpoly7_jer (a_trajpoly7 const *ctx, a_real x)
 compute jerk for hepta polynomial trajectory
 

Detailed Description

Function Documentation

◆ a_trajpoly7_acc()

a_real a_trajpoly7_acc ( a_trajpoly7 const * ctx,
a_real x )

compute acceleration for hepta polynomial trajectory

p¨(t)=2c2+6c3(tt0)+12c4(tt0)2+20c5(tt0)3+30c6(tt0)4+42c7(tt0)5

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[in]xdifference between current time and initial time
Returns
acceleration output

◆ a_trajpoly7_c0()

void a_trajpoly7_c0 ( a_trajpoly7 const * ctx,
a_real c[8] )

compute coefficients of position for hepta polynomial trajectory

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[out]ccoefficients of position

◆ a_trajpoly7_c1()

void a_trajpoly7_c1 ( a_trajpoly7 const * ctx,
a_real c[7] )

compute coefficients of velocity for hepta polynomial trajectory

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[out]ccoefficients of velocity

◆ a_trajpoly7_c2()

void a_trajpoly7_c2 ( a_trajpoly7 const * ctx,
a_real c[6] )

compute coefficients of acceleration for hepta polynomial trajectory

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[out]ccoefficients of acceleration

◆ a_trajpoly7_c3()

void a_trajpoly7_c3 ( a_trajpoly7 const * ctx,
a_real c[5] )

compute coefficients of jerk for hepta polynomial trajectory

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[out]ccoefficients of jerk

◆ a_trajpoly7_gen()

void a_trajpoly7_gen ( a_trajpoly7 * ctx,
a_real ts,
a_real p0,
a_real p1,
a_real v0,
a_real v1,
a_real a0,
a_real a1,
a_real j0,
a_real j1 )

generate for hepta polynomial trajectory

{t=t1t0p=p1p0c0=p0c1=v0c2=a02c3=j06c4=(4j0j1)t3+(15a130a0)t2+(120v090v1)t+210p6t4c5=(2j0+j1)t3+(20a014a1)t2+(90v0+78v1)t168p2t5c6=(4j03j1)t3+(39a145a0)t2+(216v0204v1)t+420p6t6c7=(j0+j1)t3+(12a012a1)t2+(60v0+60v1)t120p6t7

Parameters
[in,out]ctxpoints to an instance of hepta polynomial trajectory
[in]tsdifference between final time and initial time
[in]p0initial position
[in]p1final position
[in]v0initial velocity
[in]v1final velocity
[in]a0initial acceleration
[in]a1final acceleration
[in]j0initial jerk
[in]j1final jerk

◆ a_trajpoly7_jer()

a_real a_trajpoly7_jer ( a_trajpoly7 const * ctx,
a_real x )

compute jerk for hepta polynomial trajectory

p(3)(t)=6c3+24c4(tt0)+60c5(tt0)2+120c6(tt0)3+210c7(tt0)4

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[in]xdifference between current time and initial time
Returns
jerk output

◆ a_trajpoly7_pos()

a_real a_trajpoly7_pos ( a_trajpoly7 const * ctx,
a_real x )

compute position for hepta polynomial trajectory

p(t)=c0+c1(tt0)+c2(tt0)2+c3(tt0)3+c4(tt0)4+c5(tt0)5+c6(tt0)6+c7(tt0)7

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[in]xdifference between current time and initial time
Returns
position output

◆ a_trajpoly7_vel()

a_real a_trajpoly7_vel ( a_trajpoly7 const * ctx,
a_real x )

compute velocity for hepta polynomial trajectory

p˙(t)=c1+2c2(tt0)+3c3(tt0)2+4c4(tt0)3+5c5(tt0)4+6c6(tt0)5+7c7(tt0)6

Parameters
[in]ctxpoints to an instance of hepta polynomial trajectory
[in]xdifference between current time and initial time
Returns
velocity output