This version has many additions, including the support for three different GPS protocols (SIRF, NMEA and UBX) and can be added as many are possible.
Has the well integration of the pressure sensor and battery level conversion with an offset for the ADC voltage to increase accuracy in the conversions.
Has been debugged using the ArduPilot Shield. So it should be 100% compatible.
The rest of the code stills the same as 2.1.
To change the GPS protocol looks for this definition: “#define GPS_PROTOCOL“. Next to it I have included some commands for Locosys and SIRF GPS. So you can use them as needed (just trying to save you some time).
The Ground Station now has the battery level indicator.
This code is a just a Beta, demo, preview, not official release , I never air test it (use it at your own risk). The goal is that you can start digging into it and report any bugs before releasing the official version. We are only trying to involve more the community on this. ;-)
Be advice is not easy!
When you power up the ArduPilot try to open the Terminal and see the message at the beginning saying something likes this:
"Pressure offset: 205"
You should go and place this value in the declaration of the air_speed_bias variable, like this:
In order to zero the airspeed sensor. All the pressure sensors have different values.
I know "bias" is wrong. ;-)
[UPDATE: I forgot to compile the EXE, sorry about that]: