fix rosrust time not mentioned

This commit is contained in:
stelzo 2024-05-14 18:28:49 +02:00
parent f6cde223ac
commit aef932b8e8
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ impl From<crate::PointCloud2Msg> for rosrust_msg::sensor_msgs::PointCloud2 {
rosrust_msg::sensor_msgs::PointCloud2 {
header: rosrust_msg::std_msgs::Header {
seq: msg.header.seq,
stamp: TimeMsg {
stamp: rosrust::Time {
sec: msg.header.stamp.sec as u32,
nsec: msg.header.stamp.nanosec,
},