Template Function ublox_node::checkMin

Function Documentation

template<typename V, typename T>
void ublox_node::checkMin(V val, T min, const std::string &name)

Check that the parameter is above the minimum.

Parameters:
  • val – the value to check

  • min – the minimum for this value

  • name – the name of the parameter

Throws:

std::runtime_error – if it is below the minimum