mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
This commit is contained in:
parent
6868557efd
commit
683806714c
@ -261,7 +261,7 @@ void Rover::startup_INS_ground(void)
|
|||||||
ahrs.init();
|
ahrs.init();
|
||||||
// say to EKF that rover only move by going forward
|
// say to EKF that rover only move by going forward
|
||||||
ahrs.set_fly_forward(true);
|
ahrs.set_fly_forward(true);
|
||||||
ahrs.set_vehicle_class(AHRS_VEHICLE_GROUND);
|
ahrs.set_vehicle_class(AP_AHRS::VehicleClass::GROUND);
|
||||||
|
|
||||||
ins.init(scheduler.get_loop_rate_hz());
|
ins.init(scheduler.get_loop_rate_hz());
|
||||||
ahrs.reset();
|
ahrs.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user