From 5a0629ee58c191f57a727c630f3a355491e5e99f Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Sat, 12 Oct 2024 23:31:31 +0200 Subject: [PATCH] fix build errors in example --- samples/nav_rrt_planning_example/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/nav_rrt_planning_example/test.cpp b/samples/nav_rrt_planning_example/test.cpp index 9c75c60205..68ef882ae7 100644 --- a/samples/nav_rrt_planning_example/test.cpp +++ b/samples/nav_rrt_planning_example/test.cpp @@ -93,8 +93,8 @@ void TestRRT1() // gridmap.getAsPointCloud( planner_input.obstacles_points ); // Workspace bounding box: - planner_input.world_bbox_min = mrpt::math::TPoint2D(bbox.min.x, bbox.min.y); - planner_input.world_bbox_max = mrpt::math::TPoint2D(bbox.max.x, bbox.max.y); + planner_input.world_bbox_min = {bbox.min.x, bbox.min.y, -M_PI}; + planner_input.world_bbox_max = {bbox.max.x, bbox.max.y, +M_PI}; // size_t iters=0; // Show results in a GUI and keep improving: