Does settings() work with GyroDriveBase? #1097
JuliaFiMSFT
started this conversation in
General
Replies: 1 comment 1 reply
-
The We added this check internally to give immediate feedback if something isn't right (as opposed to giving unexpected runtime behavior). But we could certainly make the message much clearer. We have this for port errors, for example:
For invalid arguments, perhaps we should have something like:
For this method specifically, we could perhaps print what the maximum values really are, since it depends on the wheel diameter and axle track. (A wide robot with small wheels can't turn quite as fast, for example.) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using v3.3.0b6 (Pybricks Beta v2.2.0-beta.5) and the GyroDriveBase works as expected. However, I cannot use drive_base.settings(). In this code, I get Invalid Argument.
Beta Was this translation helpful? Give feedback.
All reactions