Package org.texastorque.torquelib.control
package org.texastorque.torquelib.control
The Texas Torque Control Classes are a set of utility classes that
abstract commonly used logical operations. Proper usage of this
package can significantly improve software quality, ease of development,
and development time.
-
ClassDescriptionDesigned to be extended.Notifies when a boolean value initially changes from false to true.Functional Wrapper for TorqueClick.A replacement for the if else statments to check for conditions that determine the object to pass to a consumer function.A class that can be used to detect current spikes.TorqueLock<T>Lock the state of a value.A logistic regression model that can be used to calculate speed from error.Implements a lookup table with lerp interpolation between valuesRolling median o(nlogn)A class representation of a PID controller that extends the WPILib PIDController.Returns a certain value that linearly increases over time.Request a time with set() and have calculate() return true until the requested time has elapsed from when it was set.Rolling median o(nlogn)This class implements a slew rate limiter.Class that deals with doing one thing the first time the loop executes and another thing once all subsequent iterations.Simple "Take Back Half" controller algorithm implementation.Controls code execution based on an action and a timeout.This is the cool TorqueToggle.Functional Wrapper for TorqueToggle.An implementation of the valueshifter used in some of the robots.ßWrapper for an array that has a selector that can be incremented or decremented on controller inputs.Improvments to the algorithm used to drive a West Coast Drivetrain durring teleop.