Template Function rsl::lower_element_bounds

Function Documentation

template<typename T>
auto rsl::lower_element_bounds(rclcpp::Parameter const &parameter, T const &lower) -> tl::expected<void, std::string>

Are all elements of parameter greater than lower bound?

Template Parameters:

T – Interior type of array; e.g. for parameter type double_array, T = double

Pre:

rclcpp::Parameter must be an array type

Returns:

Help string if the parameter is invalid, otherwise void