-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Bug unexpected movement MASSAGE; Adjustments
Fix bug where armchair moved too long every once in a while (especially at start). Minor adjustments of parameters. main.cpp: - set individual task priorities for each task e.g. fan or buzzer task has very low priority (did not have any immediate effect though while testing) - increase handle interval of motorctl change from 20 to 10 (same frequency as generation of massage commands) -> this fixed the bug with unexpected movement (motorctl could not process every command from massage mode) control.cpp: - decrease delay in massage mode for more detail/levels at joystick radius (from 20 to 10ms) - increase fading in massage mode (400ms to 500ms) for slightly less hard shaking joystick.cpp: - reduce max shaking amount - swap modes - top left shake backward - top right shake forward - bottom left/right shake rotating
- Loading branch information
1 parent
ad0723a
commit 3fa2f17
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters