Skip to content

Commit 5a0629e

Browse files
committed
fix build errors in example
1 parent 39f2295 commit 5a0629e

File tree

1 file changed

+2
-2
lines changed
  • samples/nav_rrt_planning_example

1 file changed

+2
-2
lines changed

samples/nav_rrt_planning_example/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ void TestRRT1()
9393
// gridmap.getAsPointCloud( planner_input.obstacles_points );
9494

9595
// Workspace bounding box:
96-
planner_input.world_bbox_min = mrpt::math::TPoint2D(bbox.min.x, bbox.min.y);
97-
planner_input.world_bbox_max = mrpt::math::TPoint2D(bbox.max.x, bbox.max.y);
96+
planner_input.world_bbox_min = {bbox.min.x, bbox.min.y, -M_PI};
97+
planner_input.world_bbox_max = {bbox.max.x, bbox.max.y, +M_PI};
9898

9999
// size_t iters=0;
100100
// Show results in a GUI and keep improving:

0 commit comments

Comments
 (0)