Set PYTHONPATH for old control loops
Running them doesn't get you the right files (namespace issues at
least), but at least they kind of work.
Change-Id: I69faa943d4db14c29bdaa6abb035f6f34ca5244d
diff --git a/y2014/control_loops/update_arm.sh b/y2014/control_loops/update_arm.sh
index c4c1ab9..c941db9 100755
--- a/y2014/control_loops/update_arm.sh
+++ b/y2014/control_loops/update_arm.sh
@@ -2,6 +2,8 @@
#
# Updates the arm controllers (for both robots).
+export PYTHONPATH=../../frc971/control_loops/python
+
cd $(dirname $0)
./python/arm.py fridge/arm_motor_plant.cc \
diff --git a/y2014/control_loops/update_claw.sh b/y2014/control_loops/update_claw.sh
index 2800d2a..18ffc4c 100755
--- a/y2014/control_loops/update_claw.sh
+++ b/y2014/control_loops/update_claw.sh
@@ -2,6 +2,8 @@
#
# Updates the claw controllers.
+export PYTHONPATH=../../frc971/control_loops/python
+
cd $(dirname $0)
./python/claw.py claw/claw_motor_plant.h \
diff --git a/y2014/control_loops/update_drivetrain.sh b/y2014/control_loops/update_drivetrain.sh
index bad1074..f783939 100755
--- a/y2014/control_loops/update_drivetrain.sh
+++ b/y2014/control_loops/update_drivetrain.sh
@@ -2,6 +2,8 @@
#
# Updates the drivetrain controllers (for both robots).
+export PYTHONPATH=../../frc971/control_loops/python
+
cd $(dirname $0)
./python/drivetrain.py drivetrain/drivetrain_dog_motor_plant.h \
diff --git a/y2014/control_loops/update_polydrivetrain.sh b/y2014/control_loops/update_polydrivetrain.sh
index 2e2748e..2b559c6 100755
--- a/y2014/control_loops/update_polydrivetrain.sh
+++ b/y2014/control_loops/update_polydrivetrain.sh
@@ -2,6 +2,8 @@
#
# Updates the polydrivetrain controllers (for both robots) and CIM models.
+export PYTHONPATH=../../frc971/control_loops/python
+
cd $(dirname $0)
./python/polydrivetrain.py drivetrain/polydrivetrain_dog_motor_plant.h \
diff --git a/y2014/control_loops/update_shooter.sh b/y2014/control_loops/update_shooter.sh
index a9c5807..6dbf5f5 100755
--- a/y2014/control_loops/update_shooter.sh
+++ b/y2014/control_loops/update_shooter.sh
@@ -4,6 +4,8 @@
cd $(dirname $0)
+export PYTHONPATH=../../frc971/control_loops/python
+
./python/shooter.py shooter/shooter_motor_plant.h \
shooter/shooter_motor_plant.cc \
shooter/unaugmented_shooter_motor_plant.h \