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.q b/frc971/control_loops/shooter/shooter.q index fd2ddd4..7475873 100755 --- a/frc971/control_loops/shooter/shooter.q +++ b/frc971/control_loops/shooter/shooter.q
@@ -46,6 +46,9 @@ // How many times we've shot. int32_t shots; bool done; + // What we think the current position of the hard stop on the shooter is, in + // shot power (Joules). + double hard_stop_power; }; queue Goal goal;