utils::CubicPolynomial< double > Struct Template Reference

#include <lipm_walking/utils/polynomials.h>

Inheritance diagram for utils::CubicPolynomial< double >:
utils::CubicPolynomialBase< double > utils::PolynomialBase< double >

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW double zero ()
 Zero function used for double specialization. More...
 
 CubicPolynomial ()
 Empty constructor. More...
 
- Public Member Functions inherited from utils::CubicPolynomialBase< double >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CubicPolynomialBase (const double &C0, const double &C1, const double &C2, const double &C3)
 Build a new curve from its monomial vector coefficients. More...
 
double pos (double t) const
 Get the value of the polynomial at time t. More...
 
double vel (double t) const
 Get the value of the first-order derivative (velocity) at time t. More...
 
double accel (double t) const
 Get the value of the second-order derivative (acceleration) at time t. More...
 
- Public Member Functions inherited from utils::PolynomialBase< double >
double 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< double >
double C0_
 
double C1_
 
double C2_
 
double C3_
 

Detailed Description

template<>
struct utils::CubicPolynomial< double >

Definition at line 229 of file polynomials.h.

Constructor & Destructor Documentation

utils::CubicPolynomial< double >::CubicPolynomial ( )
inline

Empty constructor.

Definition at line 244 of file polynomials.h.

Member Function Documentation

EIGEN_MAKE_ALIGNED_OPERATOR_NEW double utils::CubicPolynomial< double >::zero ( )
inline

Zero function used for double specialization.

Definition at line 236 of file polynomials.h.