2022 Hyperion Rewrite  0.1.0
Java rewrite of the Titanium Titans (FRC Team #4467)'s 2022 robot, Hyperion
org.titaniumtitans.frc2022.subsystems.SwerveModuleNew Class Reference
Inheritance diagram for org.titaniumtitans.frc2022.subsystems.SwerveModuleNew:

Public Member Functions

 SwerveModuleNew (int drivePort, int azimuthPort, int encoderPort, double offsetDegrees, String name, boolean inverted)
 
void periodic ()
 
Rotation2d getAzimuthAngle ()
 
double getEncoder ()
 
double getAbsolutePosition ()
 
SwerveModuleState getDesiredState ()
 
double getDrivePercentage ()
 
double getAzimuthPercentage ()
 
void setModuleState (SwerveModuleState state)
 
SwerveModuleState getState ()
 
void resetEncoders ()
 
void setAbsoluteValue ()
 
void updateAbsoluteValue ()
 
String getName ()
 
void updateOffsets (double offsetDegrees)
 

Constructor & Destructor Documentation

◆ SwerveModuleNew()

org.titaniumtitans.frc2022.subsystems.SwerveModuleNew.SwerveModuleNew ( int  drivePort,
int  azimuthPort,
int  encoderPort,
double  offsetDegrees,
String  name,
boolean  inverted 
)

Creates a new SwerveModuleNew.

Member Function Documentation

◆ resetEncoders()

void org.titaniumtitans.frc2022.subsystems.SwerveModuleNew.resetEncoders ( )

Resets the angle of azimuth motors encoders


The documentation for this class was generated from the following file: