Hooking up the inputs with restrictions

IMPORTANT NOTE: This will not work and will throw errors until Ravago
implements the setConstraint function in points.py which at the time of
writing this has not yet been committed.

Change-Id: Iee226103dcf2f510c18404ca650df23e771fd85c
diff --git a/frc971/control_loops/python/points.py b/frc971/control_loops/python/points.py
index f42410f..c22582e 100644
--- a/frc971/control_loops/python/points.py
+++ b/frc971/control_loops/python/points.py
@@ -36,6 +36,11 @@
                 constraint["value"] = value
                 break
 
+    def getConstraint(self, id):
+        for constraint in self.constraints:
+            if constraint["constraint_type"] == id:
+                return constraint["value"]
+
     def addConstraintsToTrajectory(self, trajectory):
         for constraint in self.constraints:
             if constraint["constraint_type"] == "VOLTAGE":