InertialNav: update example for new interface

This commit is contained in:
Andrew Tridgell 2012-11-29 22:57:51 +11:00
parent 7ef7c7f04f
commit 9411b11072

View File

@ -49,7 +49,9 @@ void setup(void)
pinMode(40, OUTPUT); pinMode(40, OUTPUT);
digitalWrite(40, HIGH); digitalWrite(40, HIGH);
ins.init(AP_InertialSensor::COLD_START, delay, NULL, &scheduler); ins.init(AP_InertialSensor::COLD_START,
AP_InertialSensor::RATE_100HZ,
delay, NULL, &scheduler);
} }
void loop(void) void loop(void)