liba 0.1.15
An algorithm library based on C/C++
|
instance structure for cubic polynomial trajectory More...
#include <trajpoly3.h>
Data Fields | |
double | p [4] |
coefficients of position | |
double | v [3] |
coefficients of velocity | |
double | a [2] |
coefficients of acceleration | |
instance structure for cubic polynomial trajectory
\begin{aligned} \begin{array}{l} p(t)=c_{0}+c_{1}\left(t-t_{0}\right)+c_{2}\left(t-t_{0}\right)^{2}+c_{3}\left(t-t_{0}\right)^{3} \\ \dot{p}(t)=c_{1}+2 c_{2}\left(t-t_{0}\right)+3 c_{3}\left(t-t_{0}\right)^{2} \\ \ddot{p}(t)=2 c_{2}+6 c_{3}\left(t-t_{0}\right) \end{array} \end{aligned}