Question/Issue:
Hello, I’ve recently built a model for a gesture recognizing AI, this will be deployed on the Arduino nano 33 BLE Sense. For testing i first exportet the Batch script for the device itself. Everything worked fine, the classification of the certain gestures I wanted to be recognized was what i was hoping for, moving on from the batch script i now wanted to have my own code use the model, I exported the .zip file for the Arduino libary, compile the code, and get an error.
#error "Invalid model for current sensor"
The secound last line of the example program of the libary throws an error.
I looked into this forum and just found one simular topic that was working out my current problem, the solution was really dissatisfying.
This forum post can be found here: Arduino BLE Sense libraries "invalid model for current sensor"
Following the advise on this forum, I went into the exportet libary and changed the line of code in the “model_metadata.h” file. This got the code to work, but only with the accelerometer data, which made the Model very inconsistant. Not being able to recognize any gestures at all.
This maby correlates with the fact that the model only has accelerometer data to work with and it would be good to also use the Gyroscope data. But everytime I’m trying to use more than accelerometer data the error “Invalid model for current sensor” is shown. I don’t know how to make it work, if someone needs more data provided on certain things, just ask me to provide them. Other than that I’m really thankful for any help.