MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
get_optional_ports.hpp File Reference
#include <behaviortree_cpp/basic_types.h>
#include <behaviortree_cpp/tree_node.h>
#include <rclcpp/logger.hpp>
#include <rclcpp/logging.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
Include dependency graph for get_optional_ports.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  moveit_pro
 
namespace  moveit_pro::behaviors
 

Functions

template<typename T >
std::optional< T > moveit_pro::behaviors::convertExpectedToOptional (BT::Expected< T > exp)
 
template<typename... Args>
std::tuple< std::optional< Args >... > moveit_pro::behaviors::getOptionalInputs (BT::Expected< Args >... args)
 
template<typename T >
bool moveit_pro::behaviors::shouldWarnOnMissingBlackboardEntry (const nonstd::expected< T, BT::PortInputError > &exp)
 
template<typename T >
std::optional< T > moveit_pro::behaviors::convertDiagnosticExpectedToOptional (nonstd::expected< T, BT::PortInputError > exp, std::string_view node_path, std::string_view port_key)
 
template<typename... Args>
std::tuple< std::optional< Args >... > moveit_pro::behaviors::getOptionalInputs (const BT::TreeNode &node, std::pair< std::string_view, nonstd::expected< Args, BT::PortInputError > >... args)