commit | 843412b7490b5384f8bd281a6c7b53ce884db892 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Mar 20 16:48:46 2016 -0700 |
committer | Austin Schuh <austin.linux@gmail.com> | Sun Mar 20 17:33:55 2016 -0700 |
tree | 791a7eb6e60e72bb9700f371832ab74d4e6c121e | |
parent | 6aeae0c70a8fa5a89db09aa0616842074d4c2427 [diff] [blame] |
Added traverse code. Change-Id: I22ab8c9133a7b646be4dd06a5aa90aa27a570918
diff --git a/y2016/control_loops/superstructure/superstructure.cc b/y2016/control_loops/superstructure/superstructure.cc index e85657c..97fe0dd 100644 --- a/y2016/control_loops/superstructure/superstructure.cc +++ b/y2016/control_loops/superstructure/superstructure.cc
@@ -659,6 +659,8 @@ output->voltage_bottom_rollers = ::std::max( -kMaxIntakeBottomVoltage, ::std::min(unsafe_goal->voltage_bottom_rollers, kMaxIntakeBottomVoltage)); + output->traverse_unlatched = unsafe_goal->traverse_unlatched; + output->traverse_down = unsafe_goal->traverse_down; } }