2022 Hyperion Rewrite
0.1.0
Java rewrite of the Titanium Titans (FRC Team #4467)'s 2022 robot, Hyperion
|
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) |
org.titaniumtitans.frc2022.subsystems.SwerveModuleNew.SwerveModuleNew | ( | int | drivePort, |
int | azimuthPort, | ||
int | encoderPort, | ||
double | offsetDegrees, | ||
String | name, | ||
boolean | inverted | ||
) |
Creates a new SwerveModuleNew.
void org.titaniumtitans.frc2022.subsystems.SwerveModuleNew.resetEncoders | ( | ) |
Resets the angle of azimuth motors encoders