Function husarion_ugv_manager::behavior_tree_utils::RegisterBehaviorTree(BT::BehaviorTreeFactory&, const std::string&, const std::vector<std::string>)

Function Documentation

inline void husarion_ugv_manager::behavior_tree_utils::RegisterBehaviorTree(BT::BehaviorTreeFactory &factory, const std::string &bt_project_path, const std::vector<std::string> plugin_libs)

Registers a BehaviorTree into the factory from a file, with custom BT nodes loaded from plugins.

Parameters:
  • factory – The BT factory used to register nodes and the BehaviorTree.

  • bt_project_path – The path to the BehaviorTree project file.

  • plugin_libs – A vector containing the names of the nodes that will be registered from plugins.