Uses of Class
frc.robot.subsystems.swervedrive.swerve.SwerveModule.SwerveModuleLocation
-
Packages that use SwerveModule.SwerveModuleLocation Package Description frc.robot.subsystems.swervedrive.swerve -
-
Uses of SwerveModule.SwerveModuleLocation in frc.robot.subsystems.swervedrive.swerve
Fields in frc.robot.subsystems.swervedrive.swerve declared as SwerveModule.SwerveModuleLocation Modifier and Type Field Description SwerveModule.SwerveModuleLocationSwerveDrive.SwerveModuleConfig. locprivate SwerveModule.SwerveModuleLocationSwerveModule. swerveLocationEnum representing the swerve module's location on the robot, assuming square.Methods in frc.robot.subsystems.swervedrive.swerve that return SwerveModule.SwerveModuleLocation Modifier and Type Method Description static SwerveModule.SwerveModuleLocationSwerveModule.SwerveModuleLocation. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SwerveModule.SwerveModuleLocation[]SwerveModule.SwerveModuleLocation. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveModule.SwerveModuleLocation Modifier and Type Method Description private static SwerveModule<?,?,?>SwerveParser. createModule(com.fasterxml.jackson.databind.JsonNode mainJson, java.io.File moduleFile, SwerveModule.SwerveModuleLocation moduleLocation)Create SwerveModule from JSON configuration file.private edu.wpi.first.math.geometry.Translation2dSwerveModule. getSwerveModulePosition(SwerveModule.SwerveModuleLocation swerveLocation)Get the swerve module position inTranslation2dfrom the enum passed.static java.lang.StringSwerveModule. SwerveModuleLocationToString(SwerveModule.SwerveModuleLocation swerveLocation)ConvertSwerveModule.SwerveModuleLocationtoStringrepresentation.Constructors in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveModule.SwerveModuleLocation Constructor Description SwerveModule(DriveMotorType mainMotor, AngleMotorType angleMotor, AbsoluteEncoderType encoder, SwerveModule.SwerveModuleLocation swervePosition, double driveGearRatio, double steerGearRatio, double steeringOffsetDegrees, double wheelDiameterMeters, double wheelBaseMeters, double driveTrainWidthMeters, double steeringMotorFreeSpeedRPM, double maxSpeedMPS, double maxDriveAcceleration, double drivingPowerLimit, double steeringPowerLimit, boolean steeringInverted, boolean drivingInverted)Swerve module constructor.SwerveModuleConfig(DriveMotorType driveMotor, SteeringMotorType steerMotor, AbsoluteEncoder encoderSteering, double offset, SwerveModule.SwerveModuleLocation location)Swerve Module configuration class to define the motor CAN IDs and absolute encoder offset of a swerve module.
-