-
Notifications
You must be signed in to change notification settings - Fork 25
Board Speed: Implemented pushback and haptic feedback #52
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
Conversation
|
Thanks for the PR, skimmed through, looks pretty clean. I'll have to think about the new config options (why not use the same settings as for duty pushback?) and the new pushback SAT (here a specific SAT might be the way to go, but in general I wanna make one SAT be "alert pushback" and then have another enum as the alert reason). The CI has failed on |
|
I Tried running the clang-format (also throug lefthook) but it fails: |
|
About the config options, It might make sense to use the same angle and angle-speed as duty, but its nice to have a different haptic tone. I don't wanna ignore duty, but speed, not so important :) |
Looks like you have an old version of clang-format, you need version 18. |
Fixed |
|
@buestad can you please squash the clang-format fix with the main commit and also drop the merge commits? Instead (if needed) please rebase the branch onto the current |
|
Also, can you just globally replace And, in general the goal is to keep the config options minimal necessary and I think we can use the duty settings for mostly everything, the only new option should be the actual speed setting. The options for duty cycle which will now also be used for speed alerting just need to be updated (names and descriptions) to say they now apply to Speed too. |
|
I can do the fixes tomorrow 👍 About board_speed. The reason for choosing that was because some other variables in the same area that had speed in the name. Believe it was related to the speed of pushback or something. |
c350641 to
ac02f02
Compare
2710579 to
7d459b3
Compare
|
I changed the target branch for the PR from |
Feature: Add support for speed-based alerting (Pushback and Haptic) > Trigger Pushback and Haptic Feedback at a desired speed. The properties other than the Speed Threshold are shared with Duty Cycle.
Take the new Speed Pushback into account and clean up some descriptions.
|
Just wanted to stop by and mention I’ve been running this with a speed limit of 15kmh on a PintV that my son’s been using for 2 weeks and have had no issues whatsoever so far 👍 |
Feature: Added functionality for speed-based pushback and haptic buzz. Configurable in Refloat Cfg
#46