Hello, I’ve been experimenting with the C++ language output of nunavut.
I might have missed something, but I don’t see a way for an application to retrieve the maximum capacity of a variable length array from the generated types.
For example, for uavcan/primitive/Unstructured.1.0
,
In the generated C type, the capacity is defined:
#define uavcan_primitive_Unstructured_1_0_value_ARRAY_CAPACITY_ 256U
A copy of the C++ type can be found here.
Is there a way to get the capacity of value
from the C++ type?