Package com.marswars.mechanisms
Class MechInputs
java.lang.Object
com.marswars.mechanisms.MechInputs
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 Summary
FieldsModifier and TypeFieldDescriptiondouble[]double[]double[]doubledouble[]double[]double[]double -
Constructor Summary
Constructors -
Method Summary
-
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()
-