|
ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
#include <MinimumJerkTrajectory.h>
Public Member Functions | |
| Eigen::MatrixXd | getDesiredValues (double time) |
Public Member Functions inherited from ocra::Trajectory | |
| Trajectory () | |
| void | setMaxVelocity (double newMaxVel) |
| void | setMaxVelocity (const Eigen::VectorXd &newMaxVel) |
| double | getMaxVelocity () |
| Eigen::VectorXd | getMaxVelocityVector () |
| void | setMaxAcceleration (double newMaxAcc) |
| void | setMaxAcceleration (const Eigen::VectorXd &newMaxAcc) |
| double | getMaxAcceleration () |
| Eigen::VectorXd | getMaxAccelerationVector () |
| void | setWaypoints (const std::vector< double > &startingDoubleVec, const std::vector< double > &endingDoubleVec, const int waypointSelector=0, bool endsWithQuaternion=false) |
| void | setWaypoints (const Eigen::VectorXd &startingVector, const Eigen::VectorXd &endingVector, bool endsWithQuaternion=false) |
| void | setWaypoints (Eigen::Displacementd &startingDisplacement, Eigen::Displacementd &endingDisplacement, bool endsWithQuaternion=true) |
| void | setWaypoints (Eigen::Rotation3d &startingOrientation, Eigen::Rotation3d &endingOrientation, bool endsWithQuaternion=true) |
| void | setWaypoints (const std::list< Eigen::VectorXd > &_waypoints, bool _endsWithQuaternion=false) |
| void | setWaypoints (Eigen::MatrixXd &waypoints, bool endsWithQuaternion=false) |
| virtual | ~Trajectory () |
| void | setDuration () |
| void | setDuration (const Eigen::VectorXd &_pointToPointDurationVector) |
| void | setDuration (double time) |
| bool | isFinished () |
| virtual void | getDesiredValues (double time, Eigen::MatrixXd &desiredValues, Eigen::VectorXd &variance) |
| Eigen::MatrixXd | getFullTrajectory (double dt=0.01) |
| void | getDesiredValues (double time, std::vector< double > &doubleVec) |
| void | getDesiredValues (double time, Eigen::Displacementd &disp) |
| void | getDesiredValues (double time, Eigen::Rotation3d &orient) |
| void | getDesiredValues (double time, Eigen::Displacementd &pos, Eigen::Twistd &vel, Eigen::Twistd &acc) |
| virtual double | getDuration () |
| Eigen::Rotation3d | quaternionSlerp (double tau, Eigen::Rotation3d &qStart, Eigen::Rotation3d &qEnd) |
| Eigen::VectorXd | displacementToEigenVector (Eigen::Displacementd &disp) |
| Eigen::VectorXd | quaternionToEigenVector (Eigen::Rotation3d &quat) |
| bool | eigenVectorToStdVector (const Eigen::VectorXd &dispVec, std::vector< double > &doubleVec) |
| bool | eigenMatrixToStdVector (const Eigen::MatrixXd &dispMat, std::vector< double > &doubleVec) |
| bool | eigenVectorToDisplacement (const Eigen::VectorXd &dispVec, Eigen::Displacementd &disp) |
| bool | eigenVectorToQuaternion (const Eigen::VectorXd &quatVec, Eigen::Rotation3d &quat) |
| bool | eigenVectorToTwist (const Eigen::VectorXd &twistVec, Eigen::Twistd &twist) |
| virtual void | recalculateTrajectory () |
Protected Attributes | |
| double | t0 |
Protected Attributes inherited from ocra::Trajectory | |
| double | maximumVelocity |
| Eigen::VectorXd | maximumVelocityVector |
| double | maximumAcceleration |
| Eigen::VectorXd | maximumAccelerationVector |
| std::list< Eigen::VectorXd > | waypointList |
| Eigen::MatrixXd | waypoints |
| int | nDoF |
| int | nWaypoints |
| bool | endsWithQuaternion |
| bool | startTrigger |
| int | currentWaypointIndex |
| int | nonRotationDof |
| Eigen::VectorXd | pointToPointDurationVector |
| double | pointToPointDuration |
| double | totalTrajectoryDuration |
| bool | usingDurationVector |
| bool | trajectoryFinished |
Additional Inherited Members | |
Protected Member Functions inherited from ocra::Trajectory | |
| virtual void | initializeTrajectory () |
Definition at line 9 of file MinimumJerkTrajectory.h.
|
virtual |
For details on the analytical point to point min-jerk formulation see: http://www.jneurosci.org/content/5/7/1688.full.pdf http://shadmehrlab.org/book/minimum_jerk/minimumjerk.htm
Reimplemented from ocra::Trajectory.
Definition at line 7 of file MinimumJerkTrajectory.cpp.
|
protected |
Definition at line 15 of file MinimumJerkTrajectory.h.
1.8.11