Class WristTalonFXSimConstants

java.lang.Object
frc.alotobots.reefscape.subsystems.wrist.constants.WristTalonFXSimConstants

public class WristTalonFXSimConstants extends Object
Contains constants specific to the simulated implementation of the wrist. These values are used to configure the physics simulation.
  • Field Details

    • INERTIA_KGM2

      public static final double INERTIA_KGM2
      Moment of inertia of the wrist mechanism in kg⋅m²
      See Also:
    • ARM_LENGTH

      public static final double ARM_LENGTH
      Length of the wrist arm in meters
      See Also:
    • MOTOR_DIRECTION

      public static final com.ctre.phoenix6.signals.InvertedValue MOTOR_DIRECTION
      Direction of the motor rotation
    • ENCODER_DIRECTION

      public static final com.ctre.phoenix6.signals.SensorDirectionValue ENCODER_DIRECTION
      Direction of the encoder rotation
    • MECHANISM_NEUTRAL_MODE

      public static final com.ctre.phoenix6.signals.NeutralModeValue MECHANISM_NEUTRAL_MODE
      Neutral mode (brake/coast) setting for the mechanism
    • ROTOR_TO_SENSOR_RATIO

      public static final int ROTOR_TO_SENSOR_RATIO
      Gear ratio between motor rotation and mechanism rotation
      See Also:
    • ENCODER_MAGNET_OFFSET

      public static final double ENCODER_MAGNET_OFFSET
      Magnet offset for the CANCoder absolute position
      See Also:
  • Constructor Details

    • WristTalonFXSimConstants

      public WristTalonFXSimConstants()