Template Function rsl::fixed_size

Function Documentation

template<typename T>
auto rsl::fixed_size(rclcpp::Parameter const &parameter, size_t const size)

Is the array size of parameter equal to passed in size?

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