-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pbio/drivebase: Use gyro for speed state.
While we have to use the motor speed estimate to get stable motor motion, we can still use the measured gyro rate for things like stall detection. This improves accuracy of stall detection when the robot is lifted in the air. This is not a typical operation that happens in the field, but people often do this to test that the gyro is "working", so we should make sure to produce intuitive behavior. Partially fixes pybricks/support#1032
- Loading branch information
1 parent
a34d7cb
commit 26b8e62
Showing
3 changed files
with
15 additions
and
5 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