Skip to content

Commit

Permalink
planner - global path also analysed by the PathCrossingDetector [#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rayvburn committed Jan 20, 2024
1 parent 8854c36 commit 3969789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/humap_planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ base_local_planner::Trajectory HumapPlanner::findBestTrajectory(
auto traj_person = person.getTrajectoryPrediction();
trajs_people.push_back(traj_person);
}
if (crossing_.detect(traj_robot_g, trajs_people)) {
if (crossing_.detect(traj_robot_g, global_plan_, trajs_people)) {
ROS_WARN_NAMED(
"HumapPlanner",
"Detected the intersection of robot's and %lu people's trajectories. Gap to the closest person is %5.2f m.",
Expand Down

0 comments on commit 3969789

Please sign in to comment.