Skip to content

Commit 4a6f763

Browse files
Devis Dal Moroadrianabasbous
authored andcommitted
Debug log di
1 parent ed62064 commit 4a6f763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)