Replies: 1 comment
-
|
The default drive speed is about half of the rated speed, but you can pick any speed that works well for your robot. (In a typical first classroom lesson, full speed isn't the ideal default.) The target speed (speed limit isn't the best word) does not depend on battery level. It is what you choose it to be for your robot, in mm/s. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This is how we boot the hub:
that gives us values like for the two medium motors from Spike Prime.
I'm a bit confused by the calculation for speed limits.
I'm reading on motors.sariel.pl that the medium Spike Motor has a limit of 138RPM, that means it's 2.3 rps with a 57 mm wheel (57pi ~180 mm), wouldn't that lead to 2.3180 = 414mm speed limit?
Is the boot up process taking into account the hub voltage and then reading the rpm curve based on that? Does that mean my top speeds could be changing as my battery curve changes?
Perhaps I should do a min(SOME_CONSTANT, TOP_DRIVE_SPEED) to make it more consistent?
Beta Was this translation helpful? Give feedback.
All reactions