This week I worked with Jacob and Soejong on porting/integrating the SVM to the RPi and separately worked with Nick on getting a mobile Bluetooth app online.
The SVM is running nicely on the phone and seems to be working as expected with the IMU data — I have it reporting results in realtime over Bluetooth to the generic Bluetooth serial terminal app from before. Before running in realtime, I determined that each inference takes about 13ms which is well within acceptable bounds — right now, we’re checking a 1s window once a second. Determining power draw/battery life probably won’t happen since our battery has disappeared (somewhere in mail system, not on route to me), but I might be able to work something out.
On the app front, I was able to run an older, native version of Nick’s app, so he has a working environment. That uses a native library, so the biggest hurdle (getting arbitrary native code working) is done.