From 350b2c5ea272ed49d6ab5643920aaddb0fc9eba9 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Thu, 16 Jun 2011 16:34:23 +0000 Subject: [PATCH] added optimization note git-svn-id: https://arducopter.googlecode.com/svn/trunk@2564 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_IMU/AP_IMU_Oilpan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_IMU/AP_IMU_Oilpan.cpp b/libraries/AP_IMU/AP_IMU_Oilpan.cpp index c1dffd291a..e8b81ceedc 100644 --- a/libraries/AP_IMU/AP_IMU_Oilpan.cpp +++ b/libraries/AP_IMU/AP_IMU_Oilpan.cpp @@ -222,9 +222,12 @@ AP_IMU_Oilpan::_sensor_compensation(uint8_t channel, int temperature) const // do gyro temperature compensation if (channel < 3) { + //return 1658; + //* return _gyro_temp_curve[channel][0] + _gyro_temp_curve[channel][1] * temperature + _gyro_temp_curve[channel][2] * temperature * temperature; + // */ } // do fixed-offset accelerometer compensation