There are several places where there are “notify” events: e.g., motor fault notifications or color detection notifications. I assume these events are asynchronous…but how do they actually work? Do they just pop data in the output stream when they happen?
I’ve been building a C library for the RVR interface on a Raspberry Pi. For sensors, I spawn a separate thread to handle the sensor stream. But that works because the RVR will stream data until it’s told to stop. If the notify events push out data between other data outputs, it will require a different way to do it.