utils::CubicPolynomial< T > Struct Template Reference

#include <lipm_walking/utils/polynomials.h>

Inheritance diagram for utils::CubicPolynomial< T >:
utils::CubicPolynomialBase< T > utils::PolynomialBase< T > utils::CubicHermitePolynomial< T > utils::HoubaPolynomial< T >

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW T zero ()
 Return T's zero. More...
 
 CubicPolynomial ()
 Empty constructor. More...
 
- Public Member Functions inherited from utils::CubicPolynomialBase< T >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CubicPolynomialBase (const T &C0, const T &C1, const T &C2, const T &C3)
 Build a new curve from its monomial vector coefficients. More...
 
T pos (double t) const
 Get the value of the polynomial at time t. More...
 
T vel (double t) const
 Get the value of the first-order derivative (velocity) at time t. More...
 
T accel (double t) const
 Get the value of the second-order derivative (acceleration) at time t. More...
 
- Public Member Functions inherited from utils::PolynomialBase< T >
T tangent (double t) const
 Get the value of the tangent vector at time t. More...
 
double arcLength (double t_start, double t_end) const
 Compute the arc length between two points of the polynomial curve. More...
 
double arcLengthInverse (double t_start, double length, double t_guess=-1.) const
 Inverse of the arc length function. More...
 

Additional Inherited Members

- Protected Attributes inherited from utils::CubicPolynomialBase< T >
T C0_
 
T C1_
 
T C2_
 
T C3_
 

Detailed Description

template<typename T>
struct utils::CubicPolynomial< T >

Definition at line 210 of file polynomials.h.

Constructor & Destructor Documentation

template<typename T>
utils::CubicPolynomial< T >::CubicPolynomial ( )
inline

Empty constructor.

Definition at line 225 of file polynomials.h.

Member Function Documentation

template<typename T>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW T utils::CubicPolynomial< T >::zero ( )
inline

Return T's zero.

Definition at line 217 of file polynomials.h.