Skip to content
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

Swerve #8

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
Open

Swerve #8

wants to merge 14 commits into from

Conversation

ConradSkelly
Copy link
Member

@ConradSkelly ConradSkelly commented Jan 30, 2025

Pull request for _________

Included Features:



Checklist:

  • The code builds
  • The code has been self or peer-reveiwed
  • The code works in simulation
  • The code has been tested on the robot & works as intended

@ConradSkelly ConradSkelly requested a review from eskiles January 30, 2025 02:44
Copy link
Member

@JakeStew81 JakeStew81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid framework going on here, but see the comment that starts off with "Where are the modules?"

src/main/java/frc/robot/Constants.java Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
private SwerveModuleState frontRight;
private SwerveModuleState backLeft;
private SwerveModuleState backRight;
private final Pigeon2 gyro;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are the modules? You seem to have a sim setup going on here, just need to convert it over to using the modules to interface with real properly. You can still get the sim working using the modules, you'll just need to make a SwerveDrivePoseEstimator object and pass in the data from your modules, which should be handling sim v.s. real on their own. You've got a solid framework here, just need to connect the parts. I'm happy to help you with this tomorrow if you'd like

src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/Constants.java Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants