mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-bmi088.git
synced 2025-06-10 18:45:59 +00:00
Fixed a bug in data collection
This commit is contained in:
parent
c0d38a0de0
commit
1452c93161
@ -143,7 +143,7 @@ namespace sta
|
||||
void BMI088::getAcceleration(float* x, float* y, float* z)
|
||||
{
|
||||
uint16_t i_x,i_y,i_z;
|
||||
getRawRotation(&i_x, &i_y, &i_z);
|
||||
getRawAcceleration(&i_x, &i_y, &i_z);
|
||||
convertRawToActual(&i_x, x, f_accel_range);
|
||||
convertRawToActual(&i_y, y, f_accel_range);
|
||||
convertRawToActual(&i_z, z, f_accel_range);
|
||||
|
Loading…
x
Reference in New Issue
Block a user