Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceleration - Variable in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
-
Acceleration through the phase.
- acot(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the trigonometric arccotangent (inverse cotangent) of a ratio of right triangle sides.
- acot2(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Two-argument arccotangent (inverse cotangent).
- acsc(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the trigonometric arccosecant (inverse cosecant) of a ratio of right triangle sides.
- add(LEDAnimationFrame) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Returns a new LEDAnimationFrame of another frame appended to this frame.
- add(Filter, Filter) - Static method in class org.chsrobotics.lib.math.filters.Filter
-
Returns a filter of a sum of the outputs of two other filters.
- alternating(int, int, RGBColor, RGBColor) - Static method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Statically constructs and returns a new LEDAnimationFrame of alternating colors.
- ARITHMETIC - Enum constant in enum class org.chsrobotics.lib.math.filters.MovingAverageFilter.MEAN_IMPLEMENTATION
-
Sum of terms / number of terms.
- arithmeticMean(List<Double>) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Computes the arithmetic mean, often called the average, of a set of numbers.
- asec(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the trigonometric arcsecant (inverse secant) of a ratio of right triangle sides.
- AsymmetricTrapezoidProfile - Class in org.chsrobotics.lib.trajectory.motionProfile
-
A MotionProfile that allows for smooth motion between two states, generated with acceleration, velocity, and deceleration constraints.
- AsymmetricTrapezoidProfile(AsymmetricTrapezoidProfile.Constraints, MotionProfile.State) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile
-
Constructs an AsymmetricTrapezoidProfile with an initial position and velocity of 0,0.
- AsymmetricTrapezoidProfile(AsymmetricTrapezoidProfile.Constraints, MotionProfile.State, MotionProfile.State) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile
-
Constructs an AsymmetricTrapezoidProfile.
- AsymmetricTrapezoidProfile.Constraints - Class in org.chsrobotics.lib.trajectory.motionProfile
-
A data class to hold the maximum allowable rates for the output of a AsymmetricTrapezoidProfile.
- atSetpoint() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns whether the controller has reached the setpoint with minimal velocity.
- autoGenerateLogs(DataLog, String, String, boolean, boolean) - Method in class org.chsrobotics.lib.controllers.feedback.PID
- autoGenerateLogs(DataLog, String, String, boolean, boolean) - Method in class org.chsrobotics.lib.telemetry.BaseHardwareLogger
- autoGenerateLogs(DataLog, String, String, boolean, boolean) - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
- autoGenerateLogs(DataLog, String, String, boolean, boolean) - Method in interface org.chsrobotics.lib.telemetry.IntrinsicLoggable
-
Auto-generates
Logger
s for important internal values. - autoGenerateLogs(String, String) - Method in interface org.chsrobotics.lib.telemetry.IntrinsicLoggable
-
Auto-generates
Logger
s for important and notable internal values, using the default DataLog, and both publishing to NT and logging on-robot.
B
- b() - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns the value of the
b
record component. - BaseHardwareLogger - Class in org.chsrobotics.lib.telemetry
-
IntrinsicLoggable
class for logging of basic RoboRio data (e.g. - BLACK - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default black RGBColor (0,0,0).
- BLUE - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default blue RGBColor (0,0,255).
C
- calculate(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns an output from the controller with a given dt.
- calculate(double) - Method in class org.chsrobotics.lib.math.filters.Filter
-
Adds the value to the window and calculates the current output of the filter.
- calculate(double, double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns an output from the controller with a given dt.
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.ComposedFilter
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.DifferentiatingFilter
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.ExponentialMovingAverage
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.Filter
-
Adds the value to the window and calculates the current output of the filter, with a change in time since the last call of this.
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.IntegratingFilter
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.MovingAverageFilter
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.RateLimiter
- calculate(double, double) - Method in class org.chsrobotics.lib.math.filters.ThresholdFilter
- cascading(LEDAnimationFrame) - Static method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Statically constructs and returns a new SimpleLEDAnimation which offsets itself from an initial frame by one step each cycle.
- changeSaturation(double) - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns a new RGBColor with a modified saturation, or color intensity, from this.
- clamp(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Constrains a value under a maximum absolute value.
- clamp(double, double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Constrains a value between two other numbers.
- ComposedFilter - Class in org.chsrobotics.lib.math.filters
-
A filter composed of multiple filters, such that the output of a filter is the input of another, etc.
- ComposedFilter(List<Filter>) - Constructor for class org.chsrobotics.lib.math.filters.ComposedFilter
-
Constructs a ComposedFilter.
- connectNodes(NodeGraph.Node, NodeGraph.Node) - Method in class org.chsrobotics.lib.util.NodeGraph
-
Creates a bi-directional connection between two given nodes.
- Constraints(double, double) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
-
Constructs a TrapezoidProfileConstraints.
- Constraints(double, double, double) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
-
Constructs Constraints for a AsymmetricTrapezoidProfile.
- constructAsChild(U) - Method in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Constructs and returns a new node as a child of this node.
- cot(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Takes the trigonometric cotangent of an angle.
- createNode(T) - Method in class org.chsrobotics.lib.util.NodeGraph
-
Creates a new Node as part of this NodeGraph with the given data.
- csc(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Takes the trigonometric cosecant of an angle.
D
- defaultAbsoluteEpsilon - Static variable in class org.chsrobotics.lib.math.UtilityMath
-
Default constant used for
epsilonEqualsAbsolute()
. - defaultProportionEpsilon - Static variable in class org.chsrobotics.lib.math.UtilityMath
-
Default constant used for
epsilonEqualsProportion()
. - DeltaTimeUtil - Class in org.chsrobotics.lib.util
-
Class to simplify a common robot code action: getting a time elapsed between two points.
- DeltaTimeUtil() - Constructor for class org.chsrobotics.lib.util.DeltaTimeUtil
-
Constructs an instance of DeltaTimeUtil.
- DifferentiatingFilter - Class in org.chsrobotics.lib.math.filters
-
A filter that returns the rate of change (derivative) of a stream of data.
- DifferentiatingFilter() - Constructor for class org.chsrobotics.lib.math.filters.DifferentiatingFilter
- distalAngle() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns the value of the
distalAngle
record component. - distalLength - Variable in class org.chsrobotics.lib.models.DoubleJointedArmKinematics
-
Length of the distal segment (the segment closest to the end effector).
- DoubleJointedArmKinematics - Class in org.chsrobotics.lib.models
-
Class for performing forward and inverse kinematic operations to determine the configuration of an arm with 2 revolute (rotational) degrees of freedom.
- DoubleJointedArmKinematics(double, double) - Constructor for class org.chsrobotics.lib.models.DoubleJointedArmKinematics
-
Constructs a DoubleJointedArmKinematics.
- DoubleJointedArmKinematics.RRConfiguration - Record Class in org.chsrobotics.lib.models
-
Data class holding information about the state of a double revolute-jointed arm.
- DoubleJointedArmModel - Class in org.chsrobotics.lib.models
-
Combined feedforward and simulation model of a double-jointed arm.
- DoubleJointedArmModel(double, double, double, double, DCMotor, double, double, double, DCMotor, double) - Constructor for class org.chsrobotics.lib.models.DoubleJointedArmModel
-
Constructs a new DoubleJointedArmModel.
E
- endEffectorAngle() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns the value of the
endEffectorAngle
record component. - endEffectorX() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns the value of the
endEffectorX
record component. - endEffectorY() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns the value of the
endEffectorY
record component. - epsilonEqualsAbsolute(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns whether two values are equal to within an epsilon (calculated by their difference and expected from floating-point arithmetic).
- epsilonEqualsAbsolute(double, double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns whether two values are equal to within an epsilon (calculated by their difference and expected from floating-point arithmetic).
- epsilonEqualsProportion(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns whether two values are equal to within an epsilon (calculated multiplicatively and expected from floating-point arithmetic).
- epsilonEqualsProportion(double, double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns whether two values are equal to within an epsilon (calculated multiplicatively and expected from floating-point arithmetic).
- equals(Object) - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
- equals(Object) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
- equals(Object) - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
- equals(Object) - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
- equals(Object) - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
- equals(Object) - Method in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
- equals(Object) - Method in class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
- equals(Object) - Method in class org.chsrobotics.lib.util.SizedStack
- ExponentialMovingAverage - Class in org.chsrobotics.lib.math.filters
-
An IIR variation upon the moving average.
- ExponentialMovingAverage(double) - Constructor for class org.chsrobotics.lib.math.filters.ExponentialMovingAverage
-
Constructs an ExponentialMovingAverage.
F
- feedforward(Vector<N2>) - Method in class org.chsrobotics.lib.models.DoubleJointedArmModel
-
Computes feedforward motor voltages for a given arm state with no acceleration or velocity.
- feedforward(Vector<N2>, Vector<N2>) - Method in class org.chsrobotics.lib.models.DoubleJointedArmModel
-
Computes feedforward motor voltages for a given arm state and no acceleration.
- feedforward(Vector<N2>, Vector<N2>, Vector<N2>) - Method in class org.chsrobotics.lib.models.DoubleJointedArmModel
-
Computes feedforward motor voltages for a given arm state.
- Filter - Class in org.chsrobotics.lib.math.filters
-
Common superclass for this library's filters.
- Filter() - Constructor for class org.chsrobotics.lib.math.filters.Filter
- firstValue() - Method in class org.chsrobotics.lib.util.Tuple2
-
Returns the first value of the tuple.
- flashing(int, int, LEDAnimationFrame, LEDAnimationFrame) - Static method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Statically constructs and returns a new SimpleLEDAnimation which periodically cycles between two frames.
- forwardKinematics(double, double) - Method in class org.chsrobotics.lib.models.DoubleJointedArmKinematics
-
Determines the position of the end effector in 2-dimensional space, given the angles of the joints.
- fromCartesianToPolar(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Converts a point in Cartesian coordinates into a point in polar coordinates.
- fromPolarToCartesian(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Converts a point in polar coordinates into a point in Cartesian coordinates.
- fromRotation2d(Rotation2d) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Converts a Rotation2d into a Rotation3d.
G
- g() - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns the value of the
g
record component. - GearRatioHelper - Class in org.chsrobotics.lib.util
-
Simple utility representing a gear ratio.
- GearRatioHelper(double) - Constructor for class org.chsrobotics.lib.util.GearRatioHelper
-
Creates a gear ratio helper from a double ratio of input to output.
- GearRatioHelper(double, double) - Constructor for class org.chsrobotics.lib.util.GearRatioHelper
-
Constructs a GearRatioHelper.
- GEOMETRIC - Enum constant in enum class org.chsrobotics.lib.math.filters.MovingAverageFilter.MEAN_IMPLEMENTATION
-
The (number of terms)-th root of the product of terms.
- geometricMean(List<Double>) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Computes the geometric mean of a series of numbers.
- get2DRotationMatrix(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns a rotation matrix for 2-dimensional vectors.
- getAllNodes() - Method in class org.chsrobotics.lib.util.NodeGraph
-
Returns all Nodes in the NodeGraph.
- getAllNodes() - Method in class org.chsrobotics.lib.util.Tree
-
Returns all nodes in the tree, including the root.
- getBranchNodes(Tree.ParentChildNode<T>) - Method in class org.chsrobotics.lib.util.Tree
-
Returns all nodes that, at some point in their chain of parents, have a certain node as a parent.
- getChildren() - Method in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Returns all children of this node.
- getConnectedNodes(NodeGraph.Node) - Method in class org.chsrobotics.lib.util.NodeGraph
-
Returns all other nodes connected to the given node.
- getConstants() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the current gains of the controller.
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.ComposedFilter
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.DifferentiatingFilter
-
Returns the current output of the filter without updating with a new value.
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.ExponentialMovingAverage
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.Filter
-
Returns the current output of the filter without updating with a new value.
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.IntegratingFilter
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.MovingAverageFilter
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.RateLimiter
- getCurrentOutput() - Method in class org.chsrobotics.lib.math.filters.ThresholdFilter
- getCurrentValue() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the last output of the controller without updating with a new value.
- getData() - Method in class org.chsrobotics.lib.util.NodeGraph.Node
-
Returns the data stored by this node.
- getData() - Method in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Returns the data associated with this node.
- getDContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the last result of just the D term.
- getFrame(int) - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Returns the LEDAnimationFrame at an index.
- getIContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the last result of just the I term.
- getInstance() - Static method in class org.chsrobotics.lib.telemetry.BaseHardwareLogger
-
Returns the singleton instance of BaseHardwareLogger.
- getInstance() - Static method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Returns the singleton instance of the HighLevelLogger.
- getIntegralAccumulation() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the accumulated past error in the integral term.
- getkD() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the current derivative gain of the controller.
- getkD() - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
-
Returns the derivative gain.
- getkI() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the current integral gain of the controller.
- getkI() - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
-
Returns the integral gain.
- getkP() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the current proportional gain of the controller.
- getkP() - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
-
Returns the proportional gain.
- getLog() - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Returns the DataLog populated by this, for use in more-granular and robot-specific logging.
- getLogger(String) - Method in class org.chsrobotics.lib.telemetry.Logger.LoggerFactory
-
Constructs and returns a new logger with the parameters given above.
- getLogger(String, Supplier<U>) - Method in class org.chsrobotics.lib.telemetry.Logger.LoggerFactory
-
Constructs and returns a new logger with the parameters given above.
- getMaxAbsControlEffort() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum absolute control effort allowed from the controller.
- getMaxAbsDContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum absolute contribution allowed from the Derivative term of the controller.
- getMaxAbsIContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum absolute contribution allowed from the Integral term of the controller.
- getMaxAbsPContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum absolute contribution allowed from the Proportional term of the controller.
- getNextFrame() - Method in interface org.chsrobotics.lib.hardware.ledStrip.LEDAnimation
-
Returns the current frame of the LEDAnimation.
- getNextFrame() - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
- getPContribution() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the last result of just the P term.
- getPhases() - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile
-
Gets all the phases in the profile.
- getPixel(int) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Gets the pixel color value at an index.
- getSetpoint() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the current setpoint (target) of the controller.
- getSetpointPositionTolerance() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum allowed position error for
isAtSetpoint()
to return true. - getSetpointVelocityTolerance() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Returns the maximum allowed velocity error for
isAtSetpoint()
to return true. - getTimeElapsed() - Method in class org.chsrobotics.lib.commands.TimerCommand
-
Returns the time in seconds since the command was scheduled.
- getTimeSecondsSinceLastCall() - Method in class org.chsrobotics.lib.util.DeltaTimeUtil
-
Returns the time elapsed between now and the comparison base.
- getTimeSecondsSinceLastCallNoReset() - Method in class org.chsrobotics.lib.util.DeltaTimeUtil
-
Returns the time elapsed between now and the comparison base.
- gradientCascade(int, RGBColor, RGBColor) - Static method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Statically constructs and returns a new SimpleLEDAnimation of a gradient between two colors which offsets itself by one step each cycle.
- GREEN - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default green RGBColor (0,255,0).
H
- HARMONIC - Enum constant in enum class org.chsrobotics.lib.math.filters.MovingAverageFilter.MEAN_IMPLEMENTATION
-
Reciprocal of arithmetic mean of reciprocals of terms.
- harmonicMean(List<Double>) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Computes the harmonic mean of a series of numbers.
- hashCode() - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
- hashCode() - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
- hashCode() - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns a hash code value for this object.
- hashCode() - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
- hashCode() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns a hash code value for this object.
- hashCode() - Method in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
- hashCode() - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
- hashCode() - Method in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
- hashCode() - Method in class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
- hashCode() - Method in class org.chsrobotics.lib.util.SizedStack
- HighLevelLogger - Class in org.chsrobotics.lib.telemetry
-
Convenience wrapper class for telemetry/ logging with built-in logging for robot-agnostic data like environment metadata and scheduled commands.
- hypotenuse(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the solution of the Pythagorean formula for the hypotenuse of a right triangle, with the leg lengths given.
I
- INDIGO - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default indigo RGBColor (111,0,255).
- initialize() - Method in class org.chsrobotics.lib.commands.LogMessageCommand
- initialize() - Method in class org.chsrobotics.lib.commands.TimerCommand
- initialVelocity - Variable in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
-
Velocity of the phase at its start.
- inputFromOutput(double) - Method in class org.chsrobotics.lib.util.GearRatioHelper
-
Returns how far the "input" side of the mechanism will have travelled if the "output" has travelled the indicated angular distance.
- inRange(double, double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns if a number is between (inclusive) the boundary numbers.
- IntegratingFilter - Class in org.chsrobotics.lib.math.filters
-
Filter which returns an time-weighted sum (integral) of a series of values.
- IntegratingFilter(int) - Constructor for class org.chsrobotics.lib.math.filters.IntegratingFilter
-
Constructs an IntegratingFilter.
- IntrinsicLoggable - Interface in org.chsrobotics.lib.telemetry
-
Interface for classes which can auto-generate
Logger
s for internal fields. - inverseKinematics(double, double) - Method in class org.chsrobotics.lib.models.DoubleJointedArmKinematics
-
Returns a tuple of 2 RRConfigurations with the joint angles required for the end effector to reach a certain position in a Cartesian frame.
- isFinished() - Method in class org.chsrobotics.lib.commands.LogMessageCommand
- isPublishingToNT() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Returns whether this is publishing values to NetworkTables.
- isRecordingToLog() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Returns whether this is recording values to the on-robot log.
- isRoot - Variable in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Whether this node is root of the tree structure.
L
- LEDAnimation - Interface in org.chsrobotics.lib.hardware.ledStrip
-
Interface for LEDAnimation sequences, which can pre-generated or made at runtime by implementing classes.
- LEDAnimationFrame - Class in org.chsrobotics.lib.hardware.ledStrip
-
Wraps around an array of RGBColors (or individual pixel color values), intended for combination into full animations.
- LEDAnimationFrame() - Constructor for class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Constructor for an empty LEDAnimationFrame.
- LEDAnimationFrame(List<RGBColor>) - Constructor for class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Constructs an LEDAnimationFrame.
- LEDStrip - Class in org.chsrobotics.lib.hardware.ledStrip
-
Convenience wrapper around an addressable LED strip (WS2812 or 2811).
- LEDStrip(int, int) - Constructor for class org.chsrobotics.lib.hardware.ledStrip.LEDStrip
-
Constructs a new LEDStrip.
- leg(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the solution of the Pythagorean formula for a leg of a right triangle, with the other leg length and the hypotenuse length given.
- localAngle() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns the value of the
localAngle
record component. - localLength - Variable in class org.chsrobotics.lib.models.DoubleJointedArmKinematics
-
Length of the local segment (the segment closest to the root).
- logError(String) - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Writes an error, using the provided string, to the DriverStation console, and writes it to the log.
- Logger<T> - Class in org.chsrobotics.lib.telemetry
-
Utility to streamline publishing data to NetworkTables and saving it to an on-robot log file.
- Logger(DataLog, String, String, boolean, boolean) - Constructor for class org.chsrobotics.lib.telemetry.Logger
-
Constructs a Logger using a provided DataLog, with the option of whether to publish to NT and the log.
- Logger(String, String) - Constructor for class org.chsrobotics.lib.telemetry.Logger
-
Constructs a Logger using
HighLevelLogger.getLog()
, publishing to NT and logging. - Logger(Supplier<T>, DataLog, String, String, boolean, boolean) - Constructor for class org.chsrobotics.lib.telemetry.Logger
-
Constructs a Logger using a provided DataLog, with the option of whether to publish to NT and the log.
- Logger(Supplier<T>, String, String) - Constructor for class org.chsrobotics.lib.telemetry.Logger
-
Constructs a Logger using
HighLevelLogger.getLog()
, publishing to NT and logging. - Logger.LoggerFactory<U> - Class in org.chsrobotics.lib.telemetry
-
Factory class to simplify creating many similar logs at once.
- LoggerFactory(DataLog, String, boolean, boolean) - Constructor for class org.chsrobotics.lib.telemetry.Logger.LoggerFactory
-
Constructs a LoggerFactory.
- LoggerFactory(String) - Constructor for class org.chsrobotics.lib.telemetry.Logger.LoggerFactory
-
Constructs a Logger using
HighLevelLogger.getLog()
, publishing to NT and logging. - logMessage(String) - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Logs a String message (warning, state transition, startup information, etc.), and prints it to the standard output (DriverStation console).
- LogMessageCommand - Class in org.chsrobotics.lib.commands
-
Simple command to log a message to the default DataLog (given by
HighLevelLogger.getLog()
). - LogMessageCommand(String) - Constructor for class org.chsrobotics.lib.commands.LogMessageCommand
-
Constructs a LogMessageCommand.
- LogMessageCommand(Supplier<String>) - Constructor for class org.chsrobotics.lib.commands.LogMessageCommand
-
Construts a LogMessageCommand.
- logWarning(String) - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Writes a warning, using the provided string, to the DriverStation console, and writes it to the log.
M
- maxAcceleration - Variable in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
-
Maximum "acceleration" the profile can achieve.
- maxAcceleration - Variable in class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
-
Maximum absolute acceleration the profile can achieve.
- maxDeceleration - Variable in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
-
Maximum "deceleration" the profile can achieve.
- maxVelocity - Variable in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
-
Maximum absolute velocity the profile can achieve.
- maxVelocity - Variable in class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
-
Maximum absolute velocity the profile can achieve.
- MotionProfile - Class in org.chsrobotics.lib.trajectory.motionProfile
-
A group of ProfilePhases that represents an arbitrary trajectory of compound accelerations, coasts, and decelerations.
- MotionProfile(MotionProfile.State, ProfilePhase...) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile
-
Constructs a MotionProfile with arbitrary phases.
- MotionProfile(ProfilePhase...) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile
-
Constructs a MotionProfile of arbitrary phases with an initial state of zero displacement and zero velocity.
- MotionProfile.State - Class in org.chsrobotics.lib.trajectory.motionProfile
-
Holds the velocity and position states of a MotionProfile at a time in its span.
- MovingAverageFilter - Class in org.chsrobotics.lib.math.filters
-
Filter which computes the arithmetic mean of a stream of data.
- MovingAverageFilter(int, MovingAverageFilter.MEAN_IMPLEMENTATION) - Constructor for class org.chsrobotics.lib.math.filters.MovingAverageFilter
-
Constructs a MovingAverageFilter.
- MovingAverageFilter.MEAN_IMPLEMENTATION - Enum Class in org.chsrobotics.lib.math.filters
-
Enum of different definitions of the mean.
N
- NodeGraph<T> - Class in org.chsrobotics.lib.util
-
Class representing a set of interconnected nodes.
- NodeGraph() - Constructor for class org.chsrobotics.lib.util.NodeGraph
-
Constructs a new NodeGraph.
- NodeGraph.Node - Class in org.chsrobotics.lib.util
-
Class forming a part of the node graph structure.
- normalizeAngleDegrees(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Normalizes an angle in degrees between 0 and 360.
- normalizeAngleRadians(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Normalizes an angle in radians between 0 and 2 pi.
- normalizeSet(List<Double>, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Scales a set of doubles symmetrically to ensure that none of them exceed a maximum absolute value, while still maintaining the same ratio.
- numberOfFrames() - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Returns the number of frames the animation consists of.
- numberOfPixels() - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Returns the number of pixels currently in the animation frame.
- numberOfPixelsPerFrame() - Method in interface org.chsrobotics.lib.hardware.ledStrip.LEDAnimation
-
Returns the number of pixels per each frame.
- numberOfPixelsPerFrame() - Method in class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
O
- of(U, U) - Static method in class org.chsrobotics.lib.util.Tuple2
-
Constructs and returns a Tuple2 of two values of the same data type.
- offset(int) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Returns a new LEDAnimationFrame with each color offset (raised or lowered) in index by a given step.
- ORANGE - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default orange RGBColor (204,136,0).
- org.chsrobotics.lib.commands - package org.chsrobotics.lib.commands
- org.chsrobotics.lib.controllers.feedback - package org.chsrobotics.lib.controllers.feedback
- org.chsrobotics.lib.hardware.ledStrip - package org.chsrobotics.lib.hardware.ledStrip
- org.chsrobotics.lib.math - package org.chsrobotics.lib.math
- org.chsrobotics.lib.math.filters - package org.chsrobotics.lib.math.filters
- org.chsrobotics.lib.models - package org.chsrobotics.lib.models
- org.chsrobotics.lib.telemetry - package org.chsrobotics.lib.telemetry
- org.chsrobotics.lib.trajectory.motionProfile - package org.chsrobotics.lib.trajectory.motionProfile
- org.chsrobotics.lib.util - package org.chsrobotics.lib.util
- outputFromInput(double) - Method in class org.chsrobotics.lib.util.GearRatioHelper
-
Returns how far the "output" side of the mechanism will have travelled if the "input" has travelled the indicated angular distance.
P
- parent - Variable in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
The parent of this node.
- ParentChildNode(U, Tree.ParentChildNode<U>) - Constructor for class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Constructs a ParentChildNode.
- PID - Class in org.chsrobotics.lib.controllers.feedback
-
Implementation of a simple Proportional-Integral-Derivative feedback controller.
- PID(double, double, double, double) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a non-angular PID with given gains and an infinite integration window.
- PID(double, double, double, double, boolean) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a PID with given gains and an infinite integration window.
- PID(double, double, double, int, double) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a non-angular PID with given gains and a finite integration window.
- PID(double, double, double, int, double, boolean) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a PID with given gains and a finite integration window.
- PID(PID.PIDConstants, double) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a non-angular PID with a given PIDConstants and an infinite integration window.
- PID(PID.PIDConstants, double, boolean) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a PID with a given PIDConstants and an infinite integration window.
- PID(PID.PIDConstants, int, double) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a non-angular PID with a given PIDConstants and a finite integration window.
- PID(PID.PIDConstants, int, double, boolean) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID
-
Constructs a PID with a given PIDConstants and a finite integration window.
- PID.PIDConstants - Class in org.chsrobotics.lib.controllers.feedback
-
Data class for holding the gains to a PID controller.
- PIDConstants(double, double, double) - Constructor for class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
-
Constructs a PIDConstants out of provided gains.
- PolynomialInterval - Class in org.chsrobotics.lib.math
-
Representation of a standard polynomial function, with restrictions on the upper and lower limits of the domain.
- PolynomialInterval(Map<Integer, Double>) - Constructor for class org.chsrobotics.lib.math.PolynomialInterval
-
Constructs a PolynomialInterval.
- position - Variable in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
-
Position of the profile at this state.
- position - Variable in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
-
Change in position through the phase.
- ProfilePhase - Class in org.chsrobotics.lib.trajectory.motionProfile
-
Holds constant-acceleration kinematic rates and time.
- ProfilePhase(double, double, double) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
-
Constructs a ProfilePhase from a given acceleration, initial velocity, and time.
- push(T) - Method in class org.chsrobotics.lib.util.SizedStack
Q
- quadraticZeros(double, double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Finds the zeros (x-intercepts) of a quadratic (second- or lower-order polynomial) function of the form y(x) = ax^2 + bx + c.
R
- r() - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns the value of the
r
record component. - RateLimiter - Class in org.chsrobotics.lib.math.filters
-
Filter which constrains the maximum rate of change of a reference.
- RateLimiter(double) - Constructor for class org.chsrobotics.lib.math.filters.RateLimiter
-
Constructs a RateLimiter.
- RED - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default red RGBColor (255,0,0).
- reset() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Resets all references to past states in the controller, effectively restarting it.
- reset() - Method in class org.chsrobotics.lib.math.filters.ComposedFilter
- reset() - Method in class org.chsrobotics.lib.math.filters.DifferentiatingFilter
-
Resets the history of the filter.
- reset() - Method in class org.chsrobotics.lib.math.filters.ExponentialMovingAverage
- reset() - Method in class org.chsrobotics.lib.math.filters.Filter
-
Resets the history of the filter.
- reset() - Method in class org.chsrobotics.lib.math.filters.IntegratingFilter
- reset() - Method in class org.chsrobotics.lib.math.filters.MovingAverageFilter
- reset() - Method in class org.chsrobotics.lib.math.filters.RateLimiter
- reset() - Method in class org.chsrobotics.lib.math.filters.ThresholdFilter
- resetIntegralAccumulation() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Resets accumulation of past error in the integral term.
- resetPreviousMeasurement() - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Resets the previous measurement used for velocity approximation for the derivative term.
- RGBColor - Record Class in org.chsrobotics.lib.hardware.ledStrip
-
Represents a color in Red-Green-Blue space, with methods for manipulating said color.
- RGBColor(int, int, int) - Constructor for record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Creates an instance of a
RGBColor
record class. - root(double, int) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Calculates a higher order root of a number.
- RRConfiguration(double, double, double, double, double) - Constructor for record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Creates an instance of a
RRConfiguration
record class. - runsWhenDisabled() - Method in class org.chsrobotics.lib.commands.LogMessageCommand
S
- sample(double) - Method in class org.chsrobotics.lib.math.PolynomialInterval
-
Samples the polynomial at a certain value.
- sample(double) - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile
-
Calculates the current State of the profile at a given time.
- scalarMultiply(Filter, double) - Static method in class org.chsrobotics.lib.math.filters.Filter
-
Returns a new filter of the outputs of a filter multiplied by a scalar.
- scaleToSum(List<Double>, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Scales a set of doubles symmetrically such that they sum to a desired number, while maintaining the same ratio.
- sec(double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Takes the trigonometric secant of an angle.
- secondValue() - Method in class org.chsrobotics.lib.util.Tuple2
-
Returns the seond value of the tuple.
- setAnimation(LEDAnimation) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDStrip
-
Sets the currently displayed LEDAnimation.
- setConstants(double, double, double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the gains of the controller using provided gains.
- setConstants(PID.PIDConstants) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the gains of the controller using a provided PIDConstants.
- setData(U) - Method in class org.chsrobotics.lib.util.Tree.ParentChildNode
-
Sets the new data associated with this node.
- setFrame(LEDAnimationFrame) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDStrip
-
Sets the currently displayed LEDAnimation to an animation consisting of only a given frame.
- setkD(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the derivative gain of the controller.
- setkI(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the integral gain of the controller.
- setkP(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the proportional gain of the controller.
- setMaxAbsControlEffort(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets a new value to use to constrain the maximum absolute control effort from the controller.
- setMaxAbsIContribution(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets a new value to use to constrain the maximum absolute contribution from the Integral term of the controller.
- setMaxAbsPContribution(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets a new value to use to constrain the maximum absolute contribution from the Proportional term of the controller.
- setMaxDContribution(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets a new value to use to constrain the maximum absolute contribution from the Derivative term of the controller.
- setSetpoint(double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the setpoint (target) of the controller.
- setSetpointTolerance(double, double) - Method in class org.chsrobotics.lib.controllers.feedback.PID
-
Sets the maximum error of both position and velocity allowed for
isAtSetpoint()
to return true. - SimpleLEDAnimation - Class in org.chsrobotics.lib.hardware.ledStrip
-
Wraps around an array of LEDAnimationFrames, intended for playing back in sequence.
- SimpleLEDAnimation(List<LEDAnimationFrame>) - Constructor for class org.chsrobotics.lib.hardware.ledStrip.SimpleLEDAnimation
-
Constructs a new SimpleLEDAnimation.
- simulate(Matrix<N2, N2>, Vector<N2>, double) - Method in class org.chsrobotics.lib.models.DoubleJointedArmModel
-
Simulates the arm system by numerical integration.
- SizedStack<T> - Class in org.chsrobotics.lib.util
-
Extension of a Last-In-First-Out stack which has a cap to the number of stored items.
- SizedStack(int) - Constructor for class org.chsrobotics.lib.util.SizedStack
-
Constructs a SizedStack.
- smallestAngleDegreesBetween(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the angle in degrees between two other angles with the smallest absolute value.
- smallestAngleRadiansBetween(double, double) - Static method in class org.chsrobotics.lib.math.UtilityMath
-
Returns the angle in radians between two other angles with the smallest absolute value.
- smear(double, RGBColor) - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Interpolates a new color somewhere between this color and another.
- startLogging() - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
-
Starts the HighLevelLogger.
- startPublishingToNT() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Values will be pushed to NetworkTables.
- startRecordingToLog() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Values will be recorded to the on board data log.
- State(double, double) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
-
Constructs a State out of a given position and velocity.
- stopPublishingToNT() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Values will not be pushed to NetworkTables.
- stopRecordingToLog() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Values will not be recorded to the on board data log.
T
- ThresholdFilter - Class in org.chsrobotics.lib.math.filters
-
A filter that completely attentuates any value (infinite impulse) below or above a defined threshold.
- ThresholdFilter(double, boolean) - Constructor for class org.chsrobotics.lib.math.filters.ThresholdFilter
-
Constructs a ThresholdFilter.
- time - Variable in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
-
Time to complete the phase.
- TimerCommand - Class in org.chsrobotics.lib.commands
-
Command which starts a timer when it is scheduled.
- TimerCommand() - Constructor for class org.chsrobotics.lib.commands.TimerCommand
-
Constructs a TimerCommand.
- toDoubleRatioInputToOutput() - Method in class org.chsrobotics.lib.util.GearRatioHelper
-
Returns the gear ratio as input/output.
- toDoubleRatioOutputToInput() - Method in class org.chsrobotics.lib.util.GearRatioHelper
-
Returns the gear ratio as output/input.
- toList() - Method in class org.chsrobotics.lib.util.Tuple2
-
Returns the data of this object as a list of two elements.
- toNewSize(int) - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDAnimationFrame
-
Returns a new LEDAnimationFrame based off of this frame, but at a different size.
- toString() - Method in class org.chsrobotics.lib.controllers.feedback.PID.PIDConstants
- toString() - Method in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Returns a string representation of this record class.
- toString() - Method in record class org.chsrobotics.lib.models.DoubleJointedArmKinematics.RRConfiguration
-
Returns a string representation of this record class.
- toString() - Method in class org.chsrobotics.lib.trajectory.motionProfile.AsymmetricTrapezoidProfile.Constraints
- toString() - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
- toString() - Method in class org.chsrobotics.lib.trajectory.motionProfile.ProfilePhase
- toString() - Method in class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile.Constraints
- toString() - Method in class org.chsrobotics.lib.util.Tuple2
- totalTime() - Method in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile
-
Returns the total time needed for the trajectory to finish.
- TrapezoidProfile - Class in org.chsrobotics.lib.trajectory.motionProfile
-
Represents a special case of an
AsymmetricTrapezoidProfile
where the maxAcceleration and maxDeceleration constraints are the same. - TrapezoidProfile(TrapezoidProfile.Constraints, MotionProfile.State) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile
-
Constructs a Trapezoid profile out of given constraints, a goal state, and an initial state of zero position and velocity.
- TrapezoidProfile(TrapezoidProfile.Constraints, MotionProfile.State, MotionProfile.State) - Constructor for class org.chsrobotics.lib.trajectory.motionProfile.TrapezoidProfile
-
Constructs a TrapezoidProfile out of given constraints, an initial state, and a goal state.
- TrapezoidProfile.Constraints - Class in org.chsrobotics.lib.trajectory.motionProfile
-
Data class to hold the maximum allowed rates for the output of a TrapezoidProfile.
- Tree<T> - Class in org.chsrobotics.lib.util
-
Implementation of a hierarchial tree data structure.
- Tree(T) - Constructor for class org.chsrobotics.lib.util.Tree
-
Constructs a new tree.
- Tree.ParentChildNode<U> - Class in org.chsrobotics.lib.util
-
Node part of a tree data structure.
- Tuple2<T> - Class in org.chsrobotics.lib.util
-
Very simple utility class which can hold any two objects of the same type in order.
- Tuple2(T, T) - Constructor for class org.chsrobotics.lib.util.Tuple2
-
Constructs a Tuple2.
U
- update() - Method in class org.chsrobotics.lib.hardware.ledStrip.LEDStrip
-
Advances to the next step of the animation.
- update() - Method in class org.chsrobotics.lib.telemetry.Logger
-
Updates data sinks with the current internal value.
- update(Supplier<T>) - Method in class org.chsrobotics.lib.telemetry.Logger
-
Updates data sinks with the given value.
- update(T) - Method in class org.chsrobotics.lib.telemetry.Logger
-
Updates data sinks with the given value.
- updateLogs() - Method in class org.chsrobotics.lib.controllers.feedback.PID
- updateLogs() - Method in class org.chsrobotics.lib.telemetry.BaseHardwareLogger
- updateLogs() - Method in class org.chsrobotics.lib.telemetry.HighLevelLogger
- updateLogs() - Method in interface org.chsrobotics.lib.telemetry.IntrinsicLoggable
-
Updates the internally generated Loggers.
- UtilityMath - Class in org.chsrobotics.lib.math
-
Various useful small math functions.
- UtilityMath() - Constructor for class org.chsrobotics.lib.math.UtilityMath
V
- valueOf(String) - Static method in enum class org.chsrobotics.lib.math.filters.MovingAverageFilter.MEAN_IMPLEMENTATION
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.chsrobotics.lib.math.filters.MovingAverageFilter.MEAN_IMPLEMENTATION
-
Returns an array containing the constants of this enum class, in the order they are declared.
- velocity - Variable in class org.chsrobotics.lib.trajectory.motionProfile.MotionProfile.State
-
Velocity of the profile at this state.
- VIOLET - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default violet RGBColor (217,25,255).
W
- WHITE - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default white RGBColor (255,255,255).
Y
- YELLOW - Static variable in record class org.chsrobotics.lib.hardware.ledStrip.RGBColor
-
Default yellow RGBColor (255,255,0).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form