Skip to content

Commit 6566d47

Browse files
micro-ROS foxy Library auto-update 27-03-2021 06:25 (#192)
Co-authored-by: pablogs9 <[email protected]>
1 parent cace00e commit 6566d47

File tree

10 files changed

+21
-6
lines changed

10 files changed

+21
-6
lines changed

built_packages

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
https://github.com/micro-ROS/micro_ros_msgs.git 9a3968d4694f516ded8bdbfe23e2a487477bb8b4
33
https://github.com/micro-ROS/rosidl_typesupport.git 9c0b5fde7d7e148685bb9e1692dcc8600cdeb96a
4-
https://github.com/ros2/rclc 4a181dcc80e74a5a7fb3f52f4806e18607522523
4+
https://github.com/ros2/rclc 5e7e383c704bdc153fb5e559da11d992fe4d3b40
55
https://github.com/micro-ROS/rcl 8eddc13db38bdecdd3089b8c96d13f0df3f5b35d
66
https://github.com/micro-ROS/rcutils 6f0e5d7d3da4ab1c1744dfa8452fdd5e01e912d9
77
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 2b5cc410ac5226dc83fd7ebcd36a7643b7c8fbe3
88
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing d11b87737245b8456bbada44dfa7b1d670b1c4d0
9-
https://github.com/micro-ROS/rmw-microxrcedds.git d3ca1beae9877570c41f97067a2fbd88f12278ab
9+
https://github.com/micro-ROS/rmw-microxrcedds.git 19a8dd0489a22b91720508d43ede4ae58beae129
1010
https://github.com/ros2/rmw_implementation.git fb4f55f1129e0e0f047bda6ab26e533a051808de
1111
https://github.com/ros2/rosidl_defaults.git fa15e8522b4c238b8ea8999fd5528b290794c77a
1212
https://github.com/ros2/rosidl.git 952e485dd44e64f81f4ebb28ddcbb553341d74b3

src/cortex-m0plus/libmicroros.a

1.53 KB
Binary file not shown.

src/cortex-m3/libmicroros.a

2.01 KB
Binary file not shown.
1.7 KB
Binary file not shown.
1.61 KB
Binary file not shown.
2.63 KB
Binary file not shown.

src/mk20dx256/libmicroros.a

1.96 KB
Binary file not shown.
1.96 KB
Binary file not shown.

src/rmw_microxrcedds_c/config.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#define RMW_UXRCE_TRANSPORT_CUSTOM
99
/* #undef RMW_UXRCE_TRANSPORT_IPV4 */
1010
/* #undef RMW_UXRCE_TRANSPORT_IPV6 */
11-
/* #undef RMW_UXRCE_TRANSPORT_USE_REFS */
12-
#define RMW_UXRCE_TRANSPORT_USE_XML
11+
/* #undef RMW_UXRCE_USE_REFS */
12+
#define RMW_UXRCE_USE_XML
1313
/* #undef RMW_UXRCE_ALLOW_DYNAMIC_ALLOCATIONS */
1414
/* #undef RMW_UXRCE_GRAPH */
1515

@@ -60,7 +60,11 @@
6060
#define RMW_UXRCE_NODE_NAME_MAX_LENGTH 128
6161
#define RMW_UXRCE_TOPIC_NAME_MAX_LENGTH 100
6262
#define RMW_UXRCE_TYPE_NAME_MAX_LENGTH 128
63-
#define RMW_UXRCE_XML_BUFFER_LENGTH 600
64-
#define RMW_UXRCE_REF_BUFFER_LENGTH 100
63+
64+
#if defined(RMW_UXRCE_USE_XML)
65+
#define RMW_UXRCE_ENTITY_NAMING_BUFFER_LENGTH 600
66+
#elif defined(RMW_UXRCE_USE_REFS)
67+
#define RMW_UXRCE_ENTITY_NAMING_BUFFER_LENGTH 100
68+
#endif
6569

6670
#endif // RMW_MICROXRCEDDS_CONFIG_H

src/rmw_uros/options.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ typedef struct rmw_uxrce_transport_params_t
5757
uint32_t client_key;
5858
} rmw_uxrce_transport_params_t;
5959

60+
/**
61+
* \brief Synchronizes the session time using the NTP protocol.
62+
* \param[in, out] result Variable to update with micro-ROS Agent POSIX timestamp in nanoseconds.
63+
* \param[in] timeout_ms The waiting time in milliseconds.
64+
* \return RMW_RET_OK when success.
65+
* \return RMW_RET_INVALID_ARGUMENT If no session is running or the synchronization fails.
66+
*/
67+
rmw_ret_t rmw_uros_sync_session(
68+
int64_t* result,
69+
const int timeout_ms);
70+
6071
/**
6172
* \brief Parses command line args and fills rmw implementation-specific options.
6273
* `rmw_init_options allocator` is used to allocate the specific rmw options.

0 commit comments

Comments
 (0)