From 68464d94b08c337e079f0f4f122ab014c262632a Mon Sep 17 00:00:00 2001 From: Vladyslav Hrynchak Date: Tue, 30 Jul 2024 11:32:17 +0300 Subject: [PATCH] Added map_vis_z into handleCostmapUpdateMsgs test Signed-off-by: Vladyslav Hrynchak --- nav2_costmap_2d/test/integration/test_costmap_subscriber.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nav2_costmap_2d/test/integration/test_costmap_subscriber.cpp b/nav2_costmap_2d/test/integration/test_costmap_subscriber.cpp index 618511c2a19..6c7d8bad87d 100644 --- a/nav2_costmap_2d/test/integration/test_costmap_subscriber.cpp +++ b/nav2_costmap_2d/test/integration/test_costmap_subscriber.cpp @@ -160,12 +160,13 @@ TEST_F(TestCostmapSubscriberShould, handleFullCostmapMsgs) TEST_F(TestCostmapSubscriberShould, handleCostmapUpdateMsgs) { bool always_send_full_costmap = false; + bool map_vis_z = 0.0; std::vector> expectedCostmaps; std::vector> recievedCostmaps; auto costmapPublisher = std::make_shared( - node, costmapToSend.get(), "", topicName, always_send_full_costmap); + node, costmapToSend.get(), "", topicName, always_send_full_costmap, , map_vis_z); costmapPublisher->on_activate(); for (const auto & mapChange : mapChanges) {