Fixup mock lidar
This commit is contained in:
@@ -38,6 +38,8 @@ class LidarCache():
|
||||
# Create the 0MQ socket first. This should not be passed between threads.
|
||||
self._mFactory = sender
|
||||
|
||||
# Batch over scans, so we don't need to do our own batching to determine groups
|
||||
# TODO: Implement custom batching, as iter_scans can be unreliable
|
||||
for scan in self.lidar.iter_scans(min_len=self.measurements):
|
||||
print('Got %d measurments' % (len(scan)))
|
||||
if(not self.run):
|
||||
|
||||
Reference in New Issue
Block a user