-
-
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.
extmod/modrobotics: bind settings by limits
The settings() just set lower defaults for straight() and turn(). When they call pbio functions, they are still bound by the control limits. By limiting the values kept as class attributes, this implicit bound is made explicit because it makes it possible to see that very large values are capped.
- Loading branch information
1 parent
672b493
commit 377dbaa
Showing
1 changed file
with
11 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