-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bring Main to Vision-Testing #24
Open
Mguarr
wants to merge
125
commits into
Vision-Testing
Choose a base branch
from
main
base: Vision-Testing
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.
Open
Conversation
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
Idk, I switched some of the ys to xs and xs to ys to make the code more consistent. However, that had the consequence of also potentially messing up the auto.
… allow splitting of xy movement and rotation
# Conflicts: # src/main/java/frc/robot/Robot.java # src/main/java/frc/robot/RobotMap.java
commit be3ca8c Author: Erik Currin <ehc12345678@gmail.com> Date: Sun Jan 28 15:43:34 2024 -0500 LED Charge up commit c96a855 Author: Justin-Dana <122135968+Justin-Dana@users.noreply.github.com> Date: Sat Jan 27 14:10:56 2024 -0500 Avoiding CHarege Up stuff Basicly just nevr calling it to avoid the issues, its not very important rn anyway.
In code, +x is forwards and +y is left. I tried setting up some Path Planner and it doesn't seem like there's anything wrong (but clearly there is). Path Planner never reaches its end condition even though the pose it's getting, that I confirmed using PathPlannerLogger, is correct.
Essentially, the shooter now has the code to allow it to rotate to change the angle we're shooting from (it may or may not work as of now due to tuning PID, Feedforward, and positive/negative issues). PathPlanner has been for the most part fixed, but rotation while moving still does not work. The Shuffleboard is starting to look nice as well.
This is because one person cannot possibly control everything they would need to using a single xbox controller. So two people will be using two controllers during the match.
I haven't had the chance to test yet, but at least the code builds...
Literally just commented about every file that wasn't commented. I also made it so that the intake can actually rotate using some basic (untuned) PID and Feedforward.
Literally all I did was add a climber subsystem that has a motor in it.
Now the bumper buttons on the drive controller stick the climber up and down.
Essentially, this command intakes from the ground all the way to the top of the shooter.
In the debug tab, there are commands for testing.
Idk why but the LED command LedChargeUp wasn't working since it does weird stuff on initialization, so I removed it from the Shuffleboard.
Just made motors more realistic. Still have yet to validate ports.
These pushes dont build becuase of Autosoucrece intake not being resolved to a tpye, so yall need to fix that
speed and strafe of speed are now in m/s fixed odometry turning while moving works in auto added accleration limit to auto swerve movement
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.