30 #include "../Util/OrientationConversion.h"
31 #include "../exceptions/InterpolationNotDefinedException.h"
36 const QuaternionBasePtr
39 if (time < 0 || time > 1)
44 double segmentRelativeTime =
64 for (
unsigned int i = 0; i < cp.size(); i++)
75 org->orientation->qw, org->orientation->qx, org->orientation->qy, org->orientation->qz));
76 Vector3BasePtr tempPos =
77 Vector3BasePtr(
new Vector3(org->position->x, org->position->y, org->position->z));
78 return *
new PoseBasePtr(
new Pose(tempPos, tempOri));