Log a single sensor read at button press

edited March 2018 in Android


I have a MetaMotionR+ and I need to log the Euler angles once every time the button is pressed. It need to be run on the device without an active connection, and then be downloaded at a later time.

So far I have managed to set up data route for logging the Euler angles, and then similar to the tutorial at "6.1.4. Event Handling" I have set the device to start logging when the button is pressed down, and stop logging when the button is released. But this resolves in many sensor readings even with a short button press.

Is it possible to control exactly how many sensor readings that are logged, and how?

Any help is appreciated :smile:


This discussion has been closed.