Class MapleSimSwerveDrivetrain.SimSwerveModule

java.lang.Object
frc.robot.simulation.MapleSimSwerveDrivetrain.SimSwerveModule
Enclosing class:
MapleSimSwerveDrivetrain

protected static class MapleSimSwerveDrivetrain.SimSwerveModule extends Object
Represents the simulation of a single SwerveModule.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.CANcoderConfiguration>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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,com.ctre.phoenix6.configs.CANcoderConfiguration> getModuleConstants()