mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-07-02 07:21:39 +00:00
Updated to 2024.4.6.3
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user