ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can use these functions form tf2_ros/buffer_interface.h
:
TimePoint to builtin_interfaces::msg::Time
inline builtin_interfaces::msg::Time toMsg(const tf2::TimePoint & t)
builtin_interfaces::msg::Time to TimePoint
inline const tf2::TimePoint& fromMsg(const builtin_interfaces::msg::Time & time_msg)