utils::QuinticPolynomialBase< T > Struct Template Reference

#include <lipm_walking/utils/polynomials.h>

Inheritance diagram for utils::QuinticPolynomialBase< T >:
utils::PolynomialBase< T > utils::QuinticPolynomial< T > utils::QuinticHermitePolynomial< T >

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW QuinticPolynomialBase (const T &C0, const T &C1, const T &C2, const T &C3, const T &C4, const T &C5)
 
pos (double t) const
 
vel (double t) const
 
accel (double t) const
 
- Public Member Functions inherited from utils::PolynomialBase< T >
tangent (double t) const
 
double arcLength (double t_start, double t_end) const
 
double arcLengthInverse (double t_start, double length, double t_guess=-1.) const
 

Protected Attributes

C0_
 
C1_
 
C2_
 
C3_
 
C4_
 
C5_
 

Detailed Description

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

Quintic polynomial.

Definition at line 421 of file polynomials.h.

Constructor & Destructor Documentation

◆ QuinticPolynomialBase()

template<typename T >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW utils::QuinticPolynomialBase< T >::QuinticPolynomialBase ( const T &  C0,
const T &  C1,
const T &  C2,
const T &  C3,
const T &  C4,
const T &  C5 
)
inline

Build a new curve from its monomial vector coefficients.

Parameters
C0Zero-order coefficient.
C1First-order coefficient.
C2Second-order coefficient.
C3Third-order coefficient.
C4Fourth-order coefficient.
C5Fifth-order coefficient.

Definition at line 440 of file polynomials.h.

Member Function Documentation

◆ accel()

template<typename T >
T utils::QuinticPolynomialBase< T >::accel ( double  t) const
inlinevirtual

Get the value of the second-order derivative (acceleration) at time t.

Parameters
tValue of the polynomial argument.

Implements utils::PolynomialBase< T >.

Definition at line 470 of file polynomials.h.

◆ pos()

template<typename T >
T utils::QuinticPolynomialBase< T >::pos ( double  t) const
inlinevirtual

Get the value of the polynomial at time t.

Parameters
tValue of the polynomial argument.

Implements utils::PolynomialBase< T >.

Definition at line 450 of file polynomials.h.

◆ vel()

template<typename T >
T utils::QuinticPolynomialBase< T >::vel ( double  t) const
inlinevirtual

Get the value of the first-order derivative (velocity) at time t.

Parameters
tValue of the polynomial argument.

Implements utils::PolynomialBase< T >.

Definition at line 460 of file polynomials.h.

Member Data Documentation

◆ C0_

template<typename T >
T utils::QuinticPolynomialBase< T >::C0_
protected

Definition at line 476 of file polynomials.h.

◆ C1_

template<typename T >
T utils::QuinticPolynomialBase< T >::C1_
protected

Definition at line 477 of file polynomials.h.

◆ C2_

template<typename T >
T utils::QuinticPolynomialBase< T >::C2_
protected

Definition at line 478 of file polynomials.h.

◆ C3_

template<typename T >
T utils::QuinticPolynomialBase< T >::C3_
protected

Definition at line 479 of file polynomials.h.

◆ C4_

template<typename T >
T utils::QuinticPolynomialBase< T >::C4_
protected

Definition at line 480 of file polynomials.h.

◆ C5_

template<typename T >
T utils::QuinticPolynomialBase< T >::C5_
protected

Definition at line 481 of file polynomials.h.


The documentation for this struct was generated from the following file: