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

Solenoid option to flipper (no longer needed?) #265

Merged
merged 9 commits into from
Mar 30, 2024

Conversation

Rongrrz
Copy link
Contributor

@Rongrrz Rongrrz commented Mar 27, 2024

Why are we doing this?

In case Mechanical wants to do something fancy with our limited oxygen on earth (😢) and use pistons instead of servos.

Asana task URL: https://app.asana.com/0/38541457243752/1206936581033227/f

Whats changing?

We killed servos and obliterated like 3 DoubleProperties!!!!!!!!
...Well, they are back.

Questions/notes for reviewers

Don't think we need to do anything with refreshDataFrame, right...? Also, channels are temporary. And also, don't commit this until Mechanical figures out what to do with the uhhh amp scoring mechanism.

How this was tested

  • unit tests added
  • tested on robot

@Rongrrz Rongrrz requested a review from a team as a code owner March 27, 2024 02:45
Copy link
Contributor

@aschokking aschokking left a comment

Choose a reason for hiding this comment

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

looks good

@@ -37,7 +37,6 @@ protected void initializeSystems() {
getInjectorComponent().swerveDefaultCommandMap();
getInjectorComponent().operatorCommandMap();
getInjectorComponent().lightSubsystem();
getInjectorComponent().flipperSubsystem();
Copy link
Contributor

Choose a reason for hiding this comment

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

⭐ why remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't we already do dataFrameRefreshables.add(getInjectorComponent().flipperSubsystem());? I thought it was unnecessary

@Rongrrz Rongrrz changed the title Replace Servo with Solenoid in FlipperSubsystem Solenoid option to flipper (no longer needed?) Mar 29, 2024
@aschokking
Copy link
Contributor

Yeah let's shelve this for now, mech is pessimistic about being able to make pneumatics work in practice now unfortunately.

@aschokking aschokking closed this Mar 29, 2024
@Rongrrz Rongrrz reopened this Mar 30, 2024
@aschokking aschokking merged commit 869d8ab into main Mar 30, 2024
1 check failed
@aschokking aschokking deleted the Flipper-Uses-Solenoid-(Piston)-Instead-Plan branch March 30, 2024 23:43
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.

2 participants