BitBucketsFRC4183 / FRC2022-Rapid-React

Team 4183's repository for our Rapid React robot's code
MIT License
4 stars 17 forks source link

Check climb/shooter button conflicts #62

Closed cpostbitbuckets closed 2 years ago

cpostbitbuckets commented 2 years ago

When climb is enabled, the shooter buttons should do nothing.

We need to make sure where buttons overlap, we add checks like

if (climbSubsystem.isClimbEnabled()) {
  // do climb function
} else {
  // do shooter stuff
}

I think we need to write an isClimbEnabled() function