26 #include <Eigen/Geometry>
33 CalculateRelativeMovement::SubClassRegistry
47 const float distance = in.getdistanceMillimeters();
48 const Eigen::Vector3f movementDirection = in.getmovementDirection()->toEigen();
50 Eigen::Vector3f relativeMovement =
distance * movementDirection.normalized();
52 const Eigen::Isometry3f robotRelativeMovement((Eigen::Translation3f(relativeMovement)));
54 out.setrelativeMovement(
toIce(robotRelativeMovement.matrix()));