mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib::ParamProvider::get_options_t< T > Struct Template Reference

Struct of options when getting a parameter from ROS. More...

#include <param_provider.h>

Public Attributes

bool always_declare = false
 Iff true, the parameter will be declared to ROS even if it's value was loaded from a YAML.
 
bool use_yaml = true
 Iff false, loading from YAML will be skipped even if some YAML files were specified.
 
std::optional< bool > use_rosparam = std::nullopt
 Specifies whether the parameter should be attempted to be loaded from ROS if it cannot be loaded from a YAML.
 
std::optional< std::string > prefix = std::nullopt
 If filled, overrides any prefix set using the setPrefix() method.
 
declare_options_t< T > declare_options = {}
 Options when declaring a parameter to ROS (see the declare_options_t<T> documentation).
 

Detailed Description

template<typename T>
struct mrs_lib::ParamProvider::get_options_t< T >

Struct of options when getting a parameter from ROS.

If the optionals are not filled (i.e. equal to std::nullopt), the values set in the ParamProvider class are used.


The documentation for this struct was generated from the following file: