@nab138 Did you intend to make this a race group? Race groups cancel all commands when any single one of them finishes. I believe this explains what we saw on Tuesday: The robot was already within the shooting zone, satisfying it's finish condition, and canceling the whole group prior to spinup or transit doing anything at all.
I believe a better strategy would be to do the first three conditions here in parallel (move to zone, aim shooter, spinup wheels), and only move on to the shoot command once all three have competed. I'm positive WPI lib has a group that does something like "continue until all finish", just not sure what it's called off the top of my head (I think it might just be the normal Parallel group?).
https://github.com/FRCTeam3044/2024SwerveBase/blob/a57c9cb4b6cae04a86ee8dc51ce8b436c58e8870/src/main/deploy/autos/macros/ScoreNoteIfHave.json#L29
@nab138 Did you intend to make this a race group? Race groups cancel all commands when any single one of them finishes. I believe this explains what we saw on Tuesday: The robot was already within the shooting zone, satisfying it's finish condition, and canceling the whole group prior to spinup or transit doing anything at all.
I believe a better strategy would be to do the first three conditions here in parallel (move to zone, aim shooter, spinup wheels), and only move on to the shoot command once all three have competed. I'm positive WPI lib has a group that does something like "continue until all finish", just not sure what it's called off the top of my head (I think it might just be the normal Parallel group?).