Skip to content

Conversation

@andrewmcalinden
Copy link
Contributor

No description provided.

AntarcticaByToto and others added 30 commits April 25, 2022 09:27
removed space
Override the frc::XboxController with a new ValorGamepad class
This will inherit all the same methods as XboxController, but also
provide additional methods for utilizing a deadband on the X and Y
sticks, as well as a deadband on the triggers.

Prevent caching all the values in each subsystem's state struct
Allow sensors to be their own object, which simplifies
the logic in the subsystems.

This also allows us to re-use common sensor types year over year.
For example the current sensing circular buffer on our intake
is a good sensor to use in the future, therefore create
a ValorCurrentSensor that can be used by multiple subsystems
If someone forgets to set the getter function for a ValorSensor
(which inevitably will happen), then return 0. If the getter function
is indeed set, then use it when getting the sensor
While holding left trigger, shoot the ball towards our hanger zone
…mit and changed to half of forward rotate limit for intake
… working, changed max speed values to usable values
…es and forward limit to 27, added voltage compensation
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.

7 participants