File tree Expand file tree Collapse file tree 9 files changed +19
-4
lines changed
mk64fx512/fpv4-sp-d16-hard Expand file tree Collapse file tree 9 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ https://github.com/micro-ROS/rcl 8eddc13db38bdecdd3089b8c96d13f0df3f5b35d
66https://github.com/micro-ROS/rcutils 6f0e5d7d3da4ab1c1744dfa8452fdd5e01e912d9
77https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 2b5cc410ac5226dc83fd7ebcd36a7643b7c8fbe3
88https://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
1010https://github.com/ros2/rmw_implementation.git fb4f55f1129e0e0f047bda6ab26e533a051808de
1111https://github.com/ros2/rosidl_defaults.git fa15e8522b4c238b8ea8999fd5528b290794c77a
1212https://github.com/ros2/rosidl.git 952e485dd44e64f81f4ebb28ddcbb553341d74b3
Original file line number Diff line number Diff 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 */
6783rmw_ret_t rmw_uros_sync_session (
68- int64_t * result ,
6984 const int timeout_ms );
7085
7186/**
You can’t perform that action at this time.
0 commit comments