AutoAPMS
Resilient Robot Mission Management
Loading...
Searching...
No Matches
BTStateObserver Class Reference

#include <auto_apms_behavior_tree/executor/state_observer.hpp>

Inheritance diagram for BTStateObserver:

Public Member Functions

 BTStateObserver (const BT::Tree &tree, const rclcpp::Logger &node_logger, std::chrono::seconds max_logging_rate=std::chrono::seconds(0))
 
virtual void flush () override
 
void setLogging (bool active)
 
const std::vector< std::string > & getRunningActionHistory () const
 
const std::string & getLastRunningActionName () const
 

Detailed Description

Definition at line 25 of file state_observer.hpp.

Constructor & Destructor Documentation

◆ BTStateObserver()

BTStateObserver ( const BT::Tree & tree,
const rclcpp::Logger & node_logger,
std::chrono::seconds max_logging_rate = std::chrono::seconds(0) )

Definition at line 22 of file state_observer.cpp.

Member Function Documentation

◆ flush()

void flush ( )
overridevirtual

Definition at line 31 of file state_observer.cpp.

◆ setLogging()

void setLogging ( bool active)

Definition at line 36 of file state_observer.cpp.

◆ getRunningActionHistory()

const std::vector< std::string > & getRunningActionHistory ( ) const

Definition at line 41 of file state_observer.cpp.

◆ getLastRunningActionName()

const std::string & getLastRunningActionName ( ) const

Definition at line 46 of file state_observer.cpp.


The documentation for this class was generated from the following files: