Enable both platform detect sensors.
Change-Id: I94e31c4f3e6f0e80569406f5241005590a5abede
diff --git a/y2019/joystick_reader.cc b/y2019/joystick_reader.cc
index a4c2428..4b0a04b 100644
--- a/y2019/joystick_reader.cc
+++ b/y2019/joystick_reader.cc
@@ -431,10 +431,9 @@
if (new_superstructure_goal->stilts.unsafe_goal > kDeployStiltPosition &&
superstructure_queue.status->stilts.position >= kDeployStiltPosition) {
was_above_ = true;
- } else if ((superstructure_queue.position->platform_left_detect ||
+ } else if ((superstructure_queue.position->platform_left_detect &&
superstructure_queue.position->platform_right_detect) &&
!data.IsPressed(kDeployStilt) && !data.IsPressed(kFallOver)) {
- // TODO(austin): Should make this && rather than ||
was_above_ = false;
}