![]() |
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
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). | |
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.