mirror of https://github.com/ArduPilot/ardupilot
Sub: tell ahrs we can fly multiple directions
This commit is contained in:
parent
49e77718ac
commit
a3ea80a1f2
|
@ -166,6 +166,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(AP_AHRS::VehicleClass::SUBMARINE);
|
||||
ahrs.set_fly_forward(false);
|
||||
|
||||
// Warm up and calibrate gyro offsets
|
||||
ins.init(scheduler.get_loop_rate_hz());
|
||||
|
|
Loading…
Reference in New Issue