-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create Autonomous #22
Draft
NotMePipe
wants to merge
99
commits into
master
Choose a base branch
from
autonomous
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 77 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
065285c
Add basic shooter class
d4a02b5
modified build
kryllyxofficial01 3143bae
updated settings
kryllyxofficial01 1f98067
Merge branch 'master' into shooter
d6c08b4
Add Manipulation.java
NotMePipe 4163e72
Implement Manipulation
NotMePipe d13ec9c
Begin documenting Manipulation
NotMePipe 910d366
Document Manipulation methods
NotMePipe 8699047
Remove Shoot method
NotMePipe 0d3f789
Fix some errors in Robot.java
NotMePipe f9fce03
Fix initialization boolean from defaulting null
NotMePipe 447dbcd
Fix potential intakeWheel bug
NotMePipe 3a6203e
Remove redundant if statement in teleopPeriodic
NotMePipe f889ab7
Merge branch 'master' into shooter
TheBitEffect f70bebd
Merge branch 'master' into manipulation
dracco1993 7b908b0
...
a5e30f5
Merge branch 'shooter' of https://github.com/RAR1741/RA22_RobotCode i…
3e7f683
Merge branch 'master' into shooter
dracco1993 58c0640
...
kryllyxofficial01 0ead328
Merge branch 'master' into shooter
dracco1993 fb7984d
Merge branch 'master' into shooter
TheBitEffect 345f3dc
Merge branch 'master' into shooter
TheBitEffect 7642df2
Merge branch 'master' into shooter
TheBitEffect 42c25a7
Merge branch 'master' into shooter
dracco1993 d6a928b
change wpilib version
17c55ea
Merge branch 'shooter' of into shooter
10d67ce
change wpilib version
abc8e71
Create Autonomous class
NotMePipe dd21d55
add loggablegyro
kryllyxofficial01 ba80b41
Create JsonAutonomous class
NotMePipe 50877a4
Add Google Gson implementation
NotMePipe d3da78b
whitespace
kryllyxofficial01 6b97889
Add navX to vendordeps
TheBitEffect a850459
Fix some of the imports and other assorted errors
TheBitEffect 30d7e07
Add some example methods
TheBitEffect 68013f0
Fix refrences to old swerve drive code
TheBitEffect 6d9d9ed
Add methods to get sensor information
NotMePipe b55dfc0
Add turning methods
GingerJakeDaBoi f8fddd1
Add driving methods
NotMePipe d76985f
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_Robotcod…
NotMePipe f32142e
Ran Robot Simulation
GingerJakeDaBoi 16d804f
Add Loggable
GingerJakeDaBoi b0ec1ab
change wpilib version
kryllyxofficial01 27c7c7e
change wpilib version
kryllyxofficial01 ed28d4c
Implement JsonAutonomous into Robot.java
NotMePipe ce304e5
Add line to run autonomous
NotMePipe c75b07b
Update WPILib to version 2022.4.1
NotMePipe fa37c81
Add test auto sequence
NotMePipe 786d2ac
Fix NullPointerException
GingerJakeDaBoi e2c7614
Fix the double space (cure my ocd)
GingerJakeDaBoi 7abdb6b
Fix redundant methods
NotMePipe 0c87dcb
delete unused sim files
kryllyxofficial01 94db2bf
Test autonomous
rar1741programmer 7e6006a
Implement autonomous logging
NotMePipe e883298
Tell the robot to actually run the autonomous
NotMePipe aa60c2d
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_Robotcod…
NotMePipe a62c2ce
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_RobotCod…
rar1741programmer 2f7cd59
Fix waiting and turning issues
NotMePipe 3057d27
Find tick values with Parsec
NotMePipe 69e82ee
Add distance-test instructions
NotMePipe f959c27
Merge branch 'LoggableGyro' into autonomous
GingerJakeDaBoi d30837c
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_Robotcod…
NotMePipe 80716b0
Update gyro class to LoggableGyro
NotMePipe 15d4349
Make class simpler to construct
GingerJakeDaBoi 630e8aa
Add Shooter initialization
GingerJakeDaBoi 8fdf05e
Merge branch 'shooter' of https://github.com/RAR1741/RA22_RobotCode i…
GingerJakeDaBoi 2e5c672
Remove redundant import
NotMePipe b9f8868
Merge branch 'Shooter' into autonomous
NotMePipe cc4ee80
Add unmerged code
NotMePipe 50af188
Merge branch 'Manipulation' into autonomous
GingerJakeDaBoi 4da141a
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_RobotCod…
GingerJakeDaBoi 7db143c
Add getAverageCurrent method and fix getEncoder
NotMePipe 7c623ec
Add shooter-test.json
NotMePipe 17a568e
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_Robotcod…
NotMePipe a590436
Add shooter functionality
NotMePipe 23c4c7d
Bug fixes
NotMePipe 9c9ee56
Fix wall detection
NotMePipe b2f234e
Create current-test.json
NotMePipe 3e902ee
Update motor currents during auto
NotMePipe 99a48e0
Remove print lines
NotMePipe 9da9673
Remove unused JsonParser variable
NotMePipe 920e519
Begin autonomous sequence (Shooter broken)
NotMePipe 7ac1e22
Make amount a Double
GingerJakeDaBoi abbc681
Check if args exists before adding items from it
GingerJakeDaBoi 10123cd
Auto-format
GingerJakeDaBoi 0ad994e
Throw more descriptive error if type is missing
GingerJakeDaBoi ca96607
Fix wait method
GingerJakeDaBoi a9bafeb
Remove debug print statements
GingerJakeDaBoi ff4d886
Configure shooter for Parsec for auto testing
GingerJakeDaBoi 1a46ce6
Add Shooter TeleOp functionality (setSpeed broken)
NotMePipe e79bcbc
Merge branch 'shooter' into autonomous
NotMePipe 609dec8
Add method to get path of auto file
GingerJakeDaBoi b490579
Finalize autonomous (not tested yet)
NotMePipe 2f4c8f5
Merge branch 'master' of https://github.com/RAR1741/RA22_RobotCode in…
GingerJakeDaBoi 6f6d66c
fix drivetrain merge breaking
GingerJakeDaBoi 4940807
Merge branch 'autonomous' of https://github.com/RAR1741/RA22_RobotCod…
GingerJakeDaBoi 96ebcc6
Remove Parsec configuration
NotMePipe 20c463b
Get rid of useless TODOs
GingerJakeDaBoi 94bf62c
Update Solenoid IDs
NotMePipe 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 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 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 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,28 @@ | ||
{ | ||
"auto": [ | ||
{ | ||
"type": "drive", | ||
"unit": "SECONDS", | ||
"amount": 0.1, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
}, | ||
{ | ||
"type": "wait", | ||
"args": [ | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "turnDeg", | ||
"unit": "DEGREES", | ||
"amount": -90, | ||
"args": [ | ||
0.1, | ||
-0.1 | ||
] | ||
} | ||
] | ||
} |
This file contains 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,28 @@ | ||
{ | ||
"auto": [ | ||
{ | ||
"type": "drive", | ||
"unit": "CURRENT", | ||
"amount": 35, | ||
"args": [ | ||
0.1, | ||
0.1 | ||
] | ||
}, | ||
{ | ||
"type": "wait", | ||
"args": [ | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "drive", | ||
"unit": "FEET", | ||
"amount": 6.75, | ||
"args": [ | ||
-0.1, | ||
-0.1 | ||
] | ||
} | ||
] | ||
} |
This file contains 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,28 @@ | ||
{ | ||
"auto": [ | ||
{ | ||
"type": "drive", | ||
"unit": "CURRENT", | ||
"amount": 20, | ||
"args": [ | ||
0.05, | ||
0.05 | ||
] | ||
}, | ||
{ | ||
"type": "wait", | ||
"args": [ | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "drive", | ||
"unit": "FEET", | ||
"amount": 5, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
} | ||
] | ||
} |
This file contains 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,76 @@ | ||
{ | ||
"auto": [ | ||
{ | ||
"type": "drive", | ||
"unit": "INCHES", | ||
"amount": 50, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
}, | ||
{ | ||
"type": "turnDeg", | ||
"unit": "DEGREES", | ||
"amount": 90, | ||
"args": [ | ||
-0.05, | ||
0.05 | ||
] | ||
}, | ||
{ | ||
"type": "drive", | ||
"unit": "INCHES", | ||
"amount": 50, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
}, | ||
{ | ||
"type": "turnDeg", | ||
"unit": "DEGREES", | ||
"amount": 90, | ||
"args": [ | ||
-0.05, | ||
0.05 | ||
] | ||
}, | ||
{ | ||
"type": "drive", | ||
"unit": "INCHES", | ||
"amount": 50, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
}, | ||
{ | ||
"type": "turnDeg", | ||
"unit": "DEGREES", | ||
"amount": 90, | ||
"args": [ | ||
-0.05, | ||
0.05 | ||
] | ||
}, | ||
{ | ||
"type": "drive", | ||
"unit": "INCHES", | ||
"amount": 50, | ||
"args": [ | ||
-0.05, | ||
-0.05 | ||
] | ||
}, | ||
{ | ||
"type": "turnDeg", | ||
"unit": "DEGREES", | ||
"amount": 90, | ||
"args": [ | ||
-0.05, | ||
0.05 | ||
] | ||
} | ||
] | ||
} |
This file contains 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,18 @@ | ||
{ | ||
"auto": [ | ||
{ | ||
"type": "shoot", | ||
"unit": "SPEED", | ||
"amount": 1000, | ||
"args": [ | ||
1000 | ||
] | ||
}, | ||
{ | ||
"type": "wait", | ||
"args": [ | ||
5 | ||
] | ||
} | ||
] | ||
} |
This file contains 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,5 @@ | ||
package frc.robot; | ||
|
||
public abstract class Autonomous { | ||
public abstract void run(); | ||
} |
This file contains 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 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.
Line is longer than 100 characters (found 113).