Team-501-The-PowerKnights/2022-robot

TurretHome is Not Threaded

Opened this issue · 0 comments

The turret home holds the execution of the whole robot while doing the homing. It should be a one shot command to spawn a thread or something within the subsystem, that then prevents other things from using the turret until it is done. Or maybe the command stays active until it is homed, at which point isFinished() returns true. But the interactions of the positional adjustments can't be on the main execution thread.