commit | 0a245a0d172b1e8eb805c3173258387f29a498ad | [log] [tgz] |
---|---|---|
author | John Park <johnhenryp@icloud.com> | Sun Feb 02 14:10:15 2020 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Mon Feb 17 19:45:04 2020 -0800 |
tree | 5b3e87e1da0652bb268db9b1498ae6df2a797aee | |
parent | f07b514b4b45f636886445a3e61c47482b1e0d22 [diff] [blame] |
Add Climber class and tests For now, it is a simple pass through. Change-Id: I5274b03f6ade23fbc98713cf8ed849866a85b429
diff --git a/y2020/control_loops/superstructure/superstructure.cc b/y2020/control_loops/superstructure/superstructure.cc index eb88e93..c2512db 100644 --- a/y2020/control_loops/superstructure/superstructure.cc +++ b/y2020/control_loops/superstructure/superstructure.cc
@@ -52,6 +52,8 @@ output != nullptr ? &(output_struct.turret_voltage) : nullptr, status->fbb()); + climber_.Iterate(unsafe_goal, output != nullptr ? &(output_struct) : nullptr); + bool zeroed; bool estopped;