Function rclcpp::convert_rcl_time_to_sec_nanos

Function Documentation

builtin_interfaces::msg::Time rclcpp::convert_rcl_time_to_sec_nanos(const rcl_time_point_value_t &time_point)

Convert rcl_time_point_value_t to builtin_interfaces::msg::Time.

Parameters:

time_point[in] is a rcl_time_point_value_t

Returns:

the builtin_interfaces::msg::Time from the time_point