Package frc.robot.simulation
Class MapleSimSwerveDrivetrain.SimSwerveModule
java.lang.Object
frc.robot.simulation.MapleSimSwerveDrivetrain.SimSwerveModule
- Enclosing class:
- MapleSimSwerveDrivetrain
Represents the simulation of a single
SwerveModule
.-
Constructor Summary
ConstructorsConstructorDescriptionSimSwerveModule
(com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> moduleConstants, org.ironmaple.simulation.drivesims.SwerveModuleSimulation swerveModuleSimulation, com.ctre.phoenix6.swerve.SwerveModule<com.ctre.phoenix6.hardware.TalonFX, com.ctre.phoenix6.hardware.TalonFX, com.ctre.phoenix6.hardware.CANcoder> module) -
Method Summary
Modifier and TypeMethodDescriptioncom.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,
com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration>
-
Constructor Details
-
SimSwerveModule
public SimSwerveModule(com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> moduleConstants, org.ironmaple.simulation.drivesims.SwerveModuleSimulation swerveModuleSimulation, com.ctre.phoenix6.swerve.SwerveModule<com.ctre.phoenix6.hardware.TalonFX, com.ctre.phoenix6.hardware.TalonFX, com.ctre.phoenix6.hardware.CANcoder> module)
-
-
Method Details
-
getModuleConstants
public com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, getModuleConstants()com.ctre.phoenix6.configs.CANcoderConfiguration>
-