commit | 703b8d4b65ac108519f7d50b5308edee962f8c84 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Feb 01 14:56:34 2015 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Fri Feb 13 23:18:58 2015 -0800 |
tree | ab39bdf4d7cb568852529530d98577023b598568 | |
parent | e2326bfaf56bb80bf3d1b81b5eda0d986b0eca5a [diff] [blame] |
Added a start at a fridge. Change-Id: I5bab9686f966368161ede528ff7abf038d7bcb9a
diff --git a/frc971/control_loops/python/elevator.py b/frc971/control_loops/python/elevator.py index 2b42945..eb3f20c 100755 --- a/frc971/control_loops/python/elevator.py +++ b/frc971/control_loops/python/elevator.py
@@ -45,7 +45,7 @@ # State is [average position, average velocity, # position difference/2, velocity difference/2] - # Input is [V1, V2] + # Input is [V_left, V_right] C1 = self.spring / (self.mass * 0.5) C2 = self.Kt * self.G / (self.mass * 0.5 * self.r * self.R)