07-11-2021 09:05 AM
Hello,
I am using BNO055 based device inside a car and trying to detect if the car is in motion or stationary. I am using linear acceleration data and gyro in NDOF fusion mode to detect that the car is moving or not , but because of vibration (from engine ,doors opening an closing,etc.) the acceleration and gyro data are noisy and giving wrong results in my algorythm.
Thanks for your help.
07-12-2021 07:36 AM
Hello LP_MAN,
If you only want to detect if the car is in motion or stationary. You could refer activity recognitions detection of BMI270(with internal algorithm).
/* Various Activity recognitions are listed in array. */
const char *activity_reg_output[6] = { "OTHERS", "STILL", "WALKING", "RUNNING", "ON_BICYCLE", "IN_VEHICLE" };
07-13-2021 07:22 AM
Thank you for quick response.
Can BMI270 detect "Still activity" even when the car is stationary and the engine is on ? I know this depends on many parameters but I just want to be sure that generally car vibrations do not affect activity recognitions detection.
07-14-2021 07:29 AM
Hello LP_MAN,
My understanding is that current status is still activity when engine is off, there is no vibrations this time. As long as the engine is on, status should be in car.
This requires algorithms to detect different states.