3 #include "hebi_trajectory.h" 12 namespace trajectory {
23 std::vector<HebiTrajectoryPtr> trajectories_;
28 const int number_of_joints_;
33 const int number_of_waypoints_;
38 const double start_time_;
43 const double end_time_;
48 Trajectory(std::vector<HebiTrajectoryPtr> trajectories,
int number_of_waypoints,
double start_time,
double end_time);
80 static std::shared_ptr<Trajectory> createUnconstrainedQp(
81 const VectorXd& time_vector,
82 const MatrixXd& positions,
83 const MatrixXd* velocities =
nullptr,
84 const MatrixXd* accelerations =
nullptr);
116 double getDuration();
131 bool getState(
double time, VectorXd* position, VectorXd* velocity, VectorXd* acceleration);
int getJointCount()
The number of independent position trajectories over the same time domain that are managed by this ob...
Definition: trajectory.hpp:95
#define HEBI_DISABLE_COPY_MOVE(Class)
Definition: util.hpp:7
int getWaypointCount()
The number of fixed waypoints that each joint is moving through.
Definition: trajectory.hpp:100
double getStartTime()
Get the time (in seconds) at which the defined trajectory begins.
Definition: trajectory.hpp:105
Represents a smooth trajectory through a set of waypoints.
Definition: trajectory.hpp:17
double getEndTime()
Get the time (in seconds) at which the defined trajectory ends.
Definition: trajectory.hpp:110