From 3f676d80d6ca1dbf0bdabc66d91563f148b62f71 Mon Sep 17 00:00:00 2001 From: redvinaa Date: Thu, 9 Jan 2025 11:14:05 +0100 Subject: [PATCH] Set pose frame id in test Signed-off-by: redvinaa --- nav2_mppi_controller/test/controller_state_transition_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nav2_mppi_controller/test/controller_state_transition_test.cpp b/nav2_mppi_controller/test/controller_state_transition_test.cpp index dc8f49a2a3a..fe051b745ef 100644 --- a/nav2_mppi_controller/test/controller_state_transition_test.cpp +++ b/nav2_mppi_controller/test/controller_state_transition_test.cpp @@ -58,6 +58,7 @@ TEST(ControllerStateTransitionTest, ControllerNotFail) // evalControl args auto pose = getDummyPointStamped(node, start_pose); + pose.header.frame_id = costmap_ros->getGlobalFrameID(); auto velocity = getDummyTwist(); auto path = getIncrementalDummyPath(node, path_settings);