ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.81k stars 17.26k forks source link

Copter Alt prearm test broken #15191

Open peterbarker opened 4 years ago

peterbarker commented 4 years ago

Bug report

Issue details

Test is broken; it tests for pos-vert-agl whereas the check in AP_Arming is for pos-ver-abs.

The pos-vert-abs flag is not zero even in the face of no GPS, so not a trivial fix

Version master

Platform [ ] All [ ] AntennaTracker [ X ] Copter [ ] Plane [ ] Rover [ ] Submarine

Airframe type +

Hardware type SITL

Logs Please provide a link to any relevant logs that show the issue

rmackay9 commented 4 years ago

I would expect pos-vert-abs to depend upon the barometer, not the GPS..