Skip to content

Commit

Permalink
Fix #3152: Costmap extend did not include Y component (#3153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored Aug 26, 2022
1 parent b3f60f5 commit 0f7a060
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ bool RegulatedPurePursuitController::transformPose(
double RegulatedPurePursuitController::getCostmapMaxExtent() const
{
const double max_costmap_dim_meters = std::max(
costmap_->getSizeInMetersX(), costmap_->getSizeInMetersX());
costmap_->getSizeInMetersX(), costmap_->getSizeInMetersY());
return max_costmap_dim_meters / 2.0;
}

Expand Down

0 comments on commit 0f7a060

Please sign in to comment.