15 Eigen::MatrixXd desiredValue = Eigen::MatrixXd::Zero(
nDoF,
TRAJ_DIM);
30 desiredValue.block(0,
POS_INDEX,
nonRotationDof,1) = tau * (
waypoints.block(0,(
currentWaypointIndex+1),
nonRotationDof,1) -
waypoints.block(0,
currentWaypointIndex,
nonRotationDof,1)) +
waypoints.block(0,
currentWaypointIndex,
nonRotationDof,1);
34 Eigen::Rotation3d qStart, qEnd;
38 Eigen::Rotation3d interpolatedQuat =
quaternionSlerp(tau, qStart, qEnd);
Eigen::MatrixXd waypoints
Eigen::VectorXd pointToPointDurationVector
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
Eigen::Rotation3d quaternionSlerp(double tau, Eigen::Rotation3d &qStart, Eigen::Rotation3d &qEnd)
Eigen::MatrixXd getDesiredValues(double time)
double pointToPointDuration
Eigen::VectorXd quaternionToEigenVector(Eigen::Rotation3d &quat)
bool eigenVectorToQuaternion(const Eigen::VectorXd &quatVec, Eigen::Rotation3d &quat)