Drake
drake::trajectories::test Namespace Reference

Functions

template<typename CoefficientType = double>
PiecewisePolynomial< CoefficientType > MakeRandomPiecewisePolynomial (Eigen::Index rows, Eigen::Index cols, Eigen::Index num_coefficients_per_polynomial, const std::vector< double > &segment_times)
 Obtains a random PiecewisePolynomial with the given segment_times. More...
 

Function Documentation

◆ MakeRandomPiecewisePolynomial()

PiecewisePolynomial<CoefficientType> drake::trajectories::test::MakeRandomPiecewisePolynomial ( Eigen::Index  rows,
Eigen::Index  cols,
Eigen::Index  num_coefficients_per_polynomial,
const std::vector< double > &  segment_times 
)

Obtains a random PiecewisePolynomial with the given segment_times.

Each segment will have a matrix of random Polynomials of the specified size.