commit | d29689fb772d5ad7b379ea1cc9ba0c2683094ba1 | [log] [tgz] |
---|---|---|
author | James Kuszmaul <james@hp-debian> | Sun Mar 02 13:06:54 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 13:13:28 2014 -0800 |
tree | 98b866580ae6e4966b949d8ff9c78abfbb62b0ab | |
parent | 4aa863d7e1d5cdd89ea5e5865c40e1df83d7fc24 [diff] [blame] |
Added a PositionToPower function in the shooter.
diff --git a/frc971/control_loops/shooter/shooter.h b/frc971/control_loops/shooter/shooter.h index 742bb0c..9a130bc 100755 --- a/frc971/control_loops/shooter/shooter.h +++ b/frc971/control_loops/shooter/shooter.h
@@ -125,6 +125,7 @@ bool capped_goal() const { return shooter_.capped_goal(); } double PowerToPosition(double power); + double PositionToPower(double position); typedef enum { STATE_INITIALIZE = 0,