Yes, we extensively use C++ templates, which trades high compilation time for fast run time.
You can try the following:
- if you are just changing parameters, then use our Parameter facility, which was developed to make parameter creation and use very easy. You just need:
+ one JEVOIS_DECLARE_PARAMETER(...) declaration
+ your module inherits from jevois::Parameter<yourparam, ...>
+ you can then get the parameter value in the module using yourparam::get()
+ see http://jevois.org/doc/ModuleTutorial.html for a tutorial
+ when your module is running, your parameters will appear in JeVois Inventor, and you can tune the values there
- usually, we develop and tune an algo on the host using rebuild-host.sh and using a plain webcam, or JeVois configured as pass-through using the PassThrough module. This avoids spending time copying to microSD
- I assume that your module has only one source file? Otherwise, after you have done rebuild-platform.sh once, you can just do
make -j 8 && sudo make install
to only recompile the files that were edited and copy them to microSD.
- invest in the fastest possible microSD. The fastest we have found here are the Samsung EVO U3 cards. They cost nearly as much as JeVois itself, which is why we do not include them with our base kits. But they will save you some time.