Package frc.spectrumLib.mechanism


package frc.spectrumLib.mechanism
  • Classes
    Class
    Description
    Abstract base class representing a CTRE TalonFX-driven robot mechanism with common control modes, telemetry, and convenience Command factories.
    Configuration for a Mechanism, encapsulating the TalonFX hardware configuration, control request objects, and mechanism-level parameters (gear ratio, soft limits, PID/FF gains, Motion Magic profile, current limits, etc.).
    Configuration for a TalonFX follower motor that mirrors the leader.
    Everything a Mechanism reads from its motors in one loop, as an AdvantageKit input.
    Tracks whether a motor has rebooted since its position was last set, so a homed mechanism stops trusting a position that restarted from the boot value.
    A position written to a motor off the main thread, tracked until the motor's readings show it.
    Latches a mechanism to a stop once it has stayed out of tolerance of its closed-loop goal for a debounce time: a jam, a slipped belt, a motor fighting a hard stop.