Skip to content

Commit

Permalink
fix finger order
Browse files Browse the repository at this point in the history
  • Loading branch information
jazminsofiaf committed Jan 24, 2022
1 parent d1ad907 commit f258d7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/datacollection/storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ class SensorMeasurements {
}
List<double> measurementList = [];
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.thumb));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.pinky));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.index));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.ring));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.middle));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.index));
measurementList.addAll(extractFingerMeasurement(gloveMeasurement.pinky));

this.values.add(measurementList);
this.timestamps.add(gloveMeasurement.timestampMillis);
return true;
Expand Down

0 comments on commit f258d7b

Please sign in to comment.