diff --git a/crosbot_explore/src/nodes/astar_explorer_node.cpp b/crosbot_explore/src/nodes/astar_explorer_node.cpp index a81dc4f179dd5fb5b37b56758fb1be9c399595f1..eff4297bf09a34da6e963b5954c3bfe834aca083 100644 --- a/crosbot_explore/src/nodes/astar_explorer_node.cpp +++ b/crosbot_explore/src/nodes/astar_explorer_node.cpp @@ -356,7 +356,7 @@ bool MoveNode::updateWaypoints() { // Get current pose of the robot (in frame of reference of voronoi) if (loaded) { - ROS_INFO("%s getting latest pose at: %.5lf", LOG_START, tNow.toSec()); + if (debugMsgs) ROS_INFO("%s getting latest pose at: %.5lf", LOG_START, tNow.toSec()); currentPose = getLatestPose(astarVoronoi->frame, tNow); if (!currentPose.isFinite()) { loaded = false;