generated from Choate-Robotics/7407-DriveCode-Template-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/shooter #11
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
Feat/shooter #11
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1b3caee
add indexing trigger
e-bauman e8351e8
set shooter command
lhonney26 fc36519
fix units
e-bauman e0fc40f
drive at angle command
lhonney26 9814f3a
Merge branch 'dev' into feat/shooter
alexl1239 e4112be
fixed drivetrain and shooter aiming
lhonney26 7195d3c
shooter tuning command setup
alexl1239 229728a
Merge branch 'feat/shooter' of https://github.com/Choate-Robotics/740…
alexl1239 62db52b
added drivetrain to publish
alexl1239 d846f12
i think it works
e-bauman e920a2b
absolute encoder
theA-Train 4a62119
shot tuner update for better network tables
alexl1239 a598e35
fused cancoder for hoodmotor
theA-Train 924e0cb
Merge branch 'dev' into feat/shooter
e-bauman 0ed72cc
updated gear ratios
e-bauman f9adf32
hood cancoder
achung28 1fc875c
Update constants.py
achung28 c595a9e
Fixed shooter issues
achung28 9976edd
One last issue
achung28 330dc9f
stationary commands
theA-Train 550e688
pass right pass left commands
theA-Train b6dbd0a
fix shooter to use rotations instead of radians
e-bauman 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,19 @@ | ||
| LOGGING = True | ||
|
|
||
| from wpimath.geometry import Rotation2d | ||
| LOGGING = True | ||
|
|
||
| tower_drivetrain_angle = Rotation2d(0) # PLACEHOLDER | ||
| tower_flywheel_velocity = 0 # PLACEHOLDER | ||
| tower_hood_angle = 0 # PLACEHOLDER | ||
|
|
||
| hub_drivetrain_angle = Rotation2d(0) # PLACEHOLDER | ||
| hub_flywheel_velocity = 0 # PLACEHOLDER | ||
| hub_hood_angle = 0 # PLACEHOLDER | ||
|
|
||
| leftpass_drivetrain_angle = Rotation2d(-160) # PLACEHOLDER | ||
| leftpass_flywheel_velocity = 0 # PLACEHOLDER | ||
| leftpass_hood_angle = 0 # PLACEHOLDER | ||
|
|
||
| rightpass_drivetrain_angle = Rotation2d(160) # PLACEHOLDER | ||
| rightpass_flywheel_velocity = 0 # PLACEHOLDER | ||
| rightpass_hood_angle = 0 # PLACEHOLDER |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| from .command_swerve_drivetrain import CommandSwerveDrivetrain | ||
| from .command import AimDrivetrain, SnakeMode | ||
| from .command import AimDrivetrain, DriveAtAngle, SnakeMode | ||
| from .constants import max_angular_rate, max_speed, deadband, curve |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| from .subsystem import Shooter | ||
| from .command import AimShooter, SetShooterAuto, SetShooterIdle | ||
| from .command import AimShooter, SetShooterAuto, SetShooterIdle, TuneShooter, SetShooter |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the variables reassigned intentionally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ask Alex bro