How to get timestamp from rclcpp::SerializedMessage?

asked 2023-07-07 07:21:36 -0500

SS6141 gravatar image

I have been using a generic subscriber to subscribe to msgs, but I need timestamp from the msgs which will be written to disk after some interval. Thus, I cant be using this->now(). Is there a way to extract the timestamps from the headers of the message without desrializing?

edit retag flag offensive close merge delete