Skip to content
/ SENDA Public
forked from NeuropsyOL/SENDA

Sensor Data Streamer on android using LSL (Lab Streaming Layer)

License

Notifications You must be signed in to change notification settings

keumds/SENDA

 
 

Repository files navigation

DOI

SENDA Android Application to stream out Sensor Data directly from the Phone

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.

Original Description of the App

Following sensors are included:

  • Accelerometer
  • Light
  • Proximity
  • Gravity
  • Linear Acceleration
  • Rotation Vector
  • Step Count

Getting Started

Development:

In order to start with development you need to follow these steps:

  • Clone this repository
  • Open project with Android Studio
  • update Gradle tools to newst version, then update and sync the project

If you get errors related to native, built in functions such as fgetpos and fsetpos in cstdio, this problem arises beacuse of the version of the ndk that you are using. Follow this link https://developer.android.com/ndk/downloads/older_releases.html to download Revision 14b. Now to update the ndk in android studio go to File -> Project Structure -> SDK Location -> Android NDK location and set the path to point at android-ndk-r14b.

Usage:

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.

Built With

Contributing

Please feel free to contribute to this project by creating an issue first and then sending a pull request respectively.

Authors

License

This project is licensed under GNU General Public License License - see the LICENSE.md file for details

Acknowledgments

liblsl Library: I used this library to develop this application.

Cite As:

You can cite this work in your research using text below:

Ali Ayub Khan. (2018, October 24). AliAyub007/SENDA: New features added (Version 1.0.1). Zenodo. http://doi.org/10.5281/zenodo.1469957

About

Sensor Data Streamer on android using LSL (Lab Streaming Layer)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.3%
  • Java 10.4%
  • C 5.9%
  • CMake 0.6%
  • HTML 0.3%
  • Roff 0.3%
  • Other 0.2%