Go to the documentation of this file.
29 #ifndef TESSERACT_VISUALIZATION_TRAJECTORY_INTERPOLATOR_H
30 #define TESSERACT_VISUALIZATION_TRAJECTORY_INTERPOLATOR_H
45 using UPtr = std::unique_ptr<TrajectoryInterpolator>;
73 #endif // TESSERACT_VISUALIZATION_TRAJECTORY_INTERPOLATOR_H
tesseract_common::JointState getState(double request_duration) const
std::chrono::system_clock::duration duration
void findStateIndices(const double &duration, long &before, long &after, double &blend) const
TrajectoryInterpolator(tesseract_common::JointTrajectory trajectory)
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
virtual ~TrajectoryInterpolator()=default
std::vector< double > duration_from_previous_
tesseract_common::JointTrajectory trajectory_
long getStateCount() const
double getStateDuration(long index) const
TrajectoryInterpolator & operator=(const TrajectoryInterpolator &)=delete
static tesseract_common::JointState interpolate(const tesseract_common::JointState &start, const tesseract_common::JointState &end, double f)
std::unique_ptr< TrajectoryInterpolator > UPtr