mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
AHRS: update example for new ins interface
This commit is contained in:
parent
94f73b83c3
commit
7ef7c7f04f
@ -106,7 +106,9 @@ void setup(void)
|
||||
isr_registry.init();
|
||||
scheduler.init(&isr_registry);
|
||||
|
||||
ins.init(AP_InertialSensor::COLD_START, delay, flash_leds, &scheduler);
|
||||
ins.init(AP_InertialSensor::COLD_START,
|
||||
AP_InertialSensor::RATE_100HZ,
|
||||
delay, flash_leds, &scheduler);
|
||||
ins.init_accel(delay, flash_leds);
|
||||
|
||||
compass.set_orientation(MAG_ORIENTATION);
|
||||
|
Loading…
Reference in New Issue
Block a user