1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Flight/AHRS: gyrotemp raw actually shows now raw temp

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1903 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2010-10-06 18:14:12 +00:00 committed by sambas
parent b4befcee76
commit e32ddd5230

View File

@ -574,6 +574,8 @@ void downsample_data()
raw.gyros[0] = valid_data_buffer[1]; raw.gyros[0] = valid_data_buffer[1];
raw.gyros[1] = valid_data_buffer[3]; raw.gyros[1] = valid_data_buffer[3];
raw.gyros[2] = valid_data_buffer[5]; raw.gyros[2] = valid_data_buffer[5];
raw.gyrotemp[0] = valid_data_buffer[6];
raw.gyrotemp[1] = valid_data_buffer[7];
raw.gyros_filtered[0] = gyro_data.filtered.x * 180 / M_PI; raw.gyros_filtered[0] = gyro_data.filtered.x * 180 / M_PI;
raw.gyros_filtered[1] = gyro_data.filtered.y * 180 / M_PI; raw.gyros_filtered[1] = gyro_data.filtered.y * 180 / M_PI;