Skip to content

Update rplidar.py - #12

Open
me-unpredictable wants to merge 1 commit into
SkoltechRobotics:masterfrom
me-unpredictable:patch-1
Open

Update rplidar.py#12
me-unpredictable wants to merge 1 commit into
SkoltechRobotics:masterfrom
me-unpredictable:patch-1

Conversation

@me-unpredictable

Copy link
Copy Markdown

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

jjehl commented Jul 11, 2017

Copy link
Copy Markdown

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