Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue 97] Sensor locations may transmit multiple sensor data types #99

Merged
merged 9 commits into from
Feb 18, 2015

Conversation

carlpulley
Copy link
Contributor

  • SensorNet and SensorNetValue are capable of holding multiple sensor data types
  • revised UserExercisesClassifier and ExerciseModel actor assumptions in light of these changes
  • updated unit testing
  • sbt test
  • ready for review/merge

This PR aims at closing issue #97

@jenkins-eigengo
Copy link

Merged build finished. Test FAILed.

@jenkins-eigengo
Copy link

Can one of the admins verify this patch?

2 similar comments
@jenkins-eigengo
Copy link

Can one of the admins verify this patch?

@jenkins-eigengo
Copy link

Can one of the admins verify this patch?

@jenkins-eigengo
Copy link

Refer to this link for build results (access rights to CI server needed):
http://lift-jenkins.cakesolutions.net//job/dev.test.pebble-pr-builder/113/
Test FAILed.

@jenkins-eigengo
Copy link

Refer to this link for build results (access rights to CI server needed):
http://lift-jenkins.cakesolutions.net//job/dev.build.lift-ios-pr/1/
iOS SUCCESS. Nothing less expected!

sensorMap.values.forall(_.length == blockSize),
"all sensor data locations have a common data length"
sensorMap.values.forall(_.forall(_.length == blockSize)),
"all sensor data location points have a common data length"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is a reasonable assumption now, the number of samples can differ in the future (e.g. switching the watch to a 50 Hz sampling rate).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked with Carl, re-sampling should be done, so that every sensor values are taken at the same frequency. For periods when there is no data (the sensor does not transmit anything), a good central values should be inserted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened issue 103 (#103) to address the possible sampling frequency difference of sensors.

@carlpulley
Copy link
Contributor Author

buildme

@janm399 janm399 merged commit a0f33c5 into eigengo:master Feb 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants