Skip to content

Commit

Permalink
Update nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Macenski <[email protected]>
  • Loading branch information
SteveMacenski authored Aug 20, 2024
1 parent d705fed commit 46bc106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46bc106

Please sign in to comment.