hi, I have a c++ pipeline for the oak-d where I want to independently poll samples from one of the cameras (left) and the IMU. From my application I have the requirements that each of the data streams operate at a different frequency. To handle this in the DepthAI API, I had to create a state component that holds two separated output queues and try/get the corresponding samples.
Is this the right approach, since in any case the data is coming from the same device socket, or would it make sense to have two separated workers running and polling at different frequencies ? Thanks in advance !