Unit testing

Discussion related to "under the hood" OpenMV topics.
Erik
Posts: 2
Joined: Wed Jan 17, 2018 10:27 am

Unit testing

Postby Erik » Wed Jan 17, 2018 12:07 pm

Is there any way to unit-test OpenMV code without using the actual hardware?
The intention is to record a number of video sequences and use that for testing and development.
As far as I can tell there is no way to run the code on a PC or in any simulated environment, is the best way to connect an actual OpenMV camera and controling it over USB?
User avatar
kwagyeman
Posts: 1736
Joined: Sun May 24, 2015 2:10 pm

Re: Unit testing

Postby kwagyeman » Wed Jan 17, 2018 12:39 pm

Yeah, you should just connect an OpenMV Cam to the PC to test for now. That said, there's nothing stopping you from porting our code to the unix version of MP where you can use the full PC backend.

Given our resources we can't have ever possible use case available without more community support.
Nyamekye,
Erik
Posts: 2
Joined: Wed Jan 17, 2018 10:27 am

Re: Unit testing

Postby Erik » Wed Jan 17, 2018 4:44 pm

Thank you for the quick answer!

Fair enough, using the COM port and the USB Drive interfaces to control the camera seems to be the most reasonable solution at this point.
An upside of that is that HW performance and actual underlying implementations can be tested as well :)

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest