trajectory_collection
Namespaces | Functions
ElementInterpolation.h File Reference
#include <SpaceVecAlg/SpaceVecAlg>
Include dependency graph for ElementInterpolation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 TrajColl
 

Functions

template<class T >
TrajColl::interpolate (const T &start, const T &end, double ratio)
 Calculate the value interpolating from start to end. More...
 
template<>
Eigen::Quaterniond TrajColl::interpolate (const Eigen::Quaterniond &start, const Eigen::Quaterniond &end, double ratio)
 Calculate the Quaternion interpolating from start to end. More...
 
template<>
Eigen::Matrix3d TrajColl::interpolate (const Eigen::Matrix3d &start, const Eigen::Matrix3d &end, double ratio)
 Calculate the 3D matrix interpolating from start to end. More...
 
template<>
sva::PTransformd TrajColl::interpolate (const sva::PTransformd &start, const sva::PTransformd &end, double ratio)
 Calculate the pose interpolating from start to end. More...
 
template<class T , class U = T>
TrajColl::interpolateDerivative (const T &start, const T &end, double, int order=1)
 Calculate the derivative value interpolating from start to end. More...
 
template<>
double TrajColl::interpolateDerivative (const double &start, const double &end, double, int order)
 Calculate the derivative of scalar value interpolating from start to end. More...
 
template<>
Eigen::Vector3d TrajColl::interpolateDerivative (const Eigen::Quaterniond &start, const Eigen::Quaterniond &end, double, int order)
 Calculate the derivative of Quaternion interpolating from start to end. More...
 
template<>
Eigen::Vector3d TrajColl::interpolateDerivative (const Eigen::Matrix3d &start, const Eigen::Matrix3d &end, double, int order)
 Calculate the derivative of 3D matrix interpolating from start to end. More...
 
template<>
sva::MotionVecd TrajColl::interpolateDerivative (const sva::PTransformd &start, const sva::PTransformd &end, double, int order)
 Calculate the derivative of pose interpolating from start to end. More...
 
template<>
sva::ForceVecd TrajColl::interpolateDerivative (const sva::ForceVecd &start, const sva::ForceVecd &end, double, int order)
 Calculate the derivative of wrench interpolating from start to end. More...