Replies: 1 comment 3 replies
-
|
Which parameters have you tried, and which do not work? |
Beta Was this translation helpful? Give feedback.
3 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.
-
Using the code below, we are trying to make a function to curve for a given amount of time.
However, the angle parameter of the DriveBase.curve() has limitations. (It raises a ValueError if it is over)
We found out that it is related to the straight_speed, turn_rate(DriveBase.settings()), radius parameter, and wheel diameter.
To complete the code above, we need to find the maximum angle value(each situation).
Is there a way to calculate it?
The reason we avoid using smaller angle values is that acceleration also stops once the DriveBase.curve() is done.
Otherwise, Is there a better code for curving for time?
Beta Was this translation helpful? Give feedback.
All reactions