ArduPilot / ardupilot

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

Using compass with no compass connected is buggy #4215

Closed dgrat closed 3 years ago

dgrat commented 8 years ago

Issue details

Setting a primary compass leads to UB if the compass is not connected. E.g. the barometer calibration starts in endless loop :D

Version

Emlid master version

Platform

Probably all, but tested with Copter. [x] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover

Airframe type

X4

Hardware type

Navio2

Logs

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

peterbarker commented 3 years ago

We've rewritten compass detection several times since this was created. Should be good now.