commit | c6a9cd69d2b50cc5ea4fe1762c6fa993c5ba2e9d | [log] [tgz] |
---|---|---|
author | James Kuszmaul <james@hp-debian> | Sun Mar 02 13:06:54 2014 -0800 |
committer | James Kuszmaul <james@hp-debian> | Sun Mar 02 13:06:54 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,