Skip to content

Commit

Permalink
reset request before sending
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Najjar <[email protected]>
  • Loading branch information
tonynajjar committed Aug 7, 2024
1 parent f0a46ee commit 9262583
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void RemoveInCollisionGoals::on_tick()
should_send_request_ = false;
return;
}
request_ = std::make_shared<nav2_msgs::srv::GetCosts::Request>();
request_->use_footprint = use_footprint_;

for (const auto & goal : input_goals_) {
Expand Down

0 comments on commit 9262583

Please sign in to comment.