We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e482e commit 238bbffCopy full SHA for 238bbff
nav2_planner/src/planner_server.cpp
@@ -592,6 +592,7 @@ void PlannerServer::isPathValid(
592
* The lethal check starts at the closest point to avoid points that have already been passed
593
* and may have become occupied
594
*/
595
+ std::unique_lock<nav2_costmap_2d::Costmap2D::mutex_t> lock(*(costmap_->getMutex()));
596
unsigned int mx = 0;
597
unsigned int my = 0;
598
for (unsigned int i = closest_point_index; i < request->path.poses.size(); ++i) {
0 commit comments