30 typedef Eigen::Matrix<double, 3, Eigen::Dynamic>
polco;
42 void setHistoryLength(
size_t N);
46 size_t getHistoryLength()
const;
52 void setHistoryDuration(
double t);
56 double getHistoryDuration()
const;
63 double getLastSampleTime(
size_t id);
80 void addSample(
size_t id, Eigen::Vector3d position,
double time,
bool replace =
true);
98 polco estimateCoefficients
99 (
size_t id,
double error,
size_t order = 2,
size_t *samples =
nullptr);
107 Eigen::Vector3d getPolynomialPosition(
int id,
double t)
const;
115 Eigen::Vector3d getPolynomialVelocity(
int id,
double t)
const;
125 void cleanup(
double time = -1);
130 std::unique_ptr<Impl> _impl;
Eigen::Matrix< double, 3, Eigen::Dynamic > polco
Matrix holding the polynomial coefficients, one row for each dimension.
Definition EFHOAW.hh:30