Hey all,
I am trying to achieve altitude hold using my quadcopter. I have an apm 2.5 (no gps) and I have mission planner 2.0. I also have a sonar (EZ4). I am trying to get the quad to hold its altitude. I am trying to understand a couple of things:
- In brief, how does the altitude hold code work?
- What sensor data does the code use to do that? Is it the barometer and the sonar?
- How to disable the barometer and only use the sensor data from the sonar? I will be using my quad indoors and the barometer is not accurate enough.
- If I switch to altitude hold mode while in flight, does the code take the altitude at the moment of time and try to maintain it?
Thanks a lot for your help!