We are trying to get a motor spinning forward (with the left trigger axis), the same motor spinning reverse (using the right trigger axis), and using a different motor we need to move an arm up/down (using left Y axis).
We have written a commands to spin the first motor and another command to run the arm. Each command works great when they are the default command in the subsystem. I’m assuming the default command doesn’t end so the other command can run. We don’t have the problem switching between commands when using buttons, but can’t get it to work when using axis.
Any help would be appreciated. We are using command based Java.
So the way commands typically work with FRC is the default command is only run when other commands arent being triggered, aka if a command that uses the subsystem isnt being run the subsystem will run whatever its default command is in place of an actual command. Do you have your code in a public repo by any chance so i can take a closer look?