mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix gyro init
This commit is contained in:
parent
72156fe9c1
commit
bf26bec46c
@ -154,7 +154,7 @@ int TemperatureCalibrationGyro::finish_sensor_instance(PerSensorData &data, int
|
||||
return 0;
|
||||
}
|
||||
|
||||
double res[3][4] = {0.0f};
|
||||
double res[3][4] = {};
|
||||
data.P[0].fit(res[0]);
|
||||
PX4_INFO("Result Gyro %d Axis 0: %.20f %.20f %.20f %.20f", sensor_index, (double)res[0][0], (double)res[0][1],
|
||||
(double)res[0][2],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user