Uses of Class
frc.robot.subsystems.swervedrive.swerve.SwerveEncoder
-
Packages that use SwerveEncoder Package Description frc.robot.subsystems.swervedrive.swerve frc.robot.subsystems.swervedrive.swerve.encoders frc.robot.subsystems.swervedrive.swerve.motors -
-
Uses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve
Fields in frc.robot.subsystems.swervedrive.swerve declared as SwerveEncoder Modifier and Type Field Description private SwerveEncoder<?>SwerveModule. absoluteEncoderAbsolute encoder for the swerve module.Methods in frc.robot.subsystems.swervedrive.swerve that return SwerveEncoder Modifier and Type Method Description static <AbsoluteEncoderType>
SwerveEncoder<?>SwerveEncoder. fromEncoder(AbsoluteEncoderType encoder)Get the SwerveEncoder class from the given encoder typesMethods in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveEncoder Modifier and Type Method Description static <MotorType extends edu.wpi.first.wpilibj.motorcontrol.MotorController>
SwerveMotorSwerveMotor. fromMotor(MotorType motor, SwerveEncoder<?> absoluteEncoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)Constructor for Swerve Motor, expecting CANSparkMax or TalonFX. -
Uses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve.encoders
Subclasses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve.encoders Modifier and Type Class Description classCTRECANCoderclassPWMAnalogEncoderclassPWMDutyCycleEncoderclassREVAbsoluteEncoder -
Uses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve.motors
Fields in frc.robot.subsystems.swervedrive.swerve.motors declared as SwerveEncoder Modifier and Type Field Description private SwerveEncoderCTRESwerveMotor. m_angleEncoderConstructors in frc.robot.subsystems.swervedrive.swerve.motors with parameters of type SwerveEncoder Constructor Description CTRESwerveMotor(com.ctre.phoenix.motorcontrol.can.WPI_TalonFX motor, SwerveEncoder<?> encoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)REVSwerveMotor(com.revrobotics.CANSparkMax motor, SwerveEncoder<?> absoluteEncoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)Constructor for REV Swerve Motor, expecting CANSparkMax.
-