mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
added optimization note
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2564 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
dafe217178
commit
350b2c5ea2
@ -222,9 +222,12 @@ AP_IMU_Oilpan::_sensor_compensation(uint8_t channel, int temperature) const
|
|||||||
// do gyro temperature compensation
|
// do gyro temperature compensation
|
||||||
if (channel < 3) {
|
if (channel < 3) {
|
||||||
|
|
||||||
|
//return 1658;
|
||||||
|
//*
|
||||||
return _gyro_temp_curve[channel][0] +
|
return _gyro_temp_curve[channel][0] +
|
||||||
_gyro_temp_curve[channel][1] * temperature +
|
_gyro_temp_curve[channel][1] * temperature +
|
||||||
_gyro_temp_curve[channel][2] * temperature * temperature;
|
_gyro_temp_curve[channel][2] * temperature * temperature;
|
||||||
|
// */
|
||||||
}
|
}
|
||||||
|
|
||||||
// do fixed-offset accelerometer compensation
|
// do fixed-offset accelerometer compensation
|
||||||
|
Loading…
Reference in New Issue
Block a user