depthai-core icon indicating copy to clipboard operation
depthai-core copied to clipboard

Pause/stop pipeline without closing device

Open oysstu opened this issue 3 years ago • 1 comments

Would it make sense to add a method to pause or stop a loaded pipeline, i.e. the opposite operation of Device::startPipeline? Currently, the device must be closed and re-opened to start/stop a pipeline.

Perhaps an unrelated question to the above; but is it or will it be possible to switch between pipelines in the future without reopening the device?

oysstu avatar Mar 11 '21 14:03 oysstu

Might be added although not planned for now.

Most likely no in the near future - a reset of the device gives a clean state that we need to start constructing and starting the pipeline. Because of underlying limitations of the firmware framework that we are using, doing so would require a dive into it and rework, as well as making sure that it plays nicely with everything else.

themarpe avatar Mar 11 '21 14:03 themarpe