Skip to content

Commit

Permalink
Update imu.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensElflein committed Apr 11, 2023
1 parent 3b0c80a commit 12d5b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/LowLevel/src/imu/LSM6DSO/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ bool imu_read(float *acceleration_mss, float *gyro_rads, float *mag_uT)

gyro_rads[0] = gyroscope[0] * (PI/180.0) / 1000.0;
gyro_rads[1] = gyroscope[1] * (PI/180.0) / 1000.0;
gyro_rads[2] = -gyroscope[2] * (PI/180.0) / 1000.0;
gyro_rads[2] = gyroscope[2] * (PI/180.0) / 1000.0;

mag_uT[0] = 0;
mag_uT[1] = 0;
Expand Down

0 comments on commit 12d5b4c

Please sign in to comment.