Skip to content
Snippets Groups Projects
Commit 7ef7c7f0 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AHRS: update example for new ins interface

parent 94f73b83
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,9 @@ void setup(void) ...@@ -106,7 +106,9 @@ void setup(void)
isr_registry.init(); isr_registry.init();
scheduler.init(&isr_registry); 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); ins.init_accel(delay, flash_leds);
compass.set_orientation(MAG_ORIENTATION); compass.set_orientation(MAG_ORIENTATION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment