Browse Source

ArduCopter: move VehicleClass handling to AHRS frontend

.... and renaming the enumeration while we're at it
gps-1.3.1
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
6f5e3bf4ff
  1. 2
      ArduCopter/system.cpp

2
ArduCopter/system.cpp

@ -213,7 +213,7 @@ void Copter::startup_INS_ground() @@ -213,7 +213,7 @@ void Copter::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(AP_AHRS::VehicleClass::COPTER);
// Warm up and calibrate gyro offsets
ins.init(scheduler.get_loop_rate_hz());

Loading…
Cancel
Save