Skip to content

Lidar Size Mismatch #81

Description

@ericRod983

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions