Class RosTopicLogger
Defined in File ros_topic_logger.hpp
Inheritance Relationships
Base Type
public BT::StatusChangeLogger
Class Documentation
A class to publish BT logs on BT status change.
Public Functions
A constructor for nav2_behavior_tree::RosTopicLogger.
- Parameters:
ros_node – Weak pointer to parent rclcpp::Node
tree – BT to monitor
Callback function which is called each time BT changes status.
- Parameters:
timestamp – Timestamp of BT status change
node – Node that changed status
prev_status – Previous status of the node
status – Current status of the node
Clear log buffer if any.
Protected Attributes