SENDA(Sensor Data Streamer) is an android application to stream real time sensor reading using LSL (Lab Streaming Layer). Along with the sensors it streams real time audio as well. This is a fork from the original author's Git Ali Ayub Khan's SENDA, which contains additional features and support for Samsung phones.
The following sensors are included:
- Accelerometer
- Light
- Proximity
- Gravity
- Linear Acceleration
- Rotation Vector
- Step Count
- Location
- Movella DOT (via Bluetooth)
The location stream includes four channels which contain, in this order:
- Latitude
- Longitude
- Elevation
- Delta (in meters)
All Movella DOT sensors are set to the EULER_COMPLETE measurement mode at the start of the measurement and stream free acceleration and Euler angles at a nominal sampling rate of 60 Hz. The stream contains 7 channels:
- Free acceleration (3 channels)
- Euler angles (3 channels)
- Sensor sample time fine.
For details about the data format and the orientation of the axes, see the Movella user manual.
- Android Studio Giraffe | 2022.3.1 Patch 2
- Android API 34 SDK platform
- Android NDK 25.2.9519653
- CMake 3.22.1
In order to start with development you need to follow these steps:
- Clone this repository
- Open project with Android Studio
Install this application and start streaming data by clicking on Start LSL button. You can record this data on PC using Lab Recoder from https://github.com/sccn/labstreaminglayer/tree/master/Apps/LabRecorder.
In newer Android versions, it might be useful to prevent Android from saving battery power by limiting processing time for the app. Go to Settings -> Battery optimization and disable this feature for the app.
- Android Studio - Android development framework
- LSL - Lab Streaming Layer library
- Google MediaPipe Google MediaPipe library
Please feel free to contribute to this project by creating an issue first and then sending a pull request respectively.
- Sarah Blum - s4rify
- Ali Ayub Khan - AliAyub007
- Paul Maanen - pmaanen
This project is licensed under GNU General Public License License - see the LICENSE.md file for details
- Sometimes the scan button complains about mission bluetooth permissions but does the scan for Movella sensors anyway.
- On a new installation multiple restarts of the app might be necessary until it asks for and notices newly granted permissions
- Some phones don't respect the foreground service and wakelock. A possible workaround is to set the app to unlimited background power usage in the app settings.
liblsl, MIT license liblsl-Java MIT license Google Mediapipe: Apache v2.0 license.