Hello, all! I’m new to this forum, so let me know if I’ve posted this in the wrong place.
I’m working on a project that will integrate a multihole probe into our glider, which uses ArduPilot on a Pixhawk 4. The purpose of the multihole probe, for now, is to help with post-flight analysis of wind gradients. However, to be cost and power efficient, we would like to combine our airspeed sensor with this multihole probe. As such, we will be feeding the Pixhawk 4 a synthesized signal from the probe as a one-dimensional airspeed measurement, as if the original sensor was never replaced. However, in order to do this properly, we need to know how ArduPilot handles the raw pressure differential measurement. For example, we don’t want to factor in the effects of air temperature on air density in our synthesized signal if the ArduPilot was going to do that anyway. I’ve been looking over the source code, and find references to a function get_airspeed(), which in turn references an object called state, and I haven’t been able to go any further. I also found a section that reads in the raw air pressure from a pitot tube, but nothing so far on how or where that is processed. Thank you in advance!