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

Advantage kit pivot #4

Merged
merged 15 commits into from
Oct 7, 2024
Merged

Advantage kit pivot #4

merged 15 commits into from
Oct 7, 2024

Conversation

aridavidson001
Copy link
Contributor

I think that everything should be correct - not 100% sure though(specifically tuning for replay and sim modes in pivot.java)

@aridavidson001 aridavidson001 added the help wanted Extra attention is needed label Oct 4, 2024
Copy link
Member

@JacksonElia JacksonElia left a comment

Choose a reason for hiding this comment

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

Really all of my comments are nits, but do make sure to keep style in mind. Otherwise, looks great! Good job!

io.setFollowerVoltage(volts);

}

Copy link
Member

Choose a reason for hiding this comment

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

add a method at some point that sets pivot (w/ pid) based on range from speaker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doesn't all of that stuff go in PivotIO? or do I need to have it here too?

Copy link
Member

@Ishan1522 Ishan1522 left a comment

Choose a reason for hiding this comment

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

i request changes plz

removed sysId bcuz we dont use it

sim actually logs inputs now

conversion stuff for logging units

styled and cleaned up code w/ docstrings and spacing

added constants for pivot mass and length
@aridavidson001
Copy link
Contributor Author

aridavidson001 commented Oct 7, 2024

looks like the Check Format Java failed because of something in the swerve subsystem - do I have to address that?

@Ishan1522
Copy link
Member

It's failing due to the spacing in your constants and your pivot files. you just have to run ./gradlew spotlessApply to fix it.

@Ishan1522
Copy link
Member

u need to pull from main for spotless to work

@aridavidson001
Copy link
Contributor Author

i didn't mean to close it

@aridavidson001 aridavidson001 reopened this Oct 7, 2024
@aridavidson001 aridavidson001 merged commit 602fc4d into main Oct 7, 2024
8 checks passed
@aridavidson001 aridavidson001 deleted the Advantage-Kit-Pivot branch October 7, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants