osrf / ros2_serial_example

70 stars 15 forks source link

Remove RingBuffer is_full() method. #44

Closed clalancette closed 5 years ago

clalancette commented 5 years ago

Since the ring buffer automatically overwrites old data, there was no reason to clear out space in the ring if we didn't find a sequence we were looking for. This leads to us being able to remove the is_full() method completely, since now nothing needs to do that.

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