12 #ifndef DUMMYTRAJECTORYGENERATOR_H_INCLUDED 13 #define DUMMYTRAJECTORYGENERATOR_H_INCLUDED 19 #define deg2rad(deg) ((deg)*M_PI / 180.0) 20 #define rad2deg(rad) ((rad)*180.0 / M_PI) Example Implementation of TrajectoryGenerator. Includes only two trajectories (Sit-to-Stand and Stand...
std::vector< double[2]> endPoints
DummyTrajectoryGenerator(int NumOfJoints)
bool initialiseTrajectory()
Implementation of the initialiseTrajectory method in TrajectoryGenerator.
Base class of Trajectory Generator. Will always be extended with specific implementations, and is relatively scarce, given the differences expected in the different trajectories.
bool isTrajectoryFinished()
Check if the trajectory has been completed based on last elapsed time.
Abstract class which is used to generate trajectorys for a Robot to follow.
std::vector< double > getSetPoint(double time)
Implementation of the getSetPoint method in TrajectoryGenerator.
Trajectory
Enum containing possible trajectory types for DummyTrajectoryGenerator.