mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-24 08:44:08 -04:00
InertialNav: update example for new interface
This commit is contained in:
parent
7ef7c7f04f
commit
9411b11072
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user