frc868 / 2019-Robot

Deprecated command-based code for FRC 868's 2019 robot, Burnout
2 stars 0 forks source link

OI mappings that start a analog controller input when another button is pressed are not working #3

Closed armaangoel78 closed 5 years ago

armaangoel78 commented 5 years ago

I believe that whileHeld actually constantly starts and stops the command rather than continuing to run it (not sure why). For example, it makes the elevator/tilt motors constantly start and stop. This may require a reworking of OI mapping (instead of whileHeld do whenPressed + cancelWhenReleased), or a command fix.

armaangoel78 commented 5 years ago

I believe the fix is just making interupted() not call end()