11 using namespace Eigen;
14 namespace trajectory {
49 Trajectory(std::vector<HebiTrajectoryPtr> trajectories,
size_t number_of_waypoints,
double start_time,
81 static std::shared_ptr<Trajectory> createUnconstrainedQp(
const VectorXd& time_vector,
const MatrixXd& positions,
82 const MatrixXd* velocities =
nullptr,
83 const MatrixXd* accelerations =
nullptr);
94 size_t getJointCount()
const {
return number_of_joints_; }
115 double getDuration()
const;
130 bool getState(
double time, VectorXd* position, VectorXd* velocity, VectorXd* acceleration)
const;
double getStartTime() const
Get the time (in seconds) at which the defined trajectory begins.
#define HEBI_DISABLE_COPY_MOVE(Class)
size_t getWaypointCount() const
The number of fixed waypoints that each joint is moving through.
const size_t number_of_waypoints_
const size_t number_of_joints_
double getEndTime() const
Get the time (in seconds) at which the defined trajectory ends.
Represents a smooth trajectory through a set of waypoints.
std::vector< HebiTrajectoryPtr > trajectories_