|
Nav2 Navigation Stack - humble
humble
ROS 2 Navigation Stack
|
A class to publish BT logs on BT status change. More...
#include <nav2_behavior_tree/include/nav2_behavior_tree/ros_topic_logger.hpp>


Public Member Functions | |
| RosTopicLogger (const rclcpp::Node::WeakPtr &ros_node, const BT::Tree &tree) | |
| A constructor for nav2_behavior_tree::RosTopicLogger. More... | |
| void | callback (BT::Duration timestamp, const BT::TreeNode &node, BT::NodeStatus prev_status, BT::NodeStatus status) override |
| Callback function which is called each time BT changes status. More... | |
| void | flush () override |
| Clear log buffer if any. | |
A class to publish BT logs on BT status change.
Definition at line 34 of file ros_topic_logger.hpp.
|
inline |
A constructor for nav2_behavior_tree::RosTopicLogger.
| ros_node | Weak pointer to parent rclcpp::Node |
| tree | BT to monitor |
Definition at line 42 of file ros_topic_logger.hpp.
|
inlineoverride |
Callback function which is called each time BT changes status.
| timestamp | Timestamp of BT status change |
| node | Node that changed status |
| prev_status | Previous status of the node |
| status | Current status of the node |
Definition at line 60 of file ros_topic_logger.hpp.