simondlevy/BreezySLAM

Lidar Size Mismatch

ericRod983 opened this issue · 0 comments

Hello,
I'm stuck on figuring out why my lidar size is mismatched. Here is the below traceback
Traceback (most recent call last):
File "log2pgm.py", line 163, in
main()
File "log2pgm.py", line 111, in main
slam.update(lidars[scanno], velocities)
File "/usr/local/lib/python3.7/site-packages/breezyslam/algorithms.py", line 106, in update
self._scan_update(self.scan_for_mapbuild, scans_mm, velocities, scan_angles_degrees)
File "/usr/local/lib/python3.7/site-packages/breezyslam/algorithms.py", line 140, in _scan_update
velocities=velocities, scan_angles_degrees=scan_angles_degrees)
TypeError: Wrong/insufficient arguments passed to Scan.update(): lidar size mismatch

Using: kheperaIV bot w/ URG04LX lidar sensor

w/ command
BreezySLAM/examples$ python3 log2pgm.py slam_data 1

I've also collected a recent slam_data.dat file in my examples folder