Edit Code of Pixhawk to accept analog input

I am part of a group of students looking to integrate analog sensors into the drone. These sensors will be used to enhance the drone’s navigation (its autonomous).

The first question is how do we edit the code to create a new data location, and store the value of the analog input within that location. Once that is complete, how do we edit the code to prioritize that information over the information gathered by the gps?

We are using the pixhawk flight controller, Mission Planner software, and the firmware APM Copter 3.5.5 Quad. If there is anything else you need to know, please ask. Any help would be greatly appreciated :slight_smile:

This is the discuss forum for PX4, not APM. You should ask for help in their community.