Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rplidar.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_health(self):

def clear_input(self):
'''Clears input buffer by reading all available data'''
self._serial_port.read_all()
self._serial_port.readall()# it was written self._serial_port.read_all() but it is wrong fucntion Serial module use readall() function

def stop(self):
'''Stops scanning process, disables laser diode and the measurment
Expand Down