-
Notifications
You must be signed in to change notification settings - Fork 1
Swerveonly #13
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
Open
ProgrammingSR
wants to merge
45
commits into
main
Choose a base branch
from
swerveonly
base: main
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
Swerveonly #13
Conversation
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
Swerve offsets should now be set on the CANCoders using Phoenix Tuner X. Setting them using the encoder configurator also resets other encoder settings such as output range (which needs to be 0 to 1 for our code)
Co-authored-by: ProgrammingSR <[email protected]>
* feat: Faster Periodic Loop * fix: correct period in PID calculations * comments and docs --------- Co-authored-by: ProgrammingSR <[email protected]> Co-authored-by: Anay Nagar <[email protected]>
* Added LimelightHelper.java * Added LimeLight MegaTag2 data to pose estimates * Moved LimelightHelpers.java to a utils folder * Updated LimelightHelper, added CamPose, deleted VisionSubsystem * Fixed odometry * Small constants updates --------- Co-authored-by: ProgrammingSR <[email protected]>
* feat: elevator * feat: d-pad bindings * minor fixes * temporarily disabled elevator subsystem * minor fixes again
* feat: check if limelight is connected. * fix: limelight name --------- Co-authored-by: Anay Nagar <[email protected]>
* Change motors in DriveSubsystem to Spark Flexes * Oakestra Constants
* feat: acceleration limits Custom SlewRateLimiter (based off of WPILib SlewRateLimiter) which allows for changing rates. Implemented in DriveSubsystem for translation and rotation speeds. * fix: converts robot relative speeds to field relative early This prevents jerks from acceleration slew rate limiting when switching driving mode as the previous value stored in the filter would be from a different driving mode. * docs/comments * Move desaturation of wheel speeds out of fast periodic * So the next guy doesnt think hes going insane --------- Co-authored-by: Anay Nagar <[email protected]>
* WIP: auto aligns to the nearest reef scoring position when A is pressed * Command end bug fix * Check to see if at position for at least 5 ticks, feedforwards for DriveToPose * cancels driveToPose when button released * changed pid to profiledpid * fully working auto align to nearest reef position * Additional safety check (currently left bumper) --------- Co-authored-by: SR1899 <[email protected]> Co-authored-by: Programming SR <[email protected]> Co-authored-by: mebrahimaleem <[email protected]>
feat: unit tests
fix: changed pivot to absolute encoder
feat: algae interlocks
* fix: elevator command uses discrete current limits * feat: aggressive pivots * feat: deadlined based intake/outtake * feat: semi-automatic boundary lockup hint * feat: smart pivot bound to button * fix: bad clamp values * wip * fix: pivot clamp bug * fix: aggressive bug * refactor: enabled CANrange sensor * refactor: changed to median sensor * wip: interlocks tuning * feat: sensor offset * chore: finished tuning * fix: PivotCommand --------- Co-authored-by: ProgrammingSR <[email protected]>
* fix: elevator interruption behavior * feat: setpoints
* sammy commit 1 elevator optimizations and vision things and basic auton * scoring setpoints refactor * constants changes * One red and one blue auton, just paths using DriveToPose * final sammamish commit --------- Co-authored-by: ProgrammingSR <[email protected]>
* fix: allow setting angle to non zero on reset * refactor: removed unused imports * refactor: button bindings * Elevator faster --------- Co-authored-by: ProgrammingSR <[email protected]>
* Haptics on intake and elevator reaching setpoint * Reduce haptic time * Add haptics on intake to operator controller and change haptic time
* trust * stemnasium testing * fix: DriveToPose not working in sim * Updated limelight pose * Barge flip command * clean up commands * vision clean up * Small change to flip on red side * Moved haptic values to constants and added default overload * theoretically fully valid interlocks * Move LL updates to separate method * Custom LL crop window and interlocks tuning --------- Co-authored-by: ProgrammingSR <[email protected]>
* feat: autobuilder * Right side Autonomous pathplanners (not completed) * left autons * 3,2,1 Coral Auton * feat: auton commands * wip raise elevator autons * feat: solution 4 for accessing subsystems * refactor: swapped dummy contructor with static method * Auto pre testing * feat: Left 2 Coral auton * speling si hadr * Middle 1 Coral and Right 2 Coral autons * adjusted auton scoring positions * tuning * Add method of reversing coral if intookened too far * pathplanner is incredible * auton tuning * formatting --------- Co-authored-by: ProgrammingSR <[email protected]> Co-authored-by: Anay Nagar <[email protected]> Co-authored-by: Anay Nagar <[email protected]>
Added default value for m_intakeState
* Intake tweaks and rename * Rename pivot output
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.