I am using the bmx160 sensor for a project there is no exact source code for bmx160. I need to use BMI160 for the accelerometer and gyro and for the magnetic sensor I need to use BMM160 source code.
I have configured the BMI160 code for BMX160 and got accelerometer and gyro values.
How to configure BMM150 source code for BMX160 sensor along with BMI160 source code.
The address map of BMM150 is different from BMX160.
Is there any source code for BMX160 where all 3 sensor data can be read out.
Solved! Go to Solution.
I have read the data of accelerometers and gyroscopes according to the official program. Is the parameter of the function to obtain Euler angle in the official algorithm library the original data value passed in?
bmi160_get_sensor_data((BMI160_ACCEL_SEL | BMI160_GYRO_SEL | BMI160_TIME_SEL), &bmi160_accel, &bmi160_gyro, &bmi);
bsxlite_do_step(&bsxlite_instance, w_time_stamp, &bmi160_accel, &bmi160_gyro, bsxlite_fusion_out);
Are the above parameters directly transmitted to the acquired accelerometer and gyroscope data? Or do you need to calculate before you can pass it in