Package frc.spectrumLib.mechanism
package frc.spectrumLib.mechanism
-
ClassesClassDescriptionAbstract base class representing a CTRE TalonFX-driven robot mechanism with common control modes, telemetry, and convenience
Commandfactories.Configuration for aMechanism, 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 aMechanismreads 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.