osrf / ros2_serial_example

61 stars 13 forks source link

Fix some small bugs found by code inspection. #32

Closed clalancette closed 5 years ago

clalancette commented 5 years ago
  1. We weren't exiting from find_and_copy_message early if we didn't find the sequence. We would eventually exit without finding what we were looking for anyway, but this should be more efficient.
  2. We had a couple of TODO's that were easy to fix, so fix them here.