Drake
|
#include <drake/systems/trajectories/PiecewiseFunction.h>
Public Member Functions | |
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 |
Static Public Member Functions | |
static std::vector< double > | randomSegmentTimes (int num_segments, std::default_random_engine &generator) |
Protected Member Functions | |
bool | segmentTimesEqual (const PiecewiseFunction &b, double tol) const |
void | checkScalarValued () const |
PiecewiseFunction () | |
Protected Attributes | |
std::vector< double > | segment_times |
|
explicit |
|
virtual |
|
protected |
|
protected |
|
pure virtual |
Implemented in PiecewisePolynomial< CoefficientType >, PiecewisePolynomial< double >, ExponentialPlusPiecewisePolynomial< CoefficientType >, ExponentialPlusPiecewisePolynomial< double >, and SplineInformation.
double getDuration | ( | int | segment_number | ) | const |
double getEndTime | ( | int | segment_number | ) | const |
double getEndTime | ( | ) | const |
int getNumberOfSegments | ( | ) | const |
int getSegmentIndex | ( | double | t | ) | const |
const std::vector< double > & getSegmentTimes | ( | ) | const |
double getStartTime | ( | int | segment_number | ) | const |
double getStartTime | ( | ) | const |
|
static |
|
pure virtual |
Implemented in PiecewisePolynomial< CoefficientType >, PiecewisePolynomial< double >, ExponentialPlusPiecewisePolynomial< CoefficientType >, ExponentialPlusPiecewisePolynomial< double >, and SplineInformation.
void segmentNumberRangeCheck | ( | int | segment_number | ) | const |
|
protected |
|
protected |