Fixed typo causing test failure

This commit is contained in:
Alessandro Ranellucci 2017-05-12 19:25:58 +02:00
parent 1c4b8602cb
commit 9670f2b712

View File

@ -40,7 +40,7 @@ MotionPlanner::initialize()
// loop through islands in order to create inner expolygons and collect their contours
Polygons outer_holes;
for (MotionPlannerEnv island : this->islands) {
for (MotionPlannerEnv &island : this->islands) {
// generate the internal env boundaries by shrinking the island
// we'll use these inner rings for motion planning (endpoints of the Voronoi-based
// graph, visibility check) in order to avoid moving too close to the boundaries