Flip intake direction in collision avoidance
It makes much more sense that 0 is when it's fully down, and positive
is moving up.
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
Change-Id: I7419c7c942ca99ccdba4bf6e61bad174b67c0cc9
diff --git a/y2022/control_loops/superstructure/collision_avoidance.h b/y2022/control_loops/superstructure/collision_avoidance.h
index 7c25964..ec7ce6f 100644
--- a/y2022/control_loops/superstructure/collision_avoidance.h
+++ b/y2022/control_loops/superstructure/collision_avoidance.h
@@ -52,7 +52,7 @@
static constexpr double kMinCollisionZoneBackTurret = -kCollisionZoneTurret;
static constexpr double kMaxCollisionZoneBackTurret = kCollisionZoneTurret;
- // Minimum (highest in reality) of the intake, in order to avoid collisions
+ // Maximum position of the intake to avoid collisions
static constexpr double kCollisionZoneIntake = M_PI / 6.0;
// Tolerance for the turret.