ArduPilot / ardupilot

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

Copter: Compass calibration cannot be initiated if RNGFND_TYPE set to 14, but no rangefinder connected #9640

Closed aercamti closed 3 years ago

aercamti commented 6 years ago

https://discuss.ardupilot.org/t/3-compasses-installed-problems-starting-compass-calibration-enumeration-missing-docs-help-please/33661/22

Bug report

If the parameter RNGFND_TYPE is set to 14, and the (Teraranger One) rangefinder is NOT connected, then the compass calibration cannot be started. (If changing this param to “0”, upon reboot, compass calibration can be initiated as expected.)

Conversely, if parameter RNGFND_TYPE is set to 14, the rangefinder has to be connected. Then compass calibration can be initiated.

The issue is repeatable. Setup has a Here+ and Here module connected. Version 3.5.7 Platform [ ] All [ ] AntennaTracker [X] Copter [ ] Plane [ ] Rover [ ] Submarine

Airframe type Hexa Hardware type Pixhawk 2.1 Cube Logs n/a

rmackay9 commented 6 years ago

@aercamti, could you try Copter-3.6.0 which will be available in the next few hours from the ground station's Beta Firmwares link? I think 3.6.0 includes a fix to this issue.

IamPete1 commented 3 years ago

No update, @rmackay9 thinks 3.6.0 fixed so I'm closing.