Replies: 1 comment
-
For anyone finding this in the future: it appears that the gyro speed variable has a lot more resolution than the angle variable, because angle is an int. Think about a scenario where you're sampling the data at a rate of once per 0.015s. Suppose your robot is rotating at a rate of 4 degrees/s. How long will it take you to know that with the two methods?
It seems that |
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
-
Hi there, I'm working on writing a program to run the gyroboy robot from scratch. I'm using a PID controller to control the bot. Things seem to be working okay-ish, but I'm wondering if the gyroscope has any more resolution than what is available through the angle() method. It seems like it might help with the p component of the controller in particular if I could see sub-degree signals.
Beta Was this translation helpful? Give feedback.
All reactions