Skip to content
Snippets Groups Projects
Commit e2be3766 authored by Fabian Reister's avatar Fabian Reister
Browse files

fix: float / double

parent f364e32a
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,6 @@ void AbstractManipulability::getEllipsoidOrientationAndScale(const Eigen::Matrix ...@@ -112,7 +112,6 @@ void AbstractManipulability::getEllipsoidOrientationAndScale(const Eigen::Matrix
constexpr std::size_t POSITION_DIMS = 3; constexpr std::size_t POSITION_DIMS = 3;
constexpr std::size_t ORIENTATION_DIMS = 3; constexpr std::size_t ORIENTATION_DIMS = 3;
constexpr std::size_t POSE_DIMS = POSITION_DIMS + ORIENTATION_DIMS;
const Eigen::MatrixXd reduced_manipulability = const Eigen::MatrixXd reduced_manipulability =
(mode != Mode::Orientation || manipulability.rows() == 3) (mode != Mode::Orientation || manipulability.rows() == 3)
...@@ -137,7 +136,7 @@ void AbstractManipulability::getEllipsoidOrientationAndScale(const Eigen::Matrix ...@@ -137,7 +136,7 @@ void AbstractManipulability::getEllipsoidOrientationAndScale(const Eigen::Matrix
rotationMatrix.col(1) = eigenVectors.col(1); rotationMatrix.col(1) = eigenVectors.col(1);
rotationMatrix.col(2) = rotationMatrix.col(0).cross(rotationMatrix.col(1)); rotationMatrix.col(2) = rotationMatrix.col(0).cross(rotationMatrix.col(1));
orientation = rotationMatrix; orientation = rotationMatrix.cast<float>();
scale = eigenValues.reverse(); scale = eigenValues.reverse();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment