Skip to content

Commit

Permalink
Fix duration calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Dec 4, 2024
1 parent 6e7fb22 commit 9f0dd1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planner_cspace/src/planner_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ class Planner3dNode
hist_ignore_range_, hist_ignore_range_max_);
publishRememberedMap();
bbf_costmap_.updateCostmap();
const auto tnow = boost::chrono::high_resolution_clock::now();
const float dur = boost::chrono::duration<float>(tnow - ts).count();
ROS_DEBUG("Remembered costmap updated (%0.4f sec.)", dur);
}
Expand Down

0 comments on commit 9f0dd1f

Please sign in to comment.