Mid season data dump! Data jsons are in this drive folder if anyone wants to download them and mess around. The feedforward gains here are directly from sysid unless otherwise indicated, while the feedback gains are all tuned (although most are close to the value suggested by sysid). Also, if I missed any constants you want, they’re most likely in our constants file for this year – feel free to ask if you can’t find something. I’ll edit this post as we characterize more mechanisms.
Swerve Drive
SDS MK3 swerve modules, 4 Falcon 500s driving, the mass is just the mass of the drivetrain with weights added to simulate a full robot so about 80-100 lbs. Gear ratio 8.16:1.
Gains
kS had to be tuned down a bit, so the sysid output was a little higher than this
- kS (volts): 0.54
- kV (volt seconds per meter): 2.5856
- kA (volt seconds squared per meter): 0.31789
Feedback control is onboard the motor, this means it’s in weird units. The input is sensor ticks (2048 is full rotation) per 100 ms velocity error, and the output is out of 1023 full voltage.
Swerve Turning
SDS MK3 swerve module, 1 Falcon 500. Geared 12.8:1. I may recharacterize this with a lower dynamic step voltage in an attempt to get more timestamps, but it’s good enough and works.
Gains
We ended up using the onboard pid and kF for a faster response time. Below are the sysID-calculated gains:
- kS: 0.60572
- kV: 0.20717
- kA: 0.0068542
Gains we actually used (in CTRE units, described above)
- kF (basically kV in different units): 0.049
- kP: 0.1
- kD: 0.02
Hood
NEO 550 attached to a 100:1 versaplanetary and a belt, for a total 225:1 reduction (motor turns per full hood rotations). The mass is about 2 lbs.
Gains
- kS: 0.13428
- kG: -0.061339
- kV: 0.99111
- kA: 0.12369
- kP (volts per radian error): 50
Shooter
Falcon 500 attached to 2 6 in Colson wheels on a hex shaft (no flywheels). No reduction, 2.61 pounds.
Gains
- kS: 0.65884
- kV: 0.11065
- kA: 0.023167
The feedforward output is scaled back by 0.95 to enable bang-bang feedback control!
Climb Elevator
Falcon 500 geared 37.67:1 over chain to an about 3 lb elevator. When loaded, about a 70 pound robot as characterized (will change).
Feedforward Gains (unloaded)
- kS: 0.70015
- kG: -0.010378
- kV: 30.626
- kA: 1.1098
Feedforward Gains (loaded)
- kS: 0.44256
- kG: -0.505 (this was tuned to be make steady-state stabler than with the provided gain of about 0.4).
- kV: 32.238
- kA: 14.427
Feedback Gains