Skip to content
Snippets Groups Projects
Commit fc474df4 authored by Andre Meixner's avatar Andre Meixner :camera:
Browse files

Removed broken assert

parent e5d61ced
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,7 @@ namespace simox::math {
Eigen::Affine3f interpolatePose(const Eigen::Affine3f &posePre, const Eigen::Affine3f &poseNext, float t) {
assert(0 <= t <= 1);
Eigen::Affine3f pose = Eigen::Affine3f::Identity();
pose.translation() = (1 - t) * posePre.translation() + t * poseNext.translation();
......@@ -22,4 +20,4 @@ Eigen::Affine3f interpolatePose(const Eigen::Affine3f &posePre, const Eigen::Aff
return pose;
}
} // namespace simox::math
\ No newline at end of file
} // namespace simox::math
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