Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatao committed Nov 2, 2023
1 parent 40375d1 commit 86d5df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner_cspace/src/planner_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,6 @@ class Planner3dNode
map_update_retained_ = msg;
return;
}
map_update_retained_ = nullptr;

last_costmap_ = now;

Expand Down Expand Up @@ -824,6 +823,7 @@ class Planner3dNode
}
}
}
map_update_retained_ = nullptr;
const auto ts_cm_init_end = boost::chrono::high_resolution_clock::now();
const float ts_cm_init_dur = boost::chrono::duration<float>(ts_cm_init_end - ts_cm_init_start).count();
ROS_DEBUG("Costmaps updated (%.4f)", ts_cm_init_dur);
Expand Down

0 comments on commit 86d5df3

Please sign in to comment.