Skip to content

Commit

Permalink
debug print frontier costs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrnr committed May 19, 2017
1 parent 8e341b7 commit 4fc9609
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions explore/src/explore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ void Explore::makePlan()
// find frontiers
auto frontiers = search_.searchFrom({});
ROS_DEBUG("found %lu frontiers", frontiers.size());
for (size_t i = 0; i < frontiers.size(); ++i) {
ROS_DEBUG("frontier %zd cost: %f", i, frontiers[i].cost);
}

if (frontiers.empty()) {
stop();
Expand Down

0 comments on commit 4fc9609

Please sign in to comment.