Skip to content
Snippets Groups Projects
Commit 40574880 authored by Fabian Paus's avatar Fabian Paus
Browse files

Merge branch 'master' of gitlab.com:ArmarX/RobotAPI

parents 693114e3 4a49c1a3
No related branches found
No related tags found
No related merge requests found
......@@ -24,4 +24,15 @@ namespace armarx::aron
dto = bo.matrix();
}
void fromAron(const AronPose& dto, Eigen::Isometry3d& bo)
{
bo.matrix() = dto.cast<double>();
}
void toAron(AronPose& dto, const Eigen::Isometry3d& bo)
{
dto = bo.matrix().cast<float>();
}
} // namespace armarx::aron
......@@ -12,4 +12,7 @@ namespace armarx::aron
void fromAron(const AronPose& dto, Eigen::Isometry3f& bo);
void toAron(AronPose& dto, const Eigen::Isometry3f& bo);
void fromAron(const AronPose& dto, Eigen::Isometry3d& bo);
void toAron(AronPose& dto, const Eigen::Isometry3d& bo);
} // namespace armarx
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