46 core::Pose2D p2 = armarx::navigation::core::Pose2D::Identity();
47 p2.translation() = p3.translation().head<2>();
49 const auto rotatedVec = p3.rotation() * Eigen::Vector3f::UnitX();
50 const float yaw = std::atan2(rotatedVec.y(), rotatedVec.x());
52 p2.linear() = Eigen::Rotation2Df(yaw).toRotationMatrix();