Open Aposhian opened 1 year ago
Hi @Aposhian
Thanks for the request.
Simulating the whole device functionality is unfortunately out of scope.
However, the goal would never be to match feature parity to a real device. Most things should be faked and mocked. This sort of simulator is primarily to test software infrastructure, validate pipeline correctness, etc.
Handling things in a mock manner would however be applicable. We are making some great strides towards this with RVC3 support, but not there yet.
I think the minimum I would need to get started on this is: good documentation of XLink protocol messages
XLink is open, but not well documented: https://github.com/luxonis/xlink
Check: develop_server
& develop_server_testing_race_improvements
branches for "server" parts of XLink.
I think that something along these lines should be doable to add, hopefully this year, in limited fashion.
Thanks! I'll take a look at those branches.
Start with the
why
:When writing production software against depthai, it is desirable to have something to test against with zero hardware requirements, in order to validate basic things like:
Move to the
what
:I think there are a few different levels of functionality:
videotestsrc
for gstreamer)However, the goal would never be to match feature parity to a real device. Most things should be faked and mocked. This sort of simulator is primarily to test software infrastructure, validate pipeline correctness, etc.
Move to the
how
:I think the minimum I would need to get started on this is:
and then features could be incrementally added.