From 46bc106d7389f9199b3d3c791fc375fc3c02ae34 Mon Sep 17 00:00:00 2001 From: Steve Macenski Date: Tue, 20 Aug 2024 11:47:29 -0700 Subject: [PATCH] Update nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py Signed-off-by: Steve Macenski --- nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py b/nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py index d43e0df677..29e8e0c716 100644 --- a/nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py +++ b/nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py @@ -206,7 +206,7 @@ def timerCallback(self): def publishLaserScan(self): # Publish a bogus laser scan for collision monitor self.scan_msg = LaserScan() - # self.scan_msg.header.stamp = (self.get_clock().now()).to_msg() + self.scan_msg.header.stamp = (self.get_clock().now()).to_msg() self.scan_msg.header.frame_id = self.scan_frame_id self.scan_msg.angle_min = -math.pi self.scan_msg.angle_max = math.pi