Open MV H7 Plus Cam message

Hi there,
I’m going to use the OpenMv H7 plus cam with MATLAB/Simulink + onboard processing. How can I translate/parse the message that is received from the H7? And is there an option for sending external IMU data from MATLAB to the H7 onboard functions?

P.S. MATLAB/Simulink is used for a Flight Controller SW, and the need of H7 cam is to act as an Optical Flow Smart Cam (Of course, we’ll need to correct the optical flow measurements with the IMU, and OpenMV H7 Plus doesn’t have an onboard IMU, so that I’m asking about the Function Level Communication).

Hi, it’s really up to you how you want to do this. The camera appears as a UART on the PC, so you can code it up to do anything and transmit messages in whatever way you like.

Do you have experience with writing comms between two processors over a async channel like a uart?

Thanks for clarifying — yes, I do have experience with UART comms between MCUs.
I’m just making sure that there is no high-level language for the UART communication protocol, like MAVLink.

P.S. I mentioned my project setup for a deterministic response and to get the developer’s view on how this could be done, and if anyone has done something like it before.

Okay, well, the USB UART is controlled by MicroPython so you can just print() via it. We will be integrating a new debug protocol into our firmware that offers a lot of flexibility before of the end of the year that will be the base layer for what you need. In the mean-time, you can use our old debug protocol to move images to the PC: openmv/tools/pyopenmv.py at master · openmv/openmv · GitHub and openmv/tools/pyopenmv_fb.py at master · openmv/openmv · GitHub

Note that the above will be obsoleted in about 2 months.

Well, I’ll keep an eye on the new debug protocol — once it’s released, it might be great for high-level data transfer or RPC-based vision tasks.

For now, I’ll go with a custom binary UART protocol for deterministic, low-latency data exchange between the H7 Plus and my flight controller.

Thank you very much,