Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette committed Mar 1, 2023
1 parent 9bf37c0 commit 7a76516
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions type_description_interfaces/msg/FieldType.msg
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ uint8 FIELD_TYPE_BOUNDED_WSTRING_UNBOUNDED_SEQUENCE = 166
uint8 type_id 0

# Only used when the type is an array or a bounded sequence.
# In the case of an array, this is the fixed length of the array.
# In the case of an array, this is the fixed capacity of the array.
# In the case of a bounded sequence, this is the maximum capacity of the sequence.
# In all other cases this field is unused.
uint64 capacity

# Only used when the type is a fixed or bounded string/wstring, or a array/sequence of those.
# In the case of a fixed string/wstring, it is the fixed length of the string.
# In the case of a bounded string/wstring, it is the maximum length of the string.
# In the case of a bounded string/wstring, it is the maximum capacity of the string.
# In the case of an array/sequence of fixed string/wstring, it is the fixed length of the strings.
# In the case of an array/sequence of bounded string/wstring, it is the maximum length of the strings.
# It is not currently possible to have different string lengths per element in the array/sequence.
uint64 string_length
# In the case of an array/sequence of bounded string/wstring, it is the maximum capacity of the strings.
# It is not currently possible to have different string capacities per element in the array/sequence.
uint64 string_capacity

# Only used when the type is a nested type or array/sequence of nested types.
# This is limited to 255 characters.
Expand Down

0 comments on commit 7a76516

Please sign in to comment.