mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class
This commit is contained in:
parent
88b3e7e11d
commit
68a7534f2c
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user