commit | e0554ef13a021cbdef0647f5531411ab0282ff94 | [log] [tgz] |
---|---|---|
author | Adam Snaider <adsnaider@gmail.com> | Sat Mar 11 23:02:45 2017 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Wed Mar 22 20:24:04 2017 -0700 |
tree | 122fab0250275ae011c3cf6fbf476c84f506b55e | |
parent | 3028b1d09c246ca21833dccc7400a46655f02379 [diff] [blame] |
Turn lights on when button is pushed Finished. Change-Id: I53880c31a5d46499b7875e154bae9b5b7716091c
diff --git a/y2017/control_loops/superstructure/superstructure.cc b/y2017/control_loops/superstructure/superstructure.cc index 343d809..357c4b6 100644 --- a/y2017/control_loops/superstructure/superstructure.cc +++ b/y2017/control_loops/superstructure/superstructure.cc
@@ -105,6 +105,9 @@ ::std::max(-kMaxIndexerRollerVoltage, ::std::min(unsafe_goal->indexer.voltage_rollers, kMaxIndexerRollerVoltage)); + + // Set the lights on or off + output->lights_on = unsafe_goal->lights_on; } }