sphero-inc / sphero-sdk-raspberrypi-python

Sphero RVR SDK to run on Raspberry Pi using Python
Other
77 stars 50 forks source link

Always delay 200 ms before closing the serial port #16

Closed Jim-Konish closed 3 years ago

Jim-Konish commented 3 years ago

This ensures that the last packet makes it out of the queue before the port is closed.

Currently, a drive command (or other command, presumably) might not make it out to RVR if the call is immediately followed by rvr.close()