42 const BT::Tree & tree,
const rclcpp::Logger & node_logger,
43 std::chrono::seconds max_logging_interval = std::chrono::seconds(0));
48 virtual void flush()
override;
71 uint16_t createStateChangeBitmask(BT::NodeStatus prev_status, BT::NodeStatus curr_status);
74 BT::Duration timestamp,
const BT::TreeNode & node, BT::NodeStatus prev_status, BT::NodeStatus status)
override;
76 const rclcpp::Logger logger_;
77 const std::string root_tree_id_;
78 const std::chrono::seconds max_logging_interval_;
79 bool logging_active_{
false};
80 std::vector<std::string> running_action_history_;
81 std::string last_running_action_name_;
82 std::map<std::pair<uint16_t, uint16_t>, BT::Duration> last_log_map_;