Replies: 1 comment
-
|
The upcoming release has a calibrate() method that will properly reset it, including speed. It takes a few seconds to run, and the sensor should be held stationary. If you aren't already using it, you can try the new version via https://beta.pybricks.com. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The ev3 gyroscope sensor tends to drift often. Power cycling it in helps, that would be cool to automate it.
Is there a way to reboot the gyro sensor to reset the speed? .reset_angle(0) seems to just set angle to 0, but the velocity remains. Does the hardware support turning it off and on, or some other means to reset the velocity?
Physically unplugging and plugging many times is frustrating and more error prone.
The solution would increase gyroscope reliability.
If there is no already support for this, it would be very useful to have.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions