Yes, this can be done. Vision modules can operate in two ways: with USB output, and without. With USB output, indeed, the module is selected by output resolution. Without USB output, the module is selected in the CLI using the setmapping2 command. For your module, you would need to:
- develop a module that implements processNoUSB() as this is the function that is called when there is no USB output
- also implement parseSerial() and supportedCommands() in your module, this is how you will send the trigger to your module.
These will help you:
-- go over the ones that use JeVois inventor, this is the easiest way to get started.
-- was written before JeVois Inventor and many of the steps can be done more easily now with the Inventor, but gives you an example of processNoUSB() and launching the module using CLI commands setmapping2 and streamon.
- look for parseSerial() for an example of how to use it
- example module that uses parseSerial() and supportedCommands()