osrf / ros2_serial_example

61 stars 14 forks source link

Cleanups to the serial code. #3

Closed clalancette closed 5 years ago

clalancette commented 5 years ago

In particular, write can return less than the requested amount of data to write, so make sure to continue writing until everything makes it to the wire. Also make the UART layer less chatty.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org