Skip to content

Commit 4a6f763

Browse files
devis12adrianabasbous
authored andcommitted
Debug log di
1 parent ed62064 commit 4a6f763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

behaviortree_ros2/src/tree_execution_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void TreeExecutionServer::execute(
242242
RCLCPP_WARN(kLogger, action_result->return_message.c_str());
243243
};
244244

245-
if(debugTree.inDebugMode())
245+
if(debug_flag && debugTree.isPaused())
246246
{
247247
RCLCPP_INFO(kLogger, "Debugging mode enabled for tree %s: you should open Groot monitor mode to launch the tree tick and debug it",
248248
p_->tree_name.c_str());

0 commit comments

Comments
 (0)