New type RangFinder(Sonar) support

Hi,I’m using a rangefinder which needs two 40kHz PWM and two switch signal to drive the sensor, and then the range information was output in a form of analog voltage. So, what the PX4 needs to do is generate two PWM signal and use an AD to sample the rangefinder output signal. Now the question is how can I config the PX4 board ? Any help would be much appreciated !

  1. RangeFinder input signal.

  2. RangeFinder output signal.