Skip to content

Commit

Permalink
Pad polygon on filter load
Browse files Browse the repository at this point in the history
  • Loading branch information
geotsam committed Mar 13, 2024
1 parent df2b333 commit 5395231
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/polygon_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ bool LaserScanPolygonFilterBase::configure()
param_config.invert = invert_filter_;
dyn_server_->updateConfig(param_config);

padPolygon(polygon_, polygon_padding);

polygon_pub_ = private_nh.advertise<geometry_msgs::PolygonStamped>("polygon", 1, true);
is_polygon_published_ = false;

Expand Down

0 comments on commit 5395231

Please sign in to comment.