I'd like a way to determine if a device has been initialized by robot code (homed and zero'd in this case).
Timeline:
- Robot is manually (human) homed
- Robot breaker is turned on
- TalonFX turns on
- Robot code starts
- Robot code zeros TalonFX
- Robot code restarts (redeploy)
- Robot code zeros TalonFX - want to eliminate this
To do this, TalonFX can have a flag (or fault) that
- can be set/cleared by phoenix6
- persists across robot code restarts
- automatically clears when the device is powered off
It would be good to have this on all TalonFX, Cancoder, Pigeon, and Candi devices.