@Lorenzo_Pessah - What camera are you using? I have done this before with an Arduino project that monitored the Mavlink stream and triggered a camera by outputting a logic low to a small transistor and a hardwired shutter.
I have a RPI 4 board that is listening mavlink serial. Than the same board will manage our camera. I just need to find a way to read both do_digicam and trigger generate with cam_trig_dist.
I’m sure that mavlink has this information because I can see the trigger information on mission planner.
I of course now how to trigger camera via pwm, relay or other standard system, but I only need via mavlink serial.
The storm32 BGC gimbal controller has a mavlink interface and camera control, but you woul,d need to use this controller…http://www.olliw.eu/2013/storm32bgc/