commit | 36bb8e342ed017465b986c12d6372da1e5ee6e65 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Mon Feb 18 15:02:57 2019 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Mon Feb 18 15:02:57 2019 -0800 |
tree | b9b04266db0037e986ef385a9d85737e9d706925 | |
parent | 96c7fe41299b1f2779fa5f83b74029ce70391065 [diff] [blame] |
Add motor_inertia to NMotor Change-Id: I75b164e5a5be06af9f13903fde6fa02ceca35bd0
diff --git a/frc971/control_loops/python/control_loop.py b/frc971/control_loops/python/control_loop.py index ac22821..8bd70fe 100644 --- a/frc971/control_loops/python/control_loop.py +++ b/frc971/control_loops/python/control_loop.py
@@ -598,6 +598,7 @@ self.resistance = motor.resistance / n self.Kv = motor.Kv self.Kt = motor.Kt + self.motor_inertia = motor.motor_inertia * n class Vex775Pro(object):