commit | b79c424c04a4eb145d562b11bed6bddb3896dfa2 | [log] [tgz] |
---|---|---|
author | Comran Morshed <comranmorsh@gmail.com> | Sat Feb 06 18:27:26 2016 +0000 |
committer | Comran Morshed <comranmorsh@gmail.com> | Sun Feb 14 17:14:11 2016 +0000 |
tree | 28554255243780e7879b837318b84ea579cfabc1 | |
parent | 225f0b93e9094c4c8fc0c0e1e71841c4e785cf60 [diff] [blame] |
Add shooter pneumatics. Change-Id: I2568af8b2836b17d950c24da00c830f0c774f1b7
diff --git a/y2016/control_loops/shooter/shooter.cc b/y2016/control_loops/shooter/shooter.cc index 6550fc2..0e8f3a5 100644 --- a/y2016/control_loops/shooter/shooter.cc +++ b/y2016/control_loops/shooter/shooter.cc
@@ -92,6 +92,11 @@ if (output) { output->voltage_left = left_.voltage(); output->voltage_right = right_.voltage(); + + if (goal) { + output->clamp_open = goal->clamp_open; + output->push_to_shooter = goal->push_to_shooter; + } } }