Also please read this in order to listen to the camera trigger signal from pixhawk and trigger the camera.from Rpi.