46 void setHistoryLength(
size_t N);
50 size_t getHistoryLength()
const;
54 void setHistoryDuration(
double t);
58 double getHistoryDuration()
const;
70 double getLastSampleTime(
size_t id,
size_t N = 0);
82 void addSample(
size_t id, Eigen::Vector3d position,
double time);
92 void removeLastSample(
size_t id);
104 Eigen::Vector3d estimateVelocity(
size_t id,
double error,
size_t *samples =
nullptr)
const;
120 Eigen::Vector3d estimatePosition(
size_t id,
double error,
double time,
size_t *samples =
nullptr)
const;
130 void cleanup(
double time = -1);
135 std::unique_ptr<Impl> _impl;