Skip to content

Commit

Permalink
fixing smac collision on footprints (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored Mar 11, 2021
1 parent 24f0bc6 commit a9aa449
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class GridCollisionChecker
}

// if occupied or unknown and not to traverse unknown space
return footprint_cost_ >= OCCUPIED;
return footprint_cost_ >= INSCRIBED;
} else {
// if radius, then we can check the center of the cost assuming inflation is used
footprint_cost_ = costmap_->getCost(
Expand Down

0 comments on commit a9aa449

Please sign in to comment.