Skip to content

Commit ce47eb9

Browse files
micro-ROS rolling Library auto-update 14-06-2023 06:16 (#1417)
Co-authored-by: pablogs9 <[email protected]>
1 parent a9199f5 commit ce47eb9

File tree

15 files changed

+36
-9
lines changed

15 files changed

+36
-9
lines changed

built_packages

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ https://github.com/ament/uncrustify_vendor.git fafded5cb059d5055d6d5def44fe18b03
88
https://github.com/eProsima/Micro-CDR.git ed4fd513a24a53b93d548d342cb7aa0a18716f04
99
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 5cd43eb0ba97c7ec21949492344b8bf05e04572c
1010
https://github.com/micro-ROS/micro_ros_msgs.git 6169930ea21b4deb9b400ac479475d1efb3853a8
11-
https://github.com/micro-ROS/micro_ros_utilities f1d9a0ac76f7bed299621016e2777824eef485cb
12-
https://github.com/micro-ROS/rcl d3b91f8c7711cdfb15e90a9fb627bfeea4771b74
11+
https://github.com/micro-ROS/micro_ros_utilities 726d95d22c8688d1b71bb41e873e2ee134996706
12+
https://github.com/micro-ROS/rcl c471b2fcbe20c6ebe8194f151f20217e6bd9f593
1313
https://github.com/micro-ROS/rcutils 6f2c2f8550c34ad4dcc2ca90605b5f2789c64243
14-
https://github.com/micro-ROS/rmw-microxrcedds.git 7c44d9d384a867a4225bf1910bb7f49aeae84963
14+
https://github.com/micro-ROS/rmw-microxrcedds.git 6833232797d1034860125e949f34067a850eeb43
1515
https://github.com/micro-ROS/rosidl_dynamic_typesupport.git 9dcea0491f208e2935c52edd32f279c1267826d7
1616
https://github.com/micro-ROS/rosidl_typesupport.git 9e3abf7effcbee61fe9b57712220e22e093b22b5
1717
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 3d4589be60981c24aef5f8926d40125a80878961
@@ -20,15 +20,15 @@ https://github.com/ros2/ament_cmake_ros.git 15f835d0e31354c4ac958a32b5f1caa42465
2020
https://github.com/ros2/common_interfaces.git 366eea24ffce6c87f8860cbcd27f4863f46ad822
2121
https://github.com/ros2/example_interfaces.git 108037a8216a6c39be5ecc9f7c18e79a95445805
2222
https://github.com/ros2/libyaml_vendor.git db9428a3012ac09ee0cfe59443508fe13aaacd86
23-
https://github.com/ros2/rcl.git 993132380fe02784c1f9be813a12fc8c4e2788da
23+
https://github.com/ros2/rcl.git 230ae2f55167e789f2e15c81b79a49a63ddbc3ec
2424
https://github.com/ros2/rcl_interfaces.git f03ee90089b96e9d6aa699019f43f17e1b0ac291
2525
https://github.com/ros2/rcl_logging.git e9f237d29cfa9651eb96273e7e1fefb978faa1dc
26-
https://github.com/ros2/rclc 2648503e3fdcf1308bd1d3748e1f4792285cd1b1
26+
https://github.com/ros2/rclc 555192cd831eb9974018d5191fa52c0c6238c603
2727
https://github.com/ros2/rcpputils.git 47ad866332d307a9f6a9fe46391efcd1c9a2de54
2828
https://github.com/ros2/rmw.git e523e4706ae6e20134fb835a91d18b74a134175e
2929
https://github.com/ros2/rmw_implementation.git 29640b9f2b480a3e6c13126203714d4bb6d5e7d2
3030
https://github.com/ros2/ros2_tracing.git 4f545019b5db0c452033f64d56035f73b64cd692
31-
https://github.com/ros2/rosidl.git fcf7b5f84d4bfc285ab9ff17c5ee7413804c82be
31+
https://github.com/ros2/rosidl.git 69efae078fd3a4c4122ff695de99f69e4dcd5dbc
3232
https://github.com/ros2/rosidl_core.git 84fa73d3974fe31fbe397e41e4449a31c2fb6ce4
3333
https://github.com/ros2/rosidl_dds.git 16a3503d7694917f0c968e3918351e8d2f7fdb38
3434
https://github.com/ros2/rosidl_defaults.git 65d0e79a6f477e22b7213590bc8d2465e16cedbf

src/cortex-m0plus/libmicroros.a

1.71 KB
Binary file not shown.

src/cortex-m3/libmicroros.a

1.7 KB
Binary file not shown.

src/cortex-m4/libmicroros.a

1.53 KB
Binary file not shown.
1.71 KB
Binary file not shown.
1.63 KB
Binary file not shown.
1.47 KB
Binary file not shown.

src/esp32/libmicroros.a

2.5 KB
Binary file not shown.
1.47 KB
Binary file not shown.

src/mk20dx256/libmicroros.a

1.43 KB
Binary file not shown.
1.43 KB
Binary file not shown.
1.43 KB
Binary file not shown.

src/rclc/executor.h

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,29 @@ typedef enum
5050
LET
5151
} rclc_executor_semantics_t;
5252

53+
typedef enum
54+
{
55+
NONE,
56+
SINGLE_THREADED,
57+
MULTI_THREADED,
58+
NON_POSIX,
59+
} rclc_executor_type_t;
60+
5361
/// Type definition for trigger function. With the parameters:
5462
/// - array of executor_handles
5563
/// - size of array
5664
/// - application specific struct used in the trigger function
5765
typedef bool (* rclc_executor_trigger_t)(rclc_executor_handle_t *, unsigned int, void *);
5866

67+
/// function pointer specification
68+
typedef struct rclc_executor_t_s rclc_executor_t;
69+
typedef rcl_ret_t (* rclc_executor_func_t)(rclc_executor_t *);
70+
5971
/// Container for RCLC-Executor
60-
typedef struct
72+
struct rclc_executor_t_s
6173
{
74+
/// Type of Executor
75+
rclc_executor_type_t type;
6276
/// Context (to get information if ROS is up-and-running)
6377
rcl_context_t * context;
6478
/// Container for dynamic array for DDS-handles
@@ -83,7 +97,9 @@ typedef struct
8397
void * trigger_object;
8498
/// data communication semantics
8599
rclc_executor_semantics_t data_comm_semantics;
86-
} rclc_executor_t;
100+
/// pointer to custom executor data structure
101+
void * custom;
102+
};
87103

88104
/**
89105
* Return a rclc_executor_t struct with pointer members initialized to `NULL`

src/rclc/executor_handle.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ typedef struct
165165
/// Interval variable. Flag, which is true, if new data is available from DDS queue
166166
/// (is set after calling rcl_take)
167167
bool data_available;
168+
/// pointer to custom handle
169+
void * custom;
168170
} rclc_executor_handle_t;
169171

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

src/rclc_parameter/rclc_parameter.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ extern "C"
3434
#include <rcl_interfaces/msg/set_parameters_result.h>
3535
#include <rcl_interfaces/srv/list_parameters.h>
3636
#include <rcl_interfaces/srv/set_parameters.h>
37+
#include <rcl_interfaces/srv/set_parameters_atomically.h>
3738
#include <rcl_interfaces/srv/describe_parameters.h>
3839
#include <rcl_interfaces/msg/parameter_descriptor.h>
3940
#include <rosidl_runtime_c/string_functions.h>
@@ -53,6 +54,10 @@ typedef struct rcl_interfaces__srv__SetParameters_Request SetParameters_Request;
5354
typedef struct rcl_interfaces__srv__SetParameters_Response SetParameters_Response;
5455
typedef struct rcl_interfaces__msg__SetParametersResult SetParameters_Result;
5556

57+
typedef struct rcl_interfaces__srv__SetParametersAtomically_Request SetParametersAtomically_Request;
58+
typedef struct rcl_interfaces__srv__SetParametersAtomically_Response
59+
SetParametersAtomically_Response;
60+
5661
typedef struct rcl_interfaces__srv__DescribeParameters_Request DescribeParameters_Request;
5762
typedef struct rcl_interfaces__srv__DescribeParameters_Response DescribeParameters_Response;
5863

@@ -67,7 +72,7 @@ typedef struct rcl_interfaces__msg__ParameterDescriptor__Sequence ParameterDescr
6772
typedef struct rcl_interfaces__msg__ParameterEvent ParameterEvent;
6873

6974
// Number of RCLC executor handles required for a parameter server
70-
#define RCLC_EXECUTOR_PARAMETER_SERVER_HANDLES 5
75+
#define RCLC_EXECUTOR_PARAMETER_SERVER_HANDLES 6
7176
#define RCLC_PARAMETER_MODIFICATION_REJECTED 4001
7277
#define RCLC_PARAMETER_TYPE_MISMATCH 4002
7378
#define RCLC_PARAMETER_UNSUPORTED_ON_LOW_MEM 4003
@@ -124,6 +129,7 @@ typedef struct rclc_parameter_server_t
124129
rcl_service_t get_service;
125130
rcl_service_t get_types_service;
126131
rcl_service_t set_service;
132+
rcl_service_t set_atomically_service;
127133
rcl_service_t list_service;
128134
rcl_service_t describe_service;
129135
rcl_publisher_t event_publisher;
@@ -137,6 +143,9 @@ typedef struct rclc_parameter_server_t
137143
SetParameters_Request set_request;
138144
SetParameters_Response set_response;
139145

146+
SetParametersAtomically_Request set_atomically_request;
147+
SetParametersAtomically_Response set_atomically_response;
148+
140149
ListParameters_Request list_request;
141150
ListParameters_Response list_response;
142151

0 commit comments

Comments
 (0)