Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Sep 2, 2022
1 parent 8c1c4fc commit b0197a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ bool NoStoppingAreaModule::checkStuckVehiclesInNoStoppingArea(
const bool is_in_stuck_area = !bg::disjoint(obj_footprint, poly);
if (is_in_stuck_area) {
RCLCPP_DEBUG(logger_, "stuck vehicle found.");
for (const auto p : obj_footprint.outer()) {
for (const auto & p : obj_footprint.outer()) {
geometry_msgs::msg::Point point;
point.x = p.x();
point.y = p.y();
Expand Down

0 comments on commit b0197a2

Please sign in to comment.