How to get timestamp from rclcpp::SerializedMessage?
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?