![]() |
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
Defines ParamProvider - a convenience class for seamlessly loading parameters from YAML or ROS. More...
#include <concepts>
#include <memory>
#include <optional>
#include <yaml-cpp/yaml.h>
#include <rclcpp/rclcpp.hpp>
#include <mrs_lib/impl/param_provider.hpp>
Go to the source code of this file.
Classes | |
class | mrs_lib::ParamProvider |
Helper class for ParamLoader and DynparamMgr. More... | |
struct | mrs_lib::ParamProvider::range_t< T > |
Helper struct for a numeric range with named members to make the code a bit more readable. More... | |
struct | mrs_lib::ParamProvider::declare_options_t< T > |
Struct of options when declaring a parameter to ROS. More... | |
struct | mrs_lib::ParamProvider::get_options_t< T > |
Struct of options when getting a parameter from ROS. More... | |
struct | mrs_lib::ParamProvider::set_options_t< T > |
Struct of options when setting a parameter to ROS. More... | |
Namespaces | |
namespace | mrs_lib |
All mrs_lib functions, classes, variables and definitions are contained in this namespace. | |
Concepts | |
concept | mrs_lib::numeric |
Convenience concept of a numeric value (i.e. either integral or floating point, and not bool). | |
Functions | |
template<typename T > | |
std::ostream & | mrs_lib::operator<< (std::ostream &os, const std::vector< T > &var) |
Helper overload for printing of std::vectors. | |
template<typename Key , typename Value > | |
std::ostream & | mrs_lib::operator<< (std::ostream &os, const std::map< Key, Value > &var) |
Helper overload for printing of std::maps. | |
std::ostream & | mrs_lib::operator<< (std::ostream &os, rclcpp::ParameterType &var) |
Helper overload for printing of rclcpp::ParameterType. | |
template<typename T > | |
rclcpp::ParameterType | mrs_lib::to_param_type () |
Convenince function to get the corresponding rclcpp::ParamType from a C++ type. | |
Defines ParamProvider - a convenience class for seamlessly loading parameters from YAML or ROS.