Template Function ublox_node::getRosUint(rclcpp::Node *, const std::string&, U&, V)
Defined in File utils.hpp
Function Documentation
-
template<typename U, typename V>
void ublox_node::getRosUint(rclcpp::Node *node, const std::string &key, U &u, V default_val) Get a unsigned integer value from the parameter server.
- Parameters:
key – the key to be used in the parameter server’s dictionary
u – storage for the retrieved value.
val – value to use if the server doesn’t contain this parameter.
- Throws:
std::runtime_error – if the parameter is out of bounds
- Returns:
true if found, false if not found.