From b8a4aa349517ea4c5a4b6c8b425ad212139ca9ab Mon Sep 17 00:00:00 2001 From: Fabian Reister <fabian.reister@kit.edu> Date: Mon, 16 May 2022 09:11:10 +0200 Subject: [PATCH] fix --- .../armarx/navigation/algorithms/test/algorithms_spfa_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/armarx/navigation/algorithms/test/algorithms_spfa_test.cpp b/source/armarx/navigation/algorithms/test/algorithms_spfa_test.cpp index 858dfa16..6a0db3eb 100644 --- a/source/armarx/navigation/algorithms/test/algorithms_spfa_test.cpp +++ b/source/armarx/navigation/algorithms/test/algorithms_spfa_test.cpp @@ -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); -- GitLab