Closed CoolSpy3 closed 3 years ago
https://github.com/DeepBlueRobotics/lib199/blob/bf376375a22488cb5f56f7576bc40087cb752083/src/main/java/frc/robot/lib/Limelight.java#L184 The clipping applied to adjustment multiplies by signum(txDeg). However, while adjustment is set to 0.25 if tv==0, txDeg will be 0. Thus, adjustment becomes 0 not 0.25.
signum(txDeg)
adjustment
0.25
tv==0
txDeg
0
https://github.com/DeepBlueRobotics/lib199/blob/bf376375a22488cb5f56f7576bc40087cb752083/src/main/java/frc/robot/lib/Limelight.java#L184 The clipping applied to adjustment multiplies by
signum(txDeg)
. However, whileadjustment
is set to0.25
iftv==0
,txDeg
will be0
. Thus,adjustment
becomes0
not0.25
.