simondlevy / BreezySLAM

Simple, efficient, open-source package for Simultaneous Localization and Mapping
GNU Lesser General Public License v3.0
758 stars 251 forks source link

Lidar Size Mismatch #81

Open ericRod983 opened 1 year ago

ericRod983 commented 1 year ago

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