| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Build size and comparison to main:
|
Sorry, something went wrong.
|
Sim fix should be trivial, just a method rename it seems |
Sorry, something went wrong.
|
Merged this onto my main device and will try it out compared to the "old"(er) system. Anything to look out for in particular? |
Sorry, something went wrong.
|
I'm most interested in hearing whether it feels natural in terms of how it behaves when you have screen on measurements interacting with background measurements. Also any bugs ofc :) |
Sorry, something went wrong.
Sorry, something went wrong.
|
Thinking about it, it would actually make a lot of sense if this updated background HR fixes my reboots: Most of the reboots I have encountered have been when I am moving. I usually get a lot on the bike, and not so many just sitting at home. Sometimes when I'm sick and don't go out at all, I noticed uptimes of up to multiple days. All of this points to the idea that the reboots have something to do with me moving. The HR sensor on PineTime is notoriously not very good, if it works at all, when moving. That leads me to believe, that maybe the background HR was responsible for my reboots. So maybe the fail save function in this PR has fixed that. Has anybody noticed similar behavior? |
Sorry, something went wrong.
I'd very much welcome a PR which replaces zero with - everywhere. And TBH we should also refactor it all to expect std::optional<uint8_t> rather than uint8_t so we can discard the hacky zero value altogether |
Sorry, something went wrong.
See: #2342 |
Sorry, something went wrong.
There was a problem hiding this comment.
This looks very similar to what I POC'ed a while ago.
This is still more complex than I'd like it to be
Yeah, I also thought I could make this simpler, but... complexity increased as soon as I tried to handle all use-cases as well :-)
And I think this PR makes a great use of std::optional, which is great!
Sorry, something went wrong.
Co-Authored-By: Patric Gruber <me@patric-gruber.at>
|
OK should be good to go now. Will try get InfiniSim PR up soon |
Sorry, something went wrong.
|
@mark9064 InfiniTimeOrg/InfiniSim#180 might serve as a base :) |
Sorry, something went wrong.
|
@JF002 Hoi, ik zou graag even privé met je praten. Heb je een momentje? |
Sorry, something went wrong.
|
Sim PR is up InfiniTimeOrg/InfiniSim#184 Compiles locally |
Sorry, something went wrong.
|
either make the sim work for both code versions or I'll merge the sim PR after this one is merged |
Sorry, something went wrong.
|
Due to this PR being merged, I built InfiniTime myself from current master (7128fc0) to test it. I enabled background HR from the settings, but I never got results in Gadgetbridge, whatever interval (even continuous) I selected. |
Sorry, something went wrong.
|
HR needs to be turned enabled for background measurement to happen - do you have it turned on in the heart rate app? |
Sorry, something went wrong.
|
Oh, that's it! Thanks! It wasn't clear to me that it isn't enabled automatically when the background hr setting is enabled. Perhaps that would be a good improvement? Or at least a warning that it needs to be enabled from the hr app as well? |
Sorry, something went wrong.
|
Glad it's working :) Maybe a warning would be good? Supporting background measurements with no screen on feels a bit weird - how should we communicate that a heart rate value on screen is not being currently measured? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Largely based on #1718
Changes:
Accuracy improvements (second commit)
This is still more complex than I'd like it to be