-
Notifications
You must be signed in to change notification settings - Fork 0
(#81) Setup of TransferRoller subsystem #83
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c3e0830
(#81) Setup of TransferRoller subsystem
436bf24
(#81) Fixed python script that checks constants
a0886a1
(#81) Added a dejam velocity constant
500aa53
(#81) Hopefully fixed json so that it builds
6955f65
(#81) Review changes
dc938a0
(#81) Changed canbus assignment and name of method
d2a3551
(#81) Changed IdleState to make the motor coast
8bc3132
Merge branch 'main' into 81-add-intake-roller
godmar ab119bb
(#81) corrected earlier merge mistake
godmar f4c0434
(#81) renamed transferRoller package to be transferroller
godmar 1c67991
(#81) Added Lazy for transfer roller testing mode
500a95f
Merge branch 'main' into 81-add-intake-roller
7982231
(#81) Integration tuning and fixed coasting
21ed676
(#81) Added velocity filter time and removed unneeded constant
2026462
(#81) Fixed method type and json constant
33bed79
(#81) Fixed transfer roller to use refresh rates
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
src/main/deploy/constants/comp/TransferRollerConstants.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| { | ||
| "transferRollerReduction": 1.0, | ||
| "velocityFilterTime": { | ||
| "value": 0.05, | ||
| "unit": "Seconds" | ||
| }, | ||
| "transferRollerGains": { | ||
| "kP": 10.0, | ||
| "kI": 7.0, | ||
| "kD": 0.0, | ||
| "kS": 2.0, | ||
| "kG": 0.0, | ||
| "kV": 0.1, | ||
| "kA": 0.0 | ||
| }, | ||
| "transferRollerMotionProfileConfig": { | ||
| "isMutable": false, | ||
| "maxVelocity": { | ||
| "value": 0.0, | ||
| "unit": "Rotation per Second" | ||
| }, | ||
| "maxAcceleration": { | ||
| "value": 3000.0, | ||
thetaback marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "unit": "Rotation per Second per Second" | ||
| }, | ||
| "maxJerk": { | ||
| "value": 0.0, | ||
| "unit": "Rotation per Second per Second per Second" | ||
| }, | ||
| "expoKV": { | ||
| "dividend": { | ||
| "value": 0.0, | ||
| "unit": "Volt" | ||
| }, | ||
| "divisor": { | ||
| "value": 1.0, | ||
| "unit": "Rotation per Second" | ||
| } | ||
| }, | ||
| "expoKA": { | ||
| "dividend": { | ||
| "value": 0.0, | ||
| "unit": "Volt" | ||
| }, | ||
| "divisor": { | ||
| "value": 1.0, | ||
| "unit": "Rotation per Second per Second" | ||
| } | ||
| } | ||
| }, | ||
| "transferRollerSupplyCurrentLimit": { | ||
| "value": 60.0, | ||
| "unit": "Amp" | ||
| }, | ||
| "transferRollerStatorCurrentLimit": { | ||
| "value": 40.0, | ||
| "unit": "Amp" | ||
| }, | ||
| "simTransferRollerMOI": { | ||
| "value": 2.5E-4, | ||
| "unit": "Kilogram-Meter per Second-Meter per Radian per Second" | ||
| }, | ||
| "transferRollerSpinningVelocity": { | ||
| "value": 2000.0, | ||
| "unit": "Rotation per Minute" | ||
| }, | ||
| "transferRollerDeJamVelocity": { | ||
| "value": -2000.0, | ||
| "unit": "Rotation per Minute" | ||
| }, | ||
| "transferRollerMotorDirection": "CounterClockwise_Positive" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.