RADAR-base/radar-android-faros

Name: radar-android-faros

Owner: RADAR-CNS

Description: RADAR pRMT Faros plugin

Created: 2018-01-25 13:38:00.0

Updated: 2018-01-25 14:58:37.0

Pushed: 2018-01-29 11:15:55.0

Homepage: null

Size: 89

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Faros RADAR-pRMT plugin

Plugin for the eMotion Faros 90/180/360 devices. The source code for device interaction is closed and maintained by The Hyve. For more information, please contact The Hyve.

Installation

First, add the plugin code to your application:

sitories {
maven { url  'http://dl.bintray.com/radar-cns/org.radarcns' }


ndencies {
compile 'org.radarcns:radar-android-faros:0.1-alpha.1'

Configuration

This plugin takes the following Firebase configuration parameters:

| Name | Type | Default | Description | | —- | —- | ——- | ———– | | emotion_faros_acceleration_rate | int (Hz) | 25 | How frequently acceleration values are collected. Use 0 to disable acceleration data. | | emotion_faros_acceleration_resolution | float (g) | 0.001 | Resolution of acceleration values. A higher resolution will result in lower range. | | emotion_faros_ecg_rate | int (Hz) | 125 | How frequently ECG data is collected. Use 0 to disable ECG data. | | emotion_faros_ecg_resolution | float (µV) | 1.0 | Resolution of ECG values. A higher resolution will result in lower range. | | emotion_faros_ecg_channels | int | 1 | Number of ECG channels to activate. Faros 360 supports 3 channels, other devices support 1. | | emotion_faros_ecg_filter_frequency | float (Hz) | 0.05 | High pass filter frequency for the ECG channel. | | emotion_faros_temperature_enable | boolean | true | Whether to send temperature readings. Only the Faros 360 supports temperature readings. | | emotion_faros_inter_beat_interval_enable | boolean | true | Whether to send inter-beat-interval readings. | | emotion_faros_battery_interval | int (s) | 60 = 1 minute | How often to send the battery level. Use 0 to disable precise battery level collection and opt for approximate battery level instead. |

This plugin produces data for several Kafka topics. All value types are prefixed with the org.radarcns.passive.emotion namespace.

| Topic | Type | Description | | —– | —- | ———– | | android_emotion_faros_acceleration | EmotionFarosAcceleration | Acceleration values. | | android_emotion_faros_ecg | EmotionFarosEcg | ECG signal. | | android_emotion_faros_inter_beat_interval | EmotionFarosInterBeatInterval | Inter-beat-interval derived from the ECG signal. | | android_emotion_faros_temperature | EmotionFarosTemperature | Temperature. | | android_emotion_faros_battery_level | EmotionFarosBatteryLevel | Battery level. If battery_level_interval is set to 0, this is an approximation. |

Contributing

Code should be formatted using the Google Java Code Style Guide, except using 4 spaces as indentation. Make a pull request once the code is working.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.