Skip to content

Commit 5619203

Browse files
micro-ROS rolling Library auto-update 04-02-2023 06:17 (#1281)
Co-authored-by: pablogs9 <[email protected]>
1 parent 3861b53 commit 5619203

File tree

198 files changed

+12976
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+12976
-6
lines changed

available_ros2_types

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ sensor_msgs/RelativeHumidity.msg
159159
sensor_msgs/SetCameraInfo.srv
160160
sensor_msgs/Temperature.msg
161161
sensor_msgs/TimeReference.msg
162+
service_msgs/ServiceEventInfo.msg
162163
shape_msgs/Mesh.msg
163164
shape_msgs/MeshTriangle.msg
164165
shape_msgs/Plane.msg

built_packages

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ https://github.com/ros-controls/control_msgs 1416954c31432c192ff95a06559847e8738
1818
https://github.com/ros2/ament_cmake_ros.git 134b6b8f7775d6b72bf6fc95d09bc884f521c1f8
1919
https://github.com/ros2/common_interfaces.git eb4f3e31ddd223fd33f69f40f0ce6d79da8effe2
2020
https://github.com/ros2/example_interfaces.git b8f0d45b3f5a7dd2f493ca9821bcfc40f69d5103
21-
https://github.com/ros2/libyaml_vendor.git 1501196665666188702cdba4f9537ff0e20a5a41
21+
https://github.com/ros2/libyaml_vendor.git 47199192a732db4c99d34dfb7faa6ed51f6c959a
2222
https://github.com/ros2/rcl.git b9de17458e5f359368257a2f0608c7031d607595
23-
https://github.com/ros2/rcl_interfaces.git 43ffb7b6df6a98a1a35d0932d148ad12de549594
23+
https://github.com/ros2/rcl_interfaces.git 466e0855f9b4b87c8e57571aa5c81b02012e95db
2424
https://github.com/ros2/rcl_logging.git 6612b45b23500f3a798c3b9cc293abb234c70a5a
25-
https://github.com/ros2/rclc 361fcdf6574eefb61ec82e50a7b82231394c3e41
25+
https://github.com/ros2/rclc 1d31f436592a778158d5b800c1854adcf8ddc798
2626
https://github.com/ros2/rcpputils.git 8593a4fc66bb1348eba263639559ca638f21a19a
2727
https://github.com/ros2/rmw.git 4b6f14b3f03fa3fea31f31ab7c232eceb12b0c41
2828
https://github.com/ros2/rmw_implementation.git 5ca69c397ac694598c8f4c3f34aac8256aa0ae17
29-
https://github.com/ros2/rosidl.git a46056cc3cf0c69d1d1db5b9c2afbfd13fe9fba3
29+
https://github.com/ros2/rosidl.git a63f32e7c425da1a8ea300227ac82fb7b3a0bd28
3030
https://github.com/ros2/rosidl_core.git ef51d18c37ab3fe9da87b2f6e0eb38730c5daad4
3131
https://github.com/ros2/rosidl_dds.git b77614d56bd69b76099add672c42b4a32c3075d1
32-
https://github.com/ros2/rosidl_defaults.git 3a33f8afee61cf77480a7bac1ae6d176bbc34c7e
32+
https://github.com/ros2/rosidl_defaults.git a3f753d1527cbc8be3b6c41c172d68732414584d
3333
https://github.com/ros2/test_interface_files.git 9735cbc1b4116c3f59289e2be45b1bd70a3b4e40
3434
https://github.com/ros2/unique_identifier_msgs.git 1183d57d2ec2598fa4285fb0f38fd0f56d90d08f
3535
https://github.com/yaml/libyaml.git 2c891fc7a770e8ba2fec34fc6b545c672beb37e6

src/action_msgs/srv/detail/cancel_goal__functions.h

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,157 @@ action_msgs__srv__CancelGoal_Response__Sequence__copy(
322322
const action_msgs__srv__CancelGoal_Response__Sequence * input,
323323
action_msgs__srv__CancelGoal_Response__Sequence * output);
324324

325+
/// Initialize srv/CancelGoal message.
326+
/**
327+
* If the init function is called twice for the same message without
328+
* calling fini inbetween previously allocated memory will be leaked.
329+
* \param[in,out] msg The previously allocated message pointer.
330+
* Fields without a default value will not be initialized by this function.
331+
* You might want to call memset(msg, 0, sizeof(
332+
* action_msgs__srv__CancelGoal_Event
333+
* )) before or use
334+
* action_msgs__srv__CancelGoal_Event__create()
335+
* to allocate and initialize the message.
336+
* \return true if initialization was successful, otherwise false
337+
*/
338+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
339+
bool
340+
action_msgs__srv__CancelGoal_Event__init(action_msgs__srv__CancelGoal_Event * msg);
341+
342+
/// Finalize srv/CancelGoal message.
343+
/**
344+
* \param[in,out] msg The allocated message pointer.
345+
*/
346+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
347+
void
348+
action_msgs__srv__CancelGoal_Event__fini(action_msgs__srv__CancelGoal_Event * msg);
349+
350+
/// Create srv/CancelGoal message.
351+
/**
352+
* It allocates the memory for the message, sets the memory to zero, and
353+
* calls
354+
* action_msgs__srv__CancelGoal_Event__init().
355+
* \return The pointer to the initialized message if successful,
356+
* otherwise NULL
357+
*/
358+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
359+
action_msgs__srv__CancelGoal_Event *
360+
action_msgs__srv__CancelGoal_Event__create();
361+
362+
/// Destroy srv/CancelGoal message.
363+
/**
364+
* It calls
365+
* action_msgs__srv__CancelGoal_Event__fini()
366+
* and frees the memory of the message.
367+
* \param[in,out] msg The allocated message pointer.
368+
*/
369+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
370+
void
371+
action_msgs__srv__CancelGoal_Event__destroy(action_msgs__srv__CancelGoal_Event * msg);
372+
373+
/// Check for srv/CancelGoal message equality.
374+
/**
375+
* \param[in] lhs The message on the left hand size of the equality operator.
376+
* \param[in] rhs The message on the right hand size of the equality operator.
377+
* \return true if messages are equal, otherwise false.
378+
*/
379+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
380+
bool
381+
action_msgs__srv__CancelGoal_Event__are_equal(const action_msgs__srv__CancelGoal_Event * lhs, const action_msgs__srv__CancelGoal_Event * rhs);
382+
383+
/// Copy a srv/CancelGoal message.
384+
/**
385+
* This functions performs a deep copy, as opposed to the shallow copy that
386+
* plain assignment yields.
387+
*
388+
* \param[in] input The source message pointer.
389+
* \param[out] output The target message pointer, which must
390+
* have been initialized before calling this function.
391+
* \return true if successful, or false if either pointer is null
392+
* or memory allocation fails.
393+
*/
394+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
395+
bool
396+
action_msgs__srv__CancelGoal_Event__copy(
397+
const action_msgs__srv__CancelGoal_Event * input,
398+
action_msgs__srv__CancelGoal_Event * output);
399+
400+
/// Initialize array of srv/CancelGoal messages.
401+
/**
402+
* It allocates the memory for the number of elements and calls
403+
* action_msgs__srv__CancelGoal_Event__init()
404+
* for each element of the array.
405+
* \param[in,out] array The allocated array pointer.
406+
* \param[in] size The size / capacity of the array.
407+
* \return true if initialization was successful, otherwise false
408+
* If the array pointer is valid and the size is zero it is guaranteed
409+
# to return true.
410+
*/
411+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
412+
bool
413+
action_msgs__srv__CancelGoal_Event__Sequence__init(action_msgs__srv__CancelGoal_Event__Sequence * array, size_t size);
414+
415+
/// Finalize array of srv/CancelGoal messages.
416+
/**
417+
* It calls
418+
* action_msgs__srv__CancelGoal_Event__fini()
419+
* for each element of the array and frees the memory for the number of
420+
* elements.
421+
* \param[in,out] array The initialized array pointer.
422+
*/
423+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
424+
void
425+
action_msgs__srv__CancelGoal_Event__Sequence__fini(action_msgs__srv__CancelGoal_Event__Sequence * array);
426+
427+
/// Create array of srv/CancelGoal messages.
428+
/**
429+
* It allocates the memory for the array and calls
430+
* action_msgs__srv__CancelGoal_Event__Sequence__init().
431+
* \param[in] size The size / capacity of the array.
432+
* \return The pointer to the initialized array if successful, otherwise NULL
433+
*/
434+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
435+
action_msgs__srv__CancelGoal_Event__Sequence *
436+
action_msgs__srv__CancelGoal_Event__Sequence__create(size_t size);
437+
438+
/// Destroy array of srv/CancelGoal messages.
439+
/**
440+
* It calls
441+
* action_msgs__srv__CancelGoal_Event__Sequence__fini()
442+
* on the array,
443+
* and frees the memory of the array.
444+
* \param[in,out] array The initialized array pointer.
445+
*/
446+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
447+
void
448+
action_msgs__srv__CancelGoal_Event__Sequence__destroy(action_msgs__srv__CancelGoal_Event__Sequence * array);
449+
450+
/// Check for srv/CancelGoal message array equality.
451+
/**
452+
* \param[in] lhs The message array on the left hand size of the equality operator.
453+
* \param[in] rhs The message array on the right hand size of the equality operator.
454+
* \return true if message arrays are equal in size and content, otherwise false.
455+
*/
456+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
457+
bool
458+
action_msgs__srv__CancelGoal_Event__Sequence__are_equal(const action_msgs__srv__CancelGoal_Event__Sequence * lhs, const action_msgs__srv__CancelGoal_Event__Sequence * rhs);
459+
460+
/// Copy an array of srv/CancelGoal messages.
461+
/**
462+
* This functions performs a deep copy, as opposed to the shallow copy that
463+
* plain assignment yields.
464+
*
465+
* \param[in] input The source array pointer.
466+
* \param[out] output The target array pointer, which must
467+
* have been initialized before calling this function.
468+
* \return true if successful, or false if either pointer
469+
* is null or memory allocation fails.
470+
*/
471+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
472+
bool
473+
action_msgs__srv__CancelGoal_Event__Sequence__copy(
474+
const action_msgs__srv__CancelGoal_Event__Sequence * input,
475+
action_msgs__srv__CancelGoal_Event__Sequence * output);
325476
#ifdef __cplusplus
326477
}
327478
#endif

src/action_msgs/srv/detail/cancel_goal__rosidl_typesupport_introspection_c.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_action_msgs
3030
const rosidl_message_type_support_t *
3131
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, action_msgs, srv, CancelGoal_Response)();
3232

33+
// already included above
34+
// #include "rosidl_runtime_c/message_type_support_struct.h"
35+
// already included above
36+
// #include "rosidl_typesupport_interface/macros.h"
37+
// already included above
38+
// #include "action_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
39+
40+
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_action_msgs
41+
const rosidl_message_type_support_t *
42+
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, action_msgs, srv, CancelGoal_Event)();
43+
3344
#include "rosidl_runtime_c/service_type_support_struct.h"
3445
// already included above
3546
// #include "rosidl_typesupport_interface/macros.h"

src/action_msgs/srv/detail/cancel_goal__struct.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,43 @@ typedef struct action_msgs__srv__CancelGoal_Response__Sequence
113113
size_t capacity;
114114
} action_msgs__srv__CancelGoal_Response__Sequence;
115115

116+
117+
// Constants defined in the message
118+
119+
// Include directives for member types
120+
// Member 'info'
121+
#include "service_msgs/msg/detail/service_event_info__struct.h"
122+
123+
// constants for array fields with an upper bound
124+
// request
125+
enum
126+
{
127+
action_msgs__srv__CancelGoal_Event__request__MAX_SIZE = 1
128+
};
129+
// response
130+
enum
131+
{
132+
action_msgs__srv__CancelGoal_Event__response__MAX_SIZE = 1
133+
};
134+
135+
/// Struct defined in srv/CancelGoal in the package action_msgs.
136+
typedef struct action_msgs__srv__CancelGoal_Event
137+
{
138+
service_msgs__msg__ServiceEventInfo info;
139+
action_msgs__srv__CancelGoal_Request__Sequence request;
140+
action_msgs__srv__CancelGoal_Response__Sequence response;
141+
} action_msgs__srv__CancelGoal_Event;
142+
143+
// Struct for a sequence of action_msgs__srv__CancelGoal_Event.
144+
typedef struct action_msgs__srv__CancelGoal_Event__Sequence
145+
{
146+
action_msgs__srv__CancelGoal_Event * data;
147+
/// The number of valid items in data
148+
size_t size;
149+
/// The number of allocated items in data
150+
size_t capacity;
151+
} action_msgs__srv__CancelGoal_Event__Sequence;
152+
116153
#ifdef __cplusplus
117154
}
118155
#endif

src/action_msgs/srv/detail/cancel_goal__type_support.h

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,19 @@ ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
3939
CancelGoal_Response
4040
)();
4141

42+
// already included above
43+
// #include "rosidl_runtime_c/message_type_support_struct.h"
44+
45+
// Forward declare the get type support functions for this type.
46+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
47+
const rosidl_message_type_support_t *
48+
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
49+
rosidl_typesupport_c,
50+
action_msgs,
51+
srv,
52+
CancelGoal_Event
53+
)();
54+
4255
#include "rosidl_runtime_c/service_type_support_struct.h"
4356

4457
// Forward declare the get type support functions for this type.
@@ -51,6 +64,32 @@ ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
5164
CancelGoal
5265
)();
5366

67+
// Forward declare the function to create a service event message for this type.
68+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
69+
void *
70+
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_CREATE_EVENT_MESSAGE_SYMBOL_NAME(
71+
rosidl_typesupport_c,
72+
action_msgs,
73+
srv,
74+
CancelGoal
75+
)(
76+
const rosidl_service_introspection_info_t * info,
77+
rcutils_allocator_t * allocator,
78+
const void * request_message,
79+
const void * response_message);
80+
81+
// Forward declare the function to destroy a service event message for this type.
82+
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
83+
bool
84+
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_DESTROY_EVENT_MESSAGE_SYMBOL_NAME(
85+
rosidl_typesupport_c,
86+
action_msgs,
87+
srv,
88+
CancelGoal
89+
)(
90+
void * event_msg,
91+
rcutils_allocator_t * allocator);
92+
5493
#ifdef __cplusplus
5594
}
5695
#endif

0 commit comments

Comments
 (0)