Package frc.robot.subsystems.DriveTrain
Class SwerveModule
java.lang.Object
frc.robot.subsystems.DriveTrain.SwerveModule
- Direct Known Subclasses:
SwerveModuleRealIO
-
Field Summary
Modifier and TypeFieldDescriptionedu.wpi.first.math.controller.PIDController
edu.wpi.first.math.kinematics.SwerveModuleState
-
Constructor Summary
-
Method Summary
-
Field Details
-
target_state
public edu.wpi.first.math.kinematics.SwerveModuleState target_state -
angle_pid
public edu.wpi.first.math.controller.PIDController angle_pid
-
-
Constructor Details
-
SwerveModule
public SwerveModule()
-
-
Method Details
-
setState
public void setState(edu.wpi.first.math.kinematics.SwerveModuleState state) -
update
public void update()
-