MMS as a stand alone device. Accelerometer event triggered orientation logging.
I have the following system requirements. Can you confirm if the current SW API (eg, Data Routes, Processor) is able to support such:
1) log orientation/sensor fusion data using MMS deployed in the wild
2) Extend battery life as much as possible by only logging X seconds after some trigger events (eg, acceleration RMS above some threshold)
1) Is it possible to trigger the start and stop of the sensor fusion (eg, logging quaternions) where the trigger is initiated by an accelerometer event (eg, tap or motion detection)? ie, have sensorfusion.quaternion().start() inside an AsyncRoute function. Any danger in doing so?
2) If I programmed the MMS to have a sensor fusion/quaternion logging data route, but have not yet started the route, is the MMS already running sensor fusion in the background? or will it only do so after "sensorfusion.quaternion().start()"? In the interest of power-saving, I want to run sensor fusion (which consumes more power) only after trigger events.
3) What's the best way to log data (eg, quaternion) for a fixed amount of time or fixed amount of samples? (ie, how do I define ASyncRoute if I want "sensorfusion.quaternion().start()" to capture only X sec of data OR X * 100 samples) My gut feeling points me to the Timer macro OR the limit passthrough OR count+comparator data processor? Any advice or sample code will be appreciated.
4) [Android/Java question which I am slipping here] When I try to get AccBosch class for MMS in my Android App with the intention to program move advanced routes (eg, MotionDetection/TapDetection), it raises an error that BMI270, the acc of MMS, is not yet supported. Is it already supported in the python libraries? When will the Java libraries be supported? I am in particular interested on the StepDetection mode supported by BMI160.