03-31-2021 02:11 PM
Hi, I have successfully interface BMI270 using I2C protocol. Also I am able to load configuration file.
https://github.com/BoschSensortec/BMI270-Sensor-API
I am referring examples code from above link. I have received various activities like running, walking etc. from this example "\examples\bmi270\step_activity".
I want these two activities "ON_BICYCLE", "IN_VEHICLE". This activity recognition is provided in "bmi270_context" folder.
But I am getting this warning "Warning [1] : FIFO empty". I am referring this example file "activity_recognition".
Please help me to achieve these functionalities.
Thanks in advanced.
07-09-2021 04:55 AM
Hello sos,
You could refer example code from github to check if your code didn't work well, so you code couldn't run into expected part.
https://github.com/BoschSensortec/BMI270-Sensor-API/tree/master/examples
Other suggestion is that you could test more than 30 second. For example: from still to walking, from walking to running. But for "ON_BICYCLE", "IN_VEHICLE" recognition, I think it is not good way to move board to simulate this activity status, it is better to test by bike, by car.