InertialNav: update example for new interface

This commit is contained in:
Andrew Tridgell 2012-11-29 22:57:51 +11:00
parent 51080d3e9e
commit c7dd042909
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ void setup(void)
pinMode(40, OUTPUT);
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)