2022 Hyperion Rewrite  0.1.0
Java rewrite of the Titanium Titans (FRC Team #4467)'s 2022 robot, Hyperion
org.titaniumtitans.lib.Utils Class Reference

Static Public Member Functions

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)
 

Detailed Description

A collection of static utility methods.

Member Function Documentation

◆ 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
inputThe current joystick input value
Returns
The output

◆ falconToDegrees()

static double org.titaniumtitans.lib.Utils.falconToDegrees ( double  counts,
double  gearRatio 
)
static
Parameters
countsFalcon Counts
gearRatioGear Ratio between Falcon and Mechanism
Returns
Degrees of Rotation of Mechanism

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