|
Studica - Java Documentation
|
Public Member Functions | |
| TitanQuad (int deviceID, int frequency, int motor) | |
| TitanQuad (int deviceID, int motor) | |
| int | getID () |
| void | set (double speed) |
| void | setInverted (boolean isInverted) |
| boolean | getInverted () |
| int | getFrequency () |
| String | getFirmwareVersion () |
| String | getHardwareVersion () |
| double | getCurrent (int motor) |
| double | getControllerTemp () |
| void | setCurrentLimit (int motor) |
| double | getLimitSwitch (int motor, boolean direction) |
| double | getRPM () |
| int | getFaults (int motor) |
| void | clearFaults (int motor) |
| boolean | enableSoftLimit (int motor) |
| String | getSerialNumber () |
| void | pidWrite (double output) |
| double | get () |
| void | disable () |
| void | stopMotor () |
Motor controller features for Studica Titan Quad motor controllers
|
inline |
Constructor for Titan Quad Motor Controller
Allows for a custom frequency to be set
| deviceID | Device id for the controller |
| frequency | Frequency internal motor pwm operates at, range 0 - 20kHz |
| motor | The motor to initialize |
|
inline |
Constructor for Titan Quad Motor Controller
| deviceID | Device id for the controller |
| motor | THe motor to initialize |
|
inline |
clear faults
| motor | - description |
|
inline |
enable soft limits
| motor | - decription |
|
inline |
Gets the controller temp
|
inline |
Grabs the specified motors current pull
| motor | motor to be checked |
|
inline |
get faults
| motor | - description |
|
inline |
Gets the firmware version
|
inline |
Gets the frequency that the motor internal PWM is operating at
|
inline |
Gets the hardware and hardware version
|
inline |
Gets the device id
|
inline |
Gets limit switch (description)
| motor | - description |
| direction | - forward or reverse |
|
inline |
Gets motor's round per minute
|
inline |
Serial Number is required for any support requesets
|
inline |
Sets the output of the Titan Quad as a percentage from -1.0 to 1.0.
| speed | Percentage value between -1.0 to 1.0, 0.0 meaning stopped. |
|
inline |
Sets the current limit for specified motor
| motor | - The motor to set current limit to. |
|
inline |
Inverts the output of the motor controller,
| isInverted | - The invert state to be set. |