Class MapleSimSwerveDrivetrain.SimSwerveModule

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

protected static class MapleSimSwerveDrivetrain.SimSwerveModule extends Object

Represents the simulation of a single SwerveModule.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.CANcoderConfiguration>
     
    final org.ironmaple.simulation.drivesims.SwerveModuleSimulation
     
  • 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> moduleConstant, org.ironmaple.simulation.drivesims.SwerveModuleSimulation moduleSimulation, com.ctre.phoenix6.swerve.SwerveModule<com.ctre.phoenix6.hardware.TalonFX,com.ctre.phoenix6.hardware.TalonFX,com.ctre.phoenix6.hardware.CANcoder> module)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • moduleConstant

      public final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.CANcoderConfiguration> moduleConstant
    • moduleSimulation

      public final org.ironmaple.simulation.drivesims.SwerveModuleSimulation moduleSimulation
  • 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> moduleConstant, org.ironmaple.simulation.drivesims.SwerveModuleSimulation moduleSimulation, com.ctre.phoenix6.swerve.SwerveModule<com.ctre.phoenix6.hardware.TalonFX,com.ctre.phoenix6.hardware.TalonFX,com.ctre.phoenix6.hardware.CANcoder> module)