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/y2015.gyp b/y2015/y2015.gyp
new file mode 100644
index 0000000..7f929d9
--- /dev/null
+++ b/y2015/y2015.gyp
@@ -0,0 +1,53 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'constants',
+ 'type': 'static_library',
+ 'sources': [
+ 'constants.cc',
+ ],
+ 'dependencies': [
+ '<(AOS)/build/aos.gyp:logging',
+ '<(AOS)/common/common.gyp:once',
+ '<(AOS)/common/network/network.gyp:team_number',
+ '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
+ '<(DEPTH)/y2015/control_loops/drivetrain/drivetrain.gyp:polydrivetrain_plants',
+ ],
+ 'export_dependent_settings': [
+ '<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
+ ],
+ },
+ {
+ 'target_name': 'joystick_reader',
+ 'type': 'executable',
+ 'sources': [
+ 'joystick_reader.cc',
+ ],
+ 'dependencies': [
+ '<(AOS)/prime/input/input.gyp:joystick_input',
+ '<(AOS)/linux_code/linux_code.gyp:init',
+ '<(AOS)/build/aos.gyp:logging',
+ '<(AOS)/common/common.gyp:time',
+ '<(AOS)/common/util/util.gyp:log_interval',
+ '<(AOS)/common/actions/actions.gyp:action_lib',
+
+ '<(DEPTH)/frc971/queues/queues.gyp:gyro',
+ '<(DEPTH)/y2015/control_loops/claw/claw.gyp:claw_queue',
+ '<(DEPTH)/y2015/control_loops/drivetrain/drivetrain.gyp:drivetrain_queue',
+ '<(DEPTH)/y2015/control_loops/fridge/fridge.gyp:fridge_queue',
+ '<(DEPTH)/y2015/y2015.gyp:constants',
+ '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto_queue',
+ '<(DEPTH)/y2015/actors/actors.gyp:stack_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:stack_and_lift_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:stack_and_hold_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:pickup_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:lift_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:held_to_lift_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:can_pickup_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:score_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:horizontal_can_pickup_action_lib',
+ '<(DEPTH)/y2015/actors/actors.gyp:fridge_profile_lib',
+ ],
+ },
+ ],
+}