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

fix

parent 667d2f5d
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ BOOST_AUTO_TEST_CASE(testGrid)
Eigen::Vector2f start{1500, 0};
const auto vertex = costmap.toVertex(start);
const auto position = costmap.toPosition(vertex.index);
const auto position = costmap.toPositionGlobal(vertex.index);
BOOST_CHECK_LT(std::abs(start.x() - position.x()), cellSize);
BOOST_CHECK_LT(std::abs(start.y() - position.y()), cellSize);
......
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