File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def __init__(self, mech_root: wpilib.MechanismRoot2d):
6363 # theoretical max pos 0.01 max velocity 0.05
6464 self .pid = PIDController (Kp = 19.508 , Ki = 0 , Kd = 0.048599 )
6565
66- # https://www.reca.lc/arm?armMass=%7B%22s%22%3A8 %2C%22u%22%3A%22kg%22%7D&comLength=%7B%22s%22%3A0.15 %2C%22u%22%3A%22m%22%7D¤tLimit=%7B%22s%22%3A40 %2C%22u%22%3A%22A%22%7D&efficiency=90&endAngle=%7B%22s%22%3A-10%2C%22u%22%3A%22deg%22%7D&iterationLimit=10000&motor=%7B%22quantity%22%3A1%2C%22name%22%3A%22NEO%22%7D&ratio=%7B%22magnitude%22%3A432 %2C%22ratioType%22%3A%22Reduction%22%7D&startAngle=%7B%22s%22%3A-110 %2C%22u%22%3A%22deg%22%7D
67- self .wrist_ff = ArmFeedforward (kS = 0.42619 , kG = 0.48 , kV = 4.10 , kA = 0.02 )
66+ # https://www.reca.lc/arm?armMass=%7B%22s%22%3A12 %2C%22u%22%3A%22kg%22%7D&comLength=%7B%22s%22%3A0.24044 %2C%22u%22%3A%22m%22%7D¤tLimit=%7B%22s%22%3A80 %2C%22u%22%3A%22A%22%7D&efficiency=90&endAngle=%7B%22s%22%3A-10%2C%22u%22%3A%22deg%22%7D&iterationLimit=10000&motor=%7B%22quantity%22%3A1%2C%22name%22%3A%22NEO%22%7D&ratio=%7B%22magnitude%22%3A208.206 %2C%22ratioType%22%3A%22Reduction%22%7D&startAngle=%7B%22s%22%3A-112 %2C%22u%22%3A%22deg%22%7D
67+ self .wrist_ff = ArmFeedforward (kS = 0.42619 , kG = 0.45 , kV = 4.06 , kA = 0.01 )
6868
6969 wrist_config .encoder .positionConversionFactor (
7070 math .tau * (1 / self .wrist_gear_ratio )
You can’t perform that action at this time.
0 commit comments