Hi everyone, I hope your build seasons are all going well.
This year is my first year programming independently from other programmers, and I just had a quick question.
I apologize if I am ignorant of this not being possible, or a simple way to do this. I was curious of the opinions of those on here before I did detailed research into documentation.
Our Robot is written in Java and based on the CommandBased template provided by FIRST.
I’m aware of it being possible to run a command while a button is held on a Joystick, but is it possible to make sort of an on and off switch?
Example: Press one to activate, press once to deactivate
We are interested in our shooter and intake being a toggle switch instead of a held button.
Thank you in advance