The Knights of Ni 2024
CenterStage Off-season Documentation
Loading...
Searching...
No Matches
org.firstinspires.ftc.teamcode.MockDcMotorEx Class Reference
Inheritance diagram for org.firstinspires.ftc.teamcode.MockDcMotorEx:

Public Member Functions

 MockDcMotorEx (RunMode runMode)
 
void setMotorEnable ()
 
void setMotorDisable ()
 
boolean isMotorEnabled ()
 
void setVelocity (double angularRate)
 
void setVelocity (double angularRate, AngleUnit unit)
 
double getVelocity ()
 
double getVelocity (AngleUnit unit)
 
void setPIDCoefficients (RunMode mode, PIDCoefficients pidCoefficients)
 
void setPIDFCoefficients (RunMode mode, PIDFCoefficients pidfCoefficients) throws UnsupportedOperationException
 
void setVelocityPIDFCoefficients (double p, double i, double d, double f)
 
void setPositionPIDFCoefficients (double p)
 
PIDCoefficients getPIDCoefficients (RunMode mode)
 
PIDFCoefficients getPIDFCoefficients (RunMode mode)
 
void setTargetPositionTolerance (int tolerance)
 
int getTargetPositionTolerance ()
 
double getCurrent (CurrentUnit unit)
 
double getCurrentAlert (CurrentUnit unit)
 
void setCurrentAlert (double current, CurrentUnit unit)
 
boolean isOverCurrent ()
 
MotorConfigurationType getMotorType ()
 
void setMotorType (MotorConfigurationType motorType)
 
DcMotorController getController ()
 
int getPortNumber ()
 
void setZeroPowerBehavior (ZeroPowerBehavior zeroPowerBehavior)
 
ZeroPowerBehavior getZeroPowerBehavior ()
 
void setPowerFloat ()
 
boolean getPowerFloat ()
 
void setTargetPosition (int position)
 
int getTargetPosition ()
 
boolean isBusy ()
 
int getCurrentPosition ()
 
void setMode (RunMode mode)
 
RunMode getMode ()
 
void setDirection (Direction direction)
 
Direction getDirection ()
 
void setPower (double power)
 
double getPower ()
 
Manufacturer getManufacturer ()
 
String getDeviceName ()
 
String getConnectionInfo ()
 
int getVersion ()
 
void resetDeviceConfigurationForOpMode ()
 
void close ()
 

Private Member Functions

void updateCurrentPosition ()
 

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