Skip to content
Snippets Groups Projects
Commit 8c3e1e57 authored by Tobias Gröger's avatar Tobias Gröger
Browse files

Use eigen conversions

parent b7dcb8b4
No related branches found
No related tags found
2 merge requests!38human tracker skeleton,!28Draft: Dev -> Main
......@@ -3,6 +3,7 @@
#include "ArmarXCore/core/exceptions/local/ExpressionException.h"
#include <armarx/navigation/conversions/eigen.h>
#include <range/v3/range/conversion.hpp>
#include <range/v3/view/transform.hpp>
......@@ -29,7 +30,7 @@ namespace armarx::navigation::components::dynamic_scene_provider
centerPos /= size;
core::Pose2D pose = core::Pose2D::Identity();
pose.translation() = centerPos.head(2);
pose.translation() = conv::to2D(centerPos);
//TODO: angle
pose.linear() = Eigen::Rotation2Df(0).toRotationMatrix();
......
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