Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpslam.py Error #77

Open
sonurdogan opened this issue May 19, 2021 · 0 comments
Open

rpslam.py Error #77

sonurdogan opened this issue May 19, 2021 · 0 comments

Comments

@sonurdogan
Copy link

Hi!
I am using raspberry pi 4 4gb and rplidar A1. I set up BreezySlam and run the rpslam.py example code but, I got a very different error. Code printed the map then I got the error.
Error:
python3 rpslam.py
/usr/local/lib/python3.9/dist-packages/roboviz/init.py:65: MatplotlibDeprecationWarning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use manager.set_window_title or GUI-specific methods instead.
fig.canvas.set_window_title('SLAM')
/usr/local/lib/python3.9/dist-packages/roboviz/init.py:83: UserWarning: FixedFormatter should only be used together with FixedLocator
self.ax.set_xticklabels(labels)
/usr/local/lib/python3.9/dist-packages/roboviz/init.py:84: UserWarning: FixedFormatter should only be used together with FixedLocator
self.ax.set_yticklabels(labels)
Too many measurments in the input buffer: 798/500. Clearing buffer...
Traceback (most recent call last):
File "/home/robotics/Desktop/BreezySLAM/examples/rpslam.py", line 67, in
items = [item for item in next(iterator)]
File "/home/robotics/.local/lib/python3.9/site-packages/rplidar.py", line 357, in iter_scans
for new_scan, quality, angle, distance in iterator:
File "/home/robotics/.local/lib/python3.9/site-packages/rplidar.py", line 333, in iter_measurments
yield _process_scan(raw)
File "/home/robotics/.local/lib/python3.9/site-packages/rplidar.py", line 80, in _process_scan
raise RPLidarException('Check bit not equal to 1')
rplidar.RPLidarException: Check bit not equal to 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant