M0155 GPIO 109 Sync Output and IR/EO Camera Synchronization
-
Hardware: (board / drone / SKU, serial # if you have it): voxl2
Software version: (paste the output of
voxl-version)Configuration / services: (paste the output of
voxl-inspect-services)What I am trying to do:
- When the M0155 board is connected to VOXL 2, is GPIO 109 enabled to output a 30 Hz sync signal, as it is with the M0173 board?
- If we connect IR and EO cameras to the J6 and J7 connectors on VOXL 2 through the M0155 board, will the cameras be synchronized automatically, or are software configuration changes required?
What actually happens: (error messages, behavior)
Steps to reproduce:
Logs / pictures: (attach files; PX4 logs -> https://logs.px4.io)
-
Hi @김다연
- GPIO 109 sync through M0155
Yes. GPIO 109 is on pin 26 of J6, J7 and J8, and M0155 passes it through to the sensor. Same sync signal M0173 uses. It is driven by voxl-fsync-mod.
- IR + EO on J6 and J7
Not automatic. Two things are required in software. The sensors must be running a sensor module built with sync input enabled (the fsin variants under /usr/share/modalai/chi-cdk/, selected by camera HW ID), and voxl-fsync-mod must be enabled and configured for the correct GPIO. Without the fsin sensor module, the sensor ignores the trigger and free-runs.
The fsync period also sets the frame rate, which is the cleaner answer to your earlier 8.6 fps question: drive the rate from voxl-fsync-mod rather than adding a sensor mode to the driver.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login