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

+ aron eigen conversion

parent 1019204e
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