Closed Jaeyoung-Lim closed 3 months ago
@Jaeyoung-Lim Thanks for reporting Jay. I actually tried this on a Pixhawk 4 mini today and also did not get any good results. I can confirm that FMU pin 6 seems to be the capture pin. The other pins labeled "capture" seem quite tempting but rather useless (at least with the default configuration). I'll dig into this a bit.
Describe the bug I am trying to get camera capture feedback from a hot shoe of a Sony A7R (image below)
According to the documentation, the FMU PWM pin 6 is hardcoded for camera capture for the Pixhawk4
However, this is quite confusing since Pixhawk4 actually has a dedicated CAP pin that is available.
I have tried wiring the hotshoe feedback to
But both of them don't work
To Reproduce Steps to reproduce the behavior:
fake_gps start
in the mavlink consoleExpected behavior The hotshoe triggers the camera capture to keep track of precise timing of when the images are taken
Log Files and Screenshots Through the mavlink console;
But when trying to enable capture manually,
which means that it is failing in https://github.com/PX4/PX4-Autopilot/blob/1c6b1f755447ee64f46cdb89c9ad916d87707710/src/drivers/pwm_out/PWMOut.cpp#L1137
Additional Context