scenario_simulator_v2 C++ API
Classes | Namespaces | Macros
behavior_tree.hpp File Reference
#include <behaviortree_cpp_v3/bt_factory.h>
#include <behaviortree_cpp_v3/loggers/bt_cout_logger.h>
#include <behavior_tree_plugin/pedestrian/follow_lane_action.hpp>
#include <behavior_tree_plugin/pedestrian/walk_straight_action.hpp>
#include <behavior_tree_plugin/transition_events/transition_events.hpp>
#include <functional>
#include <geometry_msgs/msg/point.hpp>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <traffic_simulator/behavior/behavior_plugin_base.hpp>
#include <traffic_simulator/hdmap_utils/hdmap_utils.hpp>
#include <traffic_simulator_msgs/msg/entity_status.hpp>
#include <vector>
#include <visualization_msgs/msg/marker_array.hpp>
Include dependency graph for behavior_tree.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  entity_behavior::PedestrianBehaviorTree
 

Namespaces

 entity_behavior
 

Macros

#define DEFINE_GETTER_SETTER(NAME, TYPE)
 

Macro Definition Documentation

◆ DEFINE_GETTER_SETTER

#define DEFINE_GETTER_SETTER (   NAME,
  TYPE 
)
Value:
TYPE get##NAME() override { return tree_.rootBlackboard()->get<TYPE>(get##NAME##Key()); } \
void set##NAME(const TYPE & value) override \
{ \
tree_.rootBlackboard()->set<TYPE>(get##NAME##Key(), value); \
}