Move 2015-specific code to its own folder.
Known issues:
-I didn't change the namespace for it, but I am open to discussion
on doing that in a separate change.
-There are a couple of files which should get split out into
year-specific and not-year-specific files to reduce how much needs
to get copied around each year still.
-The control loop python code doesn't yet generate code with the
right #include etc paths.
Change-Id: Iabf078e75107c283247f58a5ffceb4dbd6a0815f
diff --git a/y2015/autonomous/autonomous.gyp b/y2015/autonomous/autonomous.gyp
new file mode 100644
index 0000000..63898e8
--- /dev/null
+++ b/y2015/autonomous/autonomous.gyp
@@ -0,0 +1,43 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'auto_lib',
+ 'type': 'static_library',
+ 'sources': [
+ 'auto.cc',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
+ '<(AOS)/common/controls/controls.gyp:control_loop',
+ '<(DEPTH)/y2015/control_loops/drivetrain/drivetrain.gyp:drivetrain_queue',
+ '<(DEPTH)/y2015/y2015.gyp:constants',
+ '<(AOS)/common/common.gyp:time',
+ '<(AOS)/common/util/util.gyp:phased_loop',
+ '<(AOS)/common/util/util.gyp:trapezoid_profile',
+ '<(AOS)/build/aos.gyp:logging',
+ '<(DEPTH)/y2015/actors/actors.gyp:drivetrain_action_lib',
+ '<(AOS)/common/logging/logging.gyp:queue_logging',
+ '<(DEPTH)/y2015/control_loops/claw/claw.gyp:claw_queue',
+ '<(DEPTH)/y2015/control_loops/fridge/fridge.gyp:fridge_queue',
+ '<(DEPTH)/y2015/actors/actors.gyp:stack_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:held_to_lift_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:pickup_action_lib',
+ ],
+ 'export_dependent_settings': [
+ '<(AOS)/common/controls/controls.gyp:control_loop',
+ ],
+ },
+ {
+ 'target_name': 'auto',
+ 'type': 'executable',
+ 'sources': [
+ 'auto_main.cc',
+ ],
+ 'dependencies': [
+ '<(AOS)/linux_code/linux_code.gyp:init',
+ '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
+ 'auto_lib',
+ ],
+ },
+ ],
+}