From c7dd04290938fb5b69db1cc9623766a605954f5e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 29 Nov 2012 22:57:51 +1100 Subject: [PATCH] InertialNav: update example for new interface --- .../examples/AP_InertialNav_test/AP_InertialNav_test.pde | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde b/libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde index c66059eb01..38760b7fad 100644 --- a/libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde +++ b/libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde @@ -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)