29#ifndef TESSERACT_VISUALIZATION_TRAJECTORY_INTERPOLATOR_H
30#define TESSERACT_VISUALIZATION_TRAJECTORY_INTERPOLATOR_H
45 using UPtr = std::unique_ptr<TrajectoryInterpolator>;
66 void findStateIndices(
const double& duration,
long& before,
long& after,
double& blend)
const;
Definition: joint_state.h:39
Represents a joint trajectory.
Definition: joint_state.h:78
Definition: trajectory_interpolator.h:43
long getStateCount() const
Definition: trajectory_interpolator.cpp:143
tesseract_common::JointState getState(double request_duration) const
Definition: trajectory_interpolator.cpp:101
tesseract_common::JointTrajectory trajectory_
Definition: trajectory_interpolator.h:63
double getStateDuration(long index) const
Definition: trajectory_interpolator.cpp:131
std::unique_ptr< TrajectoryInterpolator > UPtr
Definition: trajectory_interpolator.h:45
bool empty() const
Definition: trajectory_interpolator.cpp:164
TrajectoryInterpolator(const TrajectoryInterpolator &)=delete
std::vector< double > duration_from_previous_
Definition: trajectory_interpolator.h:64
static tesseract_common::JointState interpolate(const tesseract_common::JointState &start, const tesseract_common::JointState &end, double t)
Definition: trajectory_interpolator.cpp:145
virtual ~TrajectoryInterpolator()=default
TrajectoryInterpolator & operator=(TrajectoryInterpolator &&)=delete
TrajectoryInterpolator(TrajectoryInterpolator &&)=delete
TrajectoryInterpolator & operator=(const TrajectoryInterpolator &)=delete
void findStateIndices(const double &duration, long &before, long &after, double &blend) const
Definition: trajectory_interpolator.cpp:70
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: conversions.h:39
JointTrajectory trajectory
Definition: tesseract_common_serialization_unit.cpp:95