Drake
|
#include <drake/systems/trajectories/PiecewisePolynomialBase.h>
Public Member Functions | |
PiecewisePolynomialBase (std::vector< double > const &segment_times) | |
virtual | ~PiecewisePolynomialBase () |
virtual int | getSegmentPolynomialDegree (int segment_number, Eigen::Index row=0, Eigen::Index col=0) const =0 |
int | getNumberOfCoefficients (int segment_number, Eigen::Index row=0, Eigen::Index col=0) const |
int | getTotalNumberOfCoefficients (Eigen::Index row=0, Eigen::Index col=0) const |
Public Member Functions inherited from PiecewiseFunction | |
PiecewiseFunction (std::vector< double > const &segment_times) | |
virtual | ~PiecewiseFunction () |
virtual Eigen::Index | rows () const =0 |
virtual Eigen::Index | cols () const =0 |
int | getNumberOfSegments () const |
double | getStartTime (int segment_number) const |
double | getEndTime (int segment_number) const |
double | getDuration (int segment_number) const |
double | getStartTime () const |
double | getEndTime () const |
int | getSegmentIndex (double t) const |
const std::vector< double > & | getSegmentTimes () const |
void | segmentNumberRangeCheck (int segment_number) const |
Protected Member Functions | |
PiecewisePolynomialBase () | |
Protected Member Functions inherited from PiecewiseFunction | |
bool | segmentTimesEqual (const PiecewiseFunction &b, double tol) const |
void | checkScalarValued () const |
PiecewiseFunction () | |
Additional Inherited Members | |
Static Public Member Functions inherited from PiecewiseFunction | |
static std::vector< double > | randomSegmentTimes (int num_segments, std::default_random_engine &generator) |
Protected Attributes inherited from PiecewiseFunction | |
std::vector< double > | segment_times |
|
explicit |
|
virtual |
|
protected |
int getNumberOfCoefficients | ( | int | segment_number, |
Eigen::Index | row = 0 , |
||
Eigen::Index | col = 0 |
||
) | const |
|
pure virtual |
Implemented in PiecewisePolynomial< CoefficientType >, PiecewisePolynomial< double >, and SplineInformation.
int getTotalNumberOfCoefficients | ( | Eigen::Index | row = 0 , |
Eigen::Index | col = 0 |
||
) | const |