Class SwerveModuleConfig

java.lang.Object
com.marswars.swerve_lib.module.SwerveModuleConfig

public class SwerveModuleConfig extends Object
Configuration container for a single swerve module.
  • Field Details

    • encoder_type

      public SwerveModuleConfig.EncoderType encoder_type
    • encoder_id

      public int encoder_id
    • drive_motor_config

      public MotorConfig drive_motor_config
    • steer_motor_config

      public MotorConfig steer_motor_config
    • module_type

      public ModuleType module_type
    • wheel_radius_m

      public double wheel_radius_m
    • encoder_offset_rad

      public double encoder_offset_rad
    • speed_at_12_volts

      public double speed_at_12_volts
    • location_x

      public double location_x
    • location_y

      public double location_y
    • enable_foc

      public boolean enable_foc
  • Constructor Details

    • SwerveModuleConfig

      public SwerveModuleConfig()