Added gnuplot scripts used to tune the 2014 drive kalman filter.
Change-Id: Icd1ae00d485b2b032a654ad584cf49d838413944
diff --git a/y2014/control_loops/drivetrain/kfplot2.gnuplot b/y2014/control_loops/drivetrain/kfplot2.gnuplot
new file mode 100644
index 0000000..3d506d9
--- /dev/null
+++ b/y2014/control_loops/drivetrain/kfplot2.gnuplot
@@ -0,0 +1,18 @@
+#set yrange [-13:2]
+#set xrange [431.5:435.5]
+
+set term x11
+
+plot '/tmp/dump' using 1:9 title 'left_vel' with lines,\
+ '/tmp/dump' using 1:10 title 'right_vel' with lines,\
+ '/tmp/dump' using 1:(($9 + $10)/2) title 'avg_vel' with lines,\
+ '/tmp/dump' using 1:20 title 'left_ss_vel' with lines,\
+ '/tmp/dump' using 1:21 title 'right_ss_vel' with lines,\
+ '/tmp/dump' using 1:11 title 'left_encoder_vel' with lines,\
+ '/tmp/dump' using 1:12 title 'right_encoder_vel' with lines, \
+ '/tmp/dump' using 1:(($11 + $12)/2) title 'avg_encoder_vel' with lines,\
+ '/tmp/dump' using 1:($13 - 10) title 'left_voltage_error' with lines,\
+ '/tmp/dump' using 1:($14 - 10) title 'right_voltage_error' with lines,\
+ '/tmp/dump' using 1:(12 + $19 * 5) title 'browned_out' with lines
+
+pause -1