Package com.marswars.swerve_lib.module
Class SwerveModuleConfig
java.lang.Object
com.marswars.swerve_lib.module.SwerveModuleConfig
Configuration container for a single swerve module.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEncoder hardware options for the module. -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintdoubledoubledoubledoubledouble -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
encoder_type
-
encoder_id
public int encoder_id -
drive_motor_config
-
steer_motor_config
-
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()
-