6391-Ursuline-Bearbotics / 2020_UARobotics_Infinite_Recharge

0 stars 3 forks source link

Use of triggers instead of buttons #8

Open OroArmor opened 4 years ago

OroArmor commented 4 years ago

https://github.com/6391-Ursuline-Bearbotics/2020_UARobotics_Infinite_Recharge/blob/09c9c3baa37dc89dd5b4661b4605c208c920fbed/src/main/java/frc/robot/RobotContainer.java#L103-L105

jasondaming commented 4 years ago

I completely agree that as written these should be Triggers because they are use as triggers in the code. If however I wanted to use some of the features of buttons that aren't available to triggers you wouldn't have a fundamental opposition to making these buttons would you?

This was discussed here: https://www.chiefdelphi.com/t/digtial-input-firing-a-command/378369

OroArmor commented 4 years ago

Ah ok I understand now, i believe that there was a way to do it, but I don't remember completely. For this context that would work perfectly fine.