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

Fix trajectory evaluation velocity unit

parent 244b4eae
No related branches found
No related tags found
2 merge requests!36Implement evaluate method for LocalTrajectory, Implement TebObstacleManager,!28Draft: Dev -> Main
......@@ -711,7 +711,7 @@ namespace armarx::navigation::core
math::LinearInterpolatedPose ip(lower->pose.matrix(), lower[1].pose.matrix(), 0, 1, true);
const Eigen::Vector3f distance = lower[1].pose.translation() - lower->pose.translation();
const float speed = distance.norm() / 1000 / dT.toSecondsDouble();
const float speed = distance.norm() / dT.toSecondsDouble();
return {static_cast<core::Pose>(ip.Get(t)), speed};
}
......
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