Namespaces | |
parameter_generator_catkin | |
Functions | |
void | exit (const std::string msg="Runtime Error in rosparam handler.") |
ExitFunction for rosparam_handler. More... | |
std::string | getNodeName (const ros::NodeHandle &privateNodeHandle) |
Retrieve node name. More... | |
template<typename T > | |
bool | getParam (const std::string key, T &val) |
Get parameter from ROS parameter server. More... | |
template<typename T > | |
bool | getParam (const std::string key, T &val, const T &defaultValue) |
Get parameter from ROS parameter server or use default value. More... | |
void | setLoggerLevel (const ros::NodeHandle &nodeHandle) |
Sets the logger level according to a standardized parameter name 'verbosity'. More... | |
template<typename T > | |
void | setParam (const std::string key, T val) |
Set parameter on ROS parameter server. More... | |
void | showNodeInfo () |
Show summary about node containing name, namespace, subscribed and advertised topics. More... | |
bool | testConstParam (const std::string key) |
Tests that parameter is not set on the parameter server. More... | |
template<typename T > | |
void | testMax (const std::string key, T &val, T max=std::numeric_limits< T >::max()) |
Limit parameter to upper bound if parameter is a scalar. More... | |
template<typename T > | |
void | testMax (const std::string key, std::vector< T > &val, T max=std::numeric_limits< T >::max()) |
Limit parameter to upper bound if parameter is a vector. More... | |
template<typename K , typename T > | |
void | testMax (const std::string key, std::map< K, T > &val, T max=std::numeric_limits< T >::max()) |
Limit parameter to upper bound if parameter is a map. More... | |
template<typename T > | |
void | testMin (const std::string key, T &val, T min=std::numeric_limits< T >::min()) |
Limit parameter to lower bound if parameter is a scalar. More... | |
template<typename T > | |
void | testMin (const std::string key, std::vector< T > &val, T min=std::numeric_limits< T >::min()) |
Limit parameter to lower bound if parameter is a vector. More... | |
template<typename K , typename T > | |
void | testMin (const std::string key, std::map< K, T > &val, T min=std::numeric_limits< T >::min()) |
Limit parameter to lower bound if parameter is a map. More... | |
template<typename T > | |
std::string | to_string (const std::vector< T > &v) |
template<typename... T> | |
std::string | to_string (const std::map< T... > &map) |
|
inline |
ExitFunction for rosparam_handler.
Definition at line 119 of file utilities.hpp.
|
inline |
Retrieve node name.
privateNodeHandle | The private ROS node handle (i.e. ros::NodeHandle("~") ). |
Definition at line 108 of file utilities.hpp.
|
inline |
Get parameter from ROS parameter server.
key | Parameter name |
val | Parameter value |
Definition at line 138 of file utilities.hpp.
|
inline |
Get parameter from ROS parameter server or use default value.
If parameter does not exist on server yet, the default value is used and set on server.
key | Parameter name |
val | Parameter value |
defaultValue | Parameter default value |
Definition at line 157 of file utilities.hpp.
|
inline |
Sets the logger level according to a standardized parameter name 'verbosity'.
nodeHandle | The ROS node handle to search for the parameter 'verbosity'. |
Definition at line 49 of file utilities.hpp.
|
inline |
Set parameter on ROS parameter server.
key | Parameter name |
val | Parameter value |
Definition at line 129 of file utilities.hpp.
|
inline |
Show summary about node containing name, namespace, subscribed and advertised topics.
Definition at line 81 of file utilities.hpp.
|
inline |
Tests that parameter is not set on the parameter server.
Definition at line 170 of file utilities.hpp.
|
inline |
Limit parameter to upper bound if parameter is a scalar.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 222 of file utilities.hpp.
|
inline |
Limit parameter to upper bound if parameter is a vector.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 236 of file utilities.hpp.
|
inline |
Limit parameter to upper bound if parameter is a map.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 247 of file utilities.hpp.
|
inline |
Limit parameter to lower bound if parameter is a scalar.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 186 of file utilities.hpp.
|
inline |
Limit parameter to lower bound if parameter is a vector.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 200 of file utilities.hpp.
|
inline |
Limit parameter to lower bound if parameter is a map.
key | Parameter name |
val | Parameter value |
min | Lower Threshold |
Definition at line 211 of file utilities.hpp.
|
inline |
Definition at line 21 of file utilities.hpp.
|
inline |
Definition at line 35 of file utilities.hpp.