Added scripts to plot the interpolation table.

Change-Id: I351c9dbb6edbba66072119c654bda078a415f801
diff --git a/y2017/control_loops/superstructure/plot_constants.gnuplot b/y2017/control_loops/superstructure/plot_constants.gnuplot
new file mode 100644
index 0000000..1ace451
--- /dev/null
+++ b/y2017/control_loops/superstructure/plot_constants.gnuplot
@@ -0,0 +1,5 @@
+plot '/tmp/constants_plot' using 1:(($2 - 0.3) * 1000) title 'hood' with linespoints, \
+     '/tmp/constants_plot' using 1:(($3 - 300) * 10) title 'flywheel' with linespoints, \
+     '/tmp/constants_plot' using 1:($4 * 100) title 'indexer with linespoints
+
+pause -1
diff --git a/y2017/control_loops/superstructure/plot_table.sh b/y2017/control_loops/superstructure/plot_table.sh
new file mode 100755
index 0000000..a247624
--- /dev/null
+++ b/y2017/control_loops/superstructure/plot_table.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cat superstructure.cc | grep 'table entry' | sed 's/^.*{\(.*\), {\(.*\), \(.*\), \(.*\) \* M_PI.*$/\1, \2, \3, \4/' > /tmp/constants_plot
+
+gnuplot plot_constants.gnuplot