mirror of https://github.com/ArduPilot/ardupilot
InertialNav: update example for new interface
This commit is contained in:
parent
51080d3e9e
commit
c7dd042909
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue