Class MechInputs

java.lang.Object
com.marswars.mechanisms.MechInputs

public class MechInputs extends Object
AdvantageKit inputs struct for all TalonFX-based mechanisms (RollerMech, FlywheelMech, ArmMech, ElevatorMech). Fields hold only the sensor reads that must be captured in the log for deterministic replay — command targets are outputs and stay in the mechanism class.
  • Field Details

    • position

      public double position
    • velocity

      public double velocity
    • appliedVoltage

      public double[] appliedVoltage
    • supplyCurrentDraw

      public double[] supplyCurrentDraw
    • statorCurrentDraw

      public double[] statorCurrentDraw
    • torqueCurrentDraw

      public double[] torqueCurrentDraw
    • motorTempC

      public double[] motorTempC
    • busVoltage

      public double[] busVoltage
  • Constructor Details

    • MechInputs

      public MechInputs()