Skip to content

Commit e6d0cb7

Browse files
micro-ROS galactic Library auto-update 29-07-2021 06:18 (#402)
Co-authored-by: pablogs9 <pablogs9@users.noreply.github.com>
1 parent 541e7e7 commit e6d0cb7

File tree

13 files changed

+108
-28
lines changed

13 files changed

+108
-28
lines changed

built_packages

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ https://github.com/ament/googletest.git 79c4c9db1a7bc8bc5473a280499bf776173653d6
66
https://github.com/ament/ament_cmake.git d87b9776e0178f5a31d7e389990b5de6fc3067dd
77
https://github.com/ament/ament_lint.git 4bc68c815ce308b3443e3cb38fd71e2b03ffdc40
88
https://github.com/ros2/ament_cmake_ros.git 7b6b599c3fc8023806db2a97b344e8610902adac
9-
https://github.com/micro-ROS/rmw-microxrcedds.git fd1570af6906e6323db2345aa6cd27709514a5af
9+
https://github.com/micro-ROS/rmw-microxrcedds.git 30658350495ea891301e11c000f9e22d2ebea62a
1010
https://github.com/micro-ROS/rcl ae6b2abc43f71ad9e7d1fce6da76d0e2cc88578a
1111
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git d41a3103458636d1e9df88508077d657d01d5ccb
1212
https://github.com/micro-ROS/rosidl_typesupport.git 0e03d18809cb08215877ff856a916ec35a066561
1313
https://github.com/micro-ROS/rcutils 500ee3fcb16bf6260453c75b50c3d7785d724443
1414
https://github.com/micro-ROS/micro_ros_utilities c829971bd33ac1f14a94aa722476110b4b59eaf9
1515
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git/ 07ae5aa5c456f887f2aa82896e207a3209309a50
16-
https://github.com/ros2/rclc be7c43c0b0dfd7d5b9ba6026631196ad3a09d447
16+
https://github.com/ros2/rclc b04e6ca8142ce1edf28d558998507bef5a203ae7
1717
https://github.com/micro-ROS/micro_ros_msgs.git c8af6d4f246d1b324e6578ec967c8ddc1f4093d5
1818
https://github.com/ros-controls/control_msgs 11fdcdf76434d8ca9047787d17add4e18f56e9d6
1919
https://github.com/ros2/rcl_interfaces.git c5d0a20150533a6cb93d5dcbd6e27cea9300aa6e
@@ -31,4 +31,4 @@ https://github.com/ros2/rosidl.git dceaeb91f72a72e3867557690e2cc074e349230c
3131
https://github.com/ros2/rmw.git f9f4ef46f8dd3ef938526a1140a3c57c155a259f
3232
https://github.com/ros2/rosidl_defaults.git 6665e8848389f2c67d7c68ce7c53ca957ebcc97e
3333
https://github.com/eProsima/Micro-CDR.git 21c99e0d8d140c50b45f13c8ed3716cb9fa0fb27
34-
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 2693d83bd9c37bd4615c38163b9078084fc79730
34+
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 4ccec07f4089ec1ec49e72c4ed0484ae6515cd75

src/cortex-m0plus/libmicroros.a

1.89 KB
Binary file not shown.

src/cortex-m3/libmicroros.a

3.52 KB
Binary file not shown.
374 Bytes
Binary file not shown.
394 Bytes
Binary file not shown.
394 Bytes
Binary file not shown.

src/mk20dx256/libmicroros.a

1.44 KB
Binary file not shown.
1.44 KB
Binary file not shown.

src/rclc/executor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ rclc_executor_add_subscription(
233233
rclc_executor_t * executor,
234234
rcl_subscription_t * subscription,
235235
void * msg,
236-
rclc_callback_t callback,
236+
rclc_subscription_callback_t callback,
237237
rclc_executor_handle_invocation_t invocation);
238238

239239
/**

src/rclc/executor_handle.h

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,17 @@ extern "C"
3131
typedef enum
3232
{
3333
SUBSCRIPTION,
34+
SUBSCRIPTION_WITH_CONTEXT,
3435
TIMER,
36+
// TIMER_WITH_CONTEXT, // TODO
3537
CLIENT,
38+
CLIENT_WITH_REQUEST_ID,
39+
// CLIENT_WITH_CONTEXT, // TODO
3640
SERVICE,
41+
SERVICE_WITH_REQUEST_ID,
42+
SERVICE_WITH_CONTEXT,
3743
GUARD_CONDITION,
44+
// GUARD_CONDITION_WITH_CONTEXT, //TODO
3845
NONE
3946
} rclc_executor_handle_type_t;
4047

@@ -46,21 +53,13 @@ typedef enum
4653
ALWAYS
4754
} rclc_executor_handle_invocation_t;
4855

49-
typedef enum
50-
{
51-
CB_UNDEFINED,
52-
CB_WITHOUT_REQUEST_ID,
53-
CB_WITH_REQUEST_ID,
54-
CB_WITH_CONTEXT,
55-
} rclc_executor_handle_callback_type_t;
56-
57-
58-
/// Type definition for callback function.
59-
typedef void (* rclc_callback_t)(const void *);
60-
6156
/// Type definition for subscription callback function
6257
/// - incoming message
63-
// typedef void (* rclc_subscription_callback_t)(const void *);
58+
typedef void (* rclc_subscription_callback_t)(const void *);
59+
60+
/// Type definition (duplicate) for subscription callback function (alias for foxy and galactic).
61+
/// - incoming message
62+
typedef rclc_subscription_callback_t rclc_callback_t;
6463

6564
/// Type definition for subscription callback function
6665
/// - incoming message
@@ -137,7 +136,7 @@ typedef struct
137136

138137
/// Storage for callbacks
139138
union {
140-
rclc_callback_t callback;
139+
rclc_subscription_callback_t subscription_callback;
141140
rclc_subscription_callback_with_context_t subscription_callback_with_context;
142141
rclc_service_callback_t service_callback;
143142
rclc_service_callback_with_request_id_t service_callback_with_reqid;
@@ -159,8 +158,6 @@ typedef struct
159158
/// Interval variable. Flag, which is true, if new data is available from DDS queue
160159
/// (is set after calling rcl_take)
161160
bool data_available;
162-
/// callback type for service/client
163-
rclc_executor_handle_callback_type_t callback_type;
164161
} rclc_executor_handle_t;
165162

166163
/// Information about total number of subscriptions, guard_conditions, timers, subscription etc.

0 commit comments

Comments
 (0)