|
static double | deadBand (double input) |
|
static double | degreesToFalcon (double degrees, double gearRatio) |
|
static double | degreesToFalcon4096 (double degrees, double gearRatio) |
|
static double | RPMToFalcon (double RPM, double gearRatio) |
|
static double | MPSToFalcon (double velocity, double circumference, double gearRatio) |
|
static double | falconToDegrees (double counts, double gearRatio) |
|
A collection of static utility methods.
◆ deadBand()
static double org.titaniumtitans.lib.Utils.deadBand |
( |
double |
input | ) |
|
|
static |
Joystick deadband - The absolute value of the joystick must be larger than a constant for an output to be returned.
- Parameters
-
input | The current joystick input value |
- Returns
- The output
◆ falconToDegrees()
static double org.titaniumtitans.lib.Utils.falconToDegrees |
( |
double |
counts, |
|
|
double |
gearRatio |
|
) |
| |
|
static |
- Parameters
-
counts | Falcon Counts |
gearRatio | Gear Ratio between Falcon and Mechanism |
- Returns
- Degrees of Rotation of Mechanism
The documentation for this class was generated from the following file:
- src/main/java/org/titaniumtitans/lib/Utils.java