OpenSeizureDetector / Android_Pebble_SD

The main OpenSeizureDetector Android App, that is published on the Android Play Store.
http://openseizuredetector.org.uk
GNU General Public License v3.0
9 stars 14 forks source link

V4.3.x upstream #123

Closed AroonPro closed 11 months ago

AroonPro commented 11 months ago

Request for 231013.

Changes made on Hr algorithms slide Caution, is behind of Main Pebble_SD V4.2.x commits.

AroonPro commented 11 months ago

SdDataSource.java line 984 - I guess indeed something is misplaced.

draft: long LastFidgetWindow = mLastFidgetTime + OsdUtil.convertTime(1,TimUnit.MINUTES,TimeUnit.MILISECONDS) if (mDeviation < mFidgetTreshold ) long tnow = Calendar.getIntance.getCurrentTimeIMilis(); if (mLastFidgetTime == 0 || LastFidgetWindw - tnow >= OsdUtil.convertTime(20,TimeUnit.SECONDS,TimeUnit.MILISECONDS)

SdDataSourcePhone.java line 243 - :

This is in this case done, because here also is given in m/s2. At the end of doAnalisys I convert from mGal up In wearSd is at sensor level also m/s2. therefore in phone I changed it.

jones139 commented 11 months ago

Merged this, then I'll look at getting it working on the Phone and Garmin data sources and commit any changes directly to this branch rather than doing it via comments on the pull request.