MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
parameter_override_registry.hpp File Reference
#include <functional>
#include <mutex>
#include <string>
#include <string_view>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <behaviortree_cpp/basic_types.h>
#include <behaviortree_cpp/blackboard.h>
#include <yaml-cpp/yaml.h>
#include <tl_expected/expected.hpp>
#include "moveit_pro_behavior_interface/json_serialization.hpp"
Include dependency graph for parameter_override_registry.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  moveit_pro::behavior::ParameterOverrideRegistry
 Thread-safe registry mapping a port C++ type to a parser that turns a YAML string into a typed BehaviorTree.CPP blackboard entry. More...
 

Namespaces

namespace  moveit_pro
 
namespace  moveit_pro::behavior
 

Functions

template<typename T >
void moveit_pro::behavior::registerParameterParser ()
 Register a YAML parser for type T without touching the blackboard-viewer JSON exporter.
 
template<typename T >
void moveit_pro::behavior::registerParameterType ()
 Register a parser for ROS message type T AND register the JSON converter so the override value displays as structured JSON in the blackboard viewer.
 
void moveit_pro::behavior::seedBuiltinParameterOverrideParsers ()
 Seed the registry with parsers for primitives (string, double, int, bool, YAML::Node) and every ROS message type covered by ROS_MESSAGE_YAML_PARSER in moveit_pro_common/utils/yaml_parsing_tools.hpp.