Template Function ublox_node::getRosUint(rclcpp::Node *, const std::string&, U&)

Function Documentation

template<typename U>
bool ublox_node::getRosUint(rclcpp::Node *node, const std::string &key, U &u)

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.

Throws:

std::runtime_error – if the parameter is out of bounds

Returns:

true if found, false if not found.