Class TurretMech

All Implemented Interfaces:
SubsystemIoBase

public class TurretMech extends RollerMech
Roller-based mechanism configured for turret control.
  • Constructor Details

    • TurretMech

      public TurretMech(String logging_prefix, List<MotorConfig> motor_configs, double gear_ratio, double moi)
      Constructs a new TurretMech
      Parameters:
      logging_prefix - String prefix for logging
      motor_configs - Configuration for the turret motor
      gear_ratio - Gear ratio as motor rotations / mechanism rotations
      moi - Moment of inertia of the turret in kg*m^2 (Simulation only)
    • TurretMech

      public TurretMech(String logging_prefix, String mech_name, List<MotorConfig> motor_configs, double gear_ratio, double moi)
      Constructs a new TurretMech
      Parameters:
      logging_prefix - String prefix for logging
      mech_name - Name of the mechanism
      motor_configs - Configuration for the turret motor
      gear_ratio - Gear ratio as motor rotations / mechanism rotations
      moi - Moment of inertia of the turret in kg*m^2 (Simulation only)