Skip to content

Commit 414fa9b

Browse files
micro-ROS galactic Library auto-update 14-05-2022 06:37 (#990)
Co-authored-by: pablogs9 <[email protected]>
1 parent 189aaee commit 414fa9b

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

built_packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ https://github.com/ament/uncrustify_vendor.git 8945c291fbd36d7980f7e4fd641601c27
88
https://github.com/eProsima/Micro-CDR.git cb4403a8780095df94a7b1936b1e00153c90070d
99
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 9b9278c0b3a633aa7ad634bda2fd2c4f04093dcf
1010
https://github.com/micro-ROS/micro_ros_msgs.git e3664463e78ae5d0c34d86be92d707b3d9dfd27d
11-
https://github.com/micro-ROS/micro_ros_utilities 327213a5d798b51616530f5223542c9cf91c0731
11+
https://github.com/micro-ROS/micro_ros_utilities 87a447cd60366cde24bd0776ef86687e73a1aa92
1212
https://github.com/micro-ROS/rcl 32aa288817ee54473213ec6d4c6c075c0135c682
1313
https://github.com/micro-ROS/rcutils 85efa4ad786fb6920ae92156ab439dec0315299b
1414
https://github.com/micro-ROS/rmw-microxrcedds.git b0f9724a2c638cf35b4b1c6003a58b6ddd1e7785

src/micro_ros_utilities/type_utilities.h

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,61 @@ extern "C"
3232
// Memory rule
3333
typedef struct micro_ros_utilities_memory_rule_t
3434
{
35+
/**
36+
* Pattern matching the fully qualified name of a msg field.
37+
*
38+
*/
3539
const char * rule;
40+
41+
/**
42+
* Maximum string or sequence capacity for fields matching \ref rule.
43+
*
44+
*/
3645
size_t size;
3746
} micro_ros_utilities_memory_rule_t;
3847

3948
// Memory configuration string
4049
typedef struct micro_ros_utilities_memory_conf_t
4150
{
51+
/**
52+
* Maximum string capacity to use for msg fields in case they don't have a
53+
* custom rule assigned to them.
54+
*
55+
*/
4256
size_t max_string_capacity;
57+
58+
/**
59+
* Maximum capacity to use for sequence type msg fields (ie: unbounded
60+
* arrays and lists) which contain ROS 2 msg types, in case they don't have
61+
* a custom rule assigned to them.
62+
*
63+
*/
4364
size_t max_ros2_type_sequence_capacity;
65+
66+
/**
67+
* Maximum capacity to use for sequence type msg fields (ie: unbounded
68+
* arrays and lists) which contain basic types (ie: primitive field types),
69+
* in case they don't have a custom rule assigned to them.
70+
*
71+
*/
4472
size_t max_basic_type_sequence_capacity;
73+
74+
/**
75+
* All rules defined in this configuration.
76+
*
77+
*/
4578
const micro_ros_utilities_memory_rule_t * rules;
79+
80+
/**
81+
* Total number of rules defined in this configuration.
82+
*
83+
*/
4684
size_t n_rules;
85+
86+
/**
87+
* The allocator to use when applying this configuration.
88+
*
89+
*/
4790
const rcutils_allocator_t * allocator;
4891
} micro_ros_utilities_memory_conf_t;
4992

@@ -56,7 +99,7 @@ static const micro_ros_utilities_memory_conf_t micro_ros_utilities_memory_conf_d
5699
*/
57100

58101
/**
59-
* Returns a string with the type instronspection data
102+
* Returns a string with the type introspection data
60103
*
61104
* <hr>
62105
* Attribute | Adherence

0 commit comments

Comments
 (0)