Skip to content

Commit

Permalink
Remove log clutter
Browse files Browse the repository at this point in the history
Signed-off-by: Xiyu Oh <[email protected]>
  • Loading branch information
xiyuoh committed Nov 8, 2023
1 parent c01e042 commit 20aec0d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,6 @@ class ScheduledDifferentialDriveExpander
});
}

std::cout << "----> pushing " << node << ": " << std::to_string(node->line) << std::endl;
queue.push(node);
}

Expand Down Expand Up @@ -1711,7 +1710,6 @@ class ScheduledDifferentialDriveExpander

void expand(const SearchNodePtr& top, SearchQueue& queue) const
{
std::cout << "----> checking node" << std::endl;
if (!_should_expand_from(top))
{
// This means we have already expanded from this location before, at
Expand All @@ -1725,7 +1723,6 @@ class ScheduledDifferentialDriveExpander
// If the node does not have a waypoint, then it must be a start node.
if (!top->start.has_value())
{
std::cout << "----> bad node: " << top << std::endl;
throw std::runtime_error(
"[rmf_traffic::agv::planning::DifferentialDrivePlanner::expand] "
"Node has no waypoint and also no start information. It was produced "
Expand Down Expand Up @@ -2106,7 +2103,6 @@ class ScheduledDifferentialDriveExpander
while (!rollout_queue.empty() && !(_interrupter && _interrupter()))
{
const auto top = rollout_queue.back();
std::cout << "----> expanding " << top.node << ": " << std::to_string(top.node->line) << std::endl;
rollout_queue.pop_back();

const auto current_span = top.span();
Expand All @@ -2129,7 +2125,6 @@ class ScheduledDifferentialDriveExpander
expand(top.node, search_queue);
while (!search_queue.empty())
{
std::cout << "----> rolling " << search_queue.top() << ": " << std::to_string(search_queue.top()->line) << std::endl;
rollout_queue.emplace_back(
RolloutEntry{
top.initial_time,
Expand Down

0 comments on commit 20aec0d

Please sign in to comment.