Skip to content

Commit 4545822

Browse files
micro-ROS foxy Library auto-update 31-03-2021 06:26 (#197)
Co-authored-by: pablogs9 <[email protected]>
1 parent 36ba91a commit 4545822

File tree

9 files changed

+19
-4
lines changed

9 files changed

+19
-4
lines changed

built_packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ 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 19a8dd0489a22b91720508d43ede4ae58beae129
9+
https://github.com/micro-ROS/rmw-microxrcedds.git 0828d3833761f11349251750ca3617bd8495caec
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

612 Bytes
Binary file not shown.

src/cortex-m3/libmicroros.a

588 Bytes
Binary file not shown.
568 Bytes
Binary file not shown.
584 Bytes
Binary file not shown.
584 Bytes
Binary file not shown.

src/mk20dx256/libmicroros.a

588 Bytes
Binary file not shown.
588 Bytes
Binary file not shown.

src/rmw_uros/options.h

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,30 @@ typedef struct rmw_uxrce_transport_params_t
5757
uint32_t client_key;
5858
} rmw_uxrce_transport_params_t;
5959

60+
61+
/**
62+
* \brief Returns the epoch time in milliseconds taking into account the offset computed during the time synchronization.
63+
* \return epoch time in milliseconds.
64+
* \return 0 if session is not initialized.
65+
* \return -1 if session time is not synchronized.
66+
*/
67+
int64_t rmw_uros_epoch_millis();
68+
69+
/**
70+
* \brief Returns the epoch time in nanoseconds taking into account the offset computed during the time synchronization.
71+
* \return epoch time in nanoseconds.
72+
* \return 0 if session is not initialized.
73+
* \return -1 if session time is not synchronized.
74+
*/
75+
int64_t rmw_uros_epoch_nanos();
76+
6077
/**
6178
* \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.
6379
* \param[in] timeout_ms The waiting time in milliseconds.
6480
* \return RMW_RET_OK when success.
65-
* \return RMW_RET_INVALID_ARGUMENT If no session is running or the synchronization fails.
81+
* \return RMW_RET_ERROR If no session is running or the synchronization fails.
6682
*/
6783
rmw_ret_t rmw_uros_sync_session(
68-
int64_t* result,
6984
const int timeout_ms);
7085

7186
/**

0 commit comments

Comments
 (0)