I am trying to trigger the pointgrey blackfly camera (BFLY-U3-05S2C-CS) using pixhawk so that I can use the imu and the camera for state estimation. I have set the following parameters in QgroundControl:
TRIG_MODE: Time based, on command
TRIG_POLARITY: active low
TRIG_ACT_TIME: varied between 1ms to 40ms
I am using trigger mode0 and trig source gpio0 and connect the signal pin of AUX5 to the GPIO0 which is the input and ground of AUX5 to the ground of the camera. The camera is connected to the computer using its USB cable. if I do not connect the camera and measure the output at the pins I see 3.4V. If I just use the camera test of QgroundControl and see the output at Oscilloscope, I see the pulse. If I launch px4.launch file and trigger camera using that, I see pulses at regular intervals. However, when I connect the camera, it doesnt trigger. The voltage drops to 1.7V if that is the issue. I tried both AUX5 and AUX6 ports but no luck.
Can anyone please let me know if I am doing anything wrong.