Updated to 2024.4.6.3

This commit is contained in:
thenetworkgrinch
2024-01-26 11:29:15 -06:00
parent bd949c2fa5
commit 75ec1aee24
121 changed files with 1751 additions and 552 deletions

View File

@@ -101,6 +101,27 @@ public abstract class SwerveMotor
*/
public abstract void setReference(double setpoint, double feedforward, double position);
/**
* Get the voltage output of the motor controller.
*
* @return Voltage output.
*/
public abstract double getVoltage();
/**
* Set the voltage of the motor.
*
* @param voltage Voltage to set.
*/
public abstract void setVoltage(double voltage);
/**
* Get the applied dutycycle output.
*
* @return Applied dutycycle output to the motor.
*/
public abstract double getAppliedOutput();
/**
* Get the velocity of the integrated encoder.
*