Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class

This commit is contained in:
Jacob Walser 2017-02-18 11:09:13 -05:00 committed by Andrew Tridgell
parent 88b3e7e11d
commit 68a7534f2c

View File

@ -304,7 +304,7 @@ void Sub::startup_INS_ground()
{
// initialise ahrs (may push imu calibration into the mpu6000 if using that device).
ahrs.init();
ahrs.set_vehicle_class(AHRS_VEHICLE_COPTER);
ahrs.set_vehicle_class(AHRS_VEHICLE_SUBMARINE);
// Warm up and calibrate gyro offsets
ins.init(scheduler.get_loop_rate_hz());