Skip to content

Add a user settable flag on device that resets on boot #111

@TheTripleV

Description

@TheTripleV

I'd like a way to determine if a device has been initialized by robot code (homed and zero'd in this case).

Timeline:

  1. Robot is manually (human) homed
  2. Robot breaker is turned on
  3. TalonFX turns on
  4. Robot code starts
  5. Robot code zeros TalonFX
  6. Robot code restarts (redeploy)
  7. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions