Skip to content

Update rplidar.py #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

me-unpredictable
Copy link

There was error with Serial module's function to read all data from Serial port. 'read_all()' function was used instead of 'readall()'.

There was error with Serial module's function to read all data from Serial port. 'read_all()' function was used instead of 'readall()'.
@jjehl
Copy link

jjehl commented Jul 11, 2017

On my pull I propose : self._serial.flushInput()
it is really faster than readall

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

Successfully merging this pull request may close these issues.

2 participants