From aef932b8e82ca3b867d574173f7a7f6f63fc92d9 Mon Sep 17 00:00:00 2001 From: stelzo Date: Tue, 14 May 2024 18:28:49 +0200 Subject: [PATCH] fix rosrust time not mentioned --- src/ros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ros.rs b/src/ros.rs index 969a38c..0c24d5e 100644 --- a/src/ros.rs +++ b/src/ros.rs @@ -198,7 +198,7 @@ impl From 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, },