Add elevator control loop and test.
This commit includes a big chunk of elevator code that Comran worked on,
and all the zeroing code that Adam got working for the bot3.
Unfortunately, we did not split these two projects apart earlier, so
this is a big commit containing all of the code combined. Right now, all
of the elevator tests that aren't commented out pass with the hall
effect zeroing method that Adam made, but all the tests in
elevator_lib_test will need to be checked by other programmers on the
team & updated as needed in a future commit.
Change-Id: I4ad6247303c3a939a28eff7d2043de74a2d3865d
diff --git a/bot3/control_loops/control_loops.gyp b/bot3/control_loops/control_loops.gyp
new file mode 100644
index 0000000..b63816e
--- /dev/null
+++ b/bot3/control_loops/control_loops.gyp
@@ -0,0 +1,15 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'position_sensor_sim',
+ 'type': 'static_library',
+ 'sources': ['position_sensor_sim.cc'],
+ 'variables': {
+ 'header_path': 'bot3/control_loops',
+ },
+ 'dependencies': [
+ '<(DEPTH)/bot3/control_loops/elevator/elevator.gyp:elevator_queue',
+ ],
+ },
+ ],
+}