-
-
Notifications
You must be signed in to change notification settings - Fork 36
Update robotics.py #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update robotics.py #162
Changes from 1 commit
f1b1955
aaf0d38
3025616
f29b95d
25544c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -161,6 +161,13 @@ def settings(self, *args): | |
| The speed values given here do not apply to the :meth:`.drive` method, | ||
| since you provide your own speed values as arguments in that method. | ||
|
|
||
| The robot will calculate the max turn rate for your robot based on the | ||
| axleTrack and wheelDiameter settings when you initialize the robot via | ||
| the DriveBase() function. If you try to set turn_rate to a value the | ||
bcfletcher marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| exceeds the calculated value the robot will return a INVALID AUGMENT error. | ||
bcfletcher marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| The max possible value for turn_rate is 1000 deg/s. A wider drivebase | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not always a max of 1000 deg/s is it? Doesn't it depend on the
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. perhaps, changing to "The max possible value for turn_rate is 1000 deg/s but in reality it depends on the axelTrack and wheelDiameter settings." |
||
| or one with smaller wheels will have a lower top speed for the turn_rate. | ||
bcfletcher marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Arguments: | ||
| straight_speed (Number, mm/s): Straight-line speed of the robot. | ||
| straight_acceleration (Number, mm/s²): Straight-line | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.