CshCyberhawks / Slippy

Our 2024 Robot Code
Other
0 stars 1 forks source link

Fix Command Xbox Controller causing loop overruns #40

Closed PY44N closed 7 months ago

PY44N commented 7 months ago

Calling Command Xbox Controller button functions in a loop seems to cause loop overruns (https://github.com/wpilibsuite/allwpilib/issues/5903). We only do this in the auto amp command. We should be able to replace this by either properly setting up the beam break logic so we don't need a spit bind (we should do this if we are going for full auto drive controls) or making the button call a spit command (or function in the auto amp command) from a bind in robot container.