Im using Sonar JSN-SR04T and have tried setting it up according to this setup using AUX 5 and 6 as GPIOs and using an arduino for power and ground. I can hear the sensor making a noise and have tested that it works using arduino but when I connect to pixhawk I get no distance measurment. Below are two images of the signal from pixhawk vs from arduino when testing the sensor.
From pixhawk (doesnt work)
From Arduino (works)