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

Struct of options when declaring a parameter to ROS. More...

#include <param_provider.h>

Public Attributes

bool reconfigurable = false
 If true, the parameter will be dynamically reconfigurable, otherwise it will be declared as read-only.
 
std::optional< T > default_value = std::nullopt
 An optional default value to initialize the parameter with.
 
std::optional< range_t< T > > range = std::nullopt
 An optional range of valid values of the parameter (only for numerical types).
 

Detailed Description

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

Struct of options when declaring a parameter to ROS.

If the optionals are not filled (i.e. equal to std::nullopt), no default value, minimum or maximum will be defined for the declared variable.


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