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

Fitness tracking #23

Closed
cmhduck opened this issue Apr 10, 2021 · 12 comments
Closed

Fitness tracking #23

cmhduck opened this issue Apr 10, 2021 · 12 comments
Assignees
Labels
src/osw-app This PR / issue impacts the current release of the OS src/osw-service ⭐ enhancement New feature or request

Comments

@cmhduck
Copy link

cmhduck commented Apr 10, 2021

There should be a screen that shows steps, calories burned,goals and other things fitness related. πŸ€·β€β™‚οΈ

@uvwxy
Copy link
Member

uvwxy commented Apr 10, 2021

Does anyone know some good average values for kCal / step ?

@cmhduck
Copy link
Author

cmhduck commented Apr 10, 2021

We were talking about it on the discord

@jfnk324
Copy link
Contributor

jfnk324 commented Apr 10, 2021

Some results of our previous discussions:
-Calculate speeds with steps/second
-Enter step length for 3 different speeds in the configuration file
-Use an averaged value
-https://www.insider.com/how-many-steps-a-day-to-lose-weight
-GPS edition might even take the height difference into account, assuming that is possible
-Could be difficult to run it in deep-sleep mode

@cmhduck
Copy link
Author

cmhduck commented Apr 10, 2021

BE9BDFD5-8743-4BB5-8E03-645A6039C1AB

Heres a concept i made. Had to do it on my phone so dont judge me πŸ˜‚

@cawolfkreo
Copy link

I saw the comments about this screen on the discord and tried to help with the design of @crazycaleb2008 and I came up with these designs:
imagen
The idea was to distance ourselves a bit from the apple watch by using semicircles instead of a full circle. The data this design needs is:

  • Steps counter: Just the amount of steps taken.
  • Distance walked: how far (aprox) has the user walked/run, either using steps * average step distance and/or the GPS (as you guys mentioned previously).
  • Time since the fitness tracking started: you count in seconds and display it in minutes.
  • kCal burned: calculated as @matti04 pointed out and the unit will be Cal or Calories instead of kCal since people are used to assuming kCal = Cal in most food products, packaging, etc.

You can see the full designs, comments for each of them and a small "how this will be used" here

@uvwxy
Copy link
Member

uvwxy commented Apr 11, 2021

Currently from those only works:

  • steps counter

Regarding Distance walked:

  • the BMA400 supports activity recognition: still, walking, running
  • depending on activity mode walking and running one could use two average step lengths to estimate the distance run. allthough this will be error prone, it might give an interesting estimation.
  • Average walking step length could be estimated with "For women, simply multiply 0.413 by your height in centimeters. Men should multiply 0.415 by their height in centimeters." (See for example https://livehealthy.chron.com/determine-stride-pedometer-height-weight-4518.html)

Regarding kCal burned:

Although those values are just estimation, they might be a good starting point.
The steps are being tracked by the BMA400 even while the watch is in deep sleep, this means we can create statistics with out any power drawbacks over a day.

For exercising I would recommend to implement the watch to respond to activity change interrupts, wake up on change and keep adding the step swalked or steps run.

@uvwxy uvwxy added src/osw-app This PR / issue impacts the current release of the OS src/osw-service labels Apr 11, 2021
@uvwxy uvwxy added this to the Version 3.0 milestone Apr 11, 2021
@uvwxy uvwxy self-assigned this May 18, 2021
@Tomaskocarter
Copy link

Personally I really like the watch face that's second from the right on the bottom row. I think making the time larger so that it is easy to read at a quick glance, and adding in the date could be an improvement, but overall I think the simplicity of it gives it a minimalistic look that's pleasing to the eye.

@uvwxy uvwxy modified the milestones: Version 3.0, Ideas / Backlog Dec 7, 2021
@RuffaloLavoisier
Copy link
Member

RuffaloLavoisier commented Apr 3, 2022

Is this still going on? How is the current progress?

@RuffaloLavoisier RuffaloLavoisier self-assigned this Apr 13, 2022
@RuffaloLavoisier RuffaloLavoisier added the ⭐ enhancement New feature or request label Apr 13, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue May 4, 2022
@RuffaloLavoisier RuffaloLavoisier added the ⏳ pending for discussion This object is queued for internal discussion... label May 13, 2022
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue May 13, 2022
-Tracking distance, calorie, step-counter
RuffaloLavoisier added a commit to RuffaloLavoisier/Ruffalo-OSW that referenced this issue May 15, 2022
@RuffaloLavoisier
Copy link
Member

See #223

@simonmicro
Copy link
Member

What do you guys @crazycaleb2008 and @matti04 think? With the current develop branch @RuffaloLavoisier implemented everything beside goals. Should we close this issue or still keep it open?

@cmhduck
Copy link
Author

cmhduck commented May 31, 2022

This looks great! Will have to bust out my osw to try it. It dosent matter to me if you keep it open or close 😜

@RuffaloLavoisier
Copy link
Member

@crazycaleb2008 Thank you for the idea. And I was able to create it.

@RuffaloLavoisier RuffaloLavoisier removed the ⏳ pending for discussion This object is queued for internal discussion... label Jul 28, 2022
simonmicro pushed a commit that referenced this issue Aug 18, 2022
Anim : refactoring doom-fire class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src/osw-app This PR / issue impacts the current release of the OS src/osw-service ⭐ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants