Convert y2014 to y2016, and get the drivetrain running.
I made a y2016 folder based on what was in y2014. Right now, it only has
a drivetrain control loop, and all the constants are not up to date with
the current CAD design. Changes from y2014 can be viewed by comparing to
the BASE commit, since I put this commit on top of a dummy y2014 folder
renamed y2016. Hope this helps.
Change-Id: I3f1d1d1a14a99ac441c51b2a67cbade7cbd708ab
diff --git a/y2016/control_loops/drivetrain/BUILD b/y2016/control_loops/drivetrain/BUILD
index 9d7edb6..1150426 100644
--- a/y2016/control_loops/drivetrain/BUILD
+++ b/y2016/control_loops/drivetrain/BUILD
@@ -5,9 +5,9 @@
genrule(
name = 'genrule_drivetrain',
visibility = ['//visibility:private'],
- cmd = '$(location //y2014/control_loops/python:drivetrain) $(OUTS)',
+ cmd = '$(location //y2016/control_loops/python:drivetrain) $(OUTS)',
tools = [
- '//y2014/control_loops/python:drivetrain',
+ '//y2016/control_loops/python:drivetrain',
],
outs = [
'drivetrain_dog_motor_plant.h',
@@ -20,9 +20,9 @@
genrule(
name = 'genrule_polydrivetrain',
visibility = ['//visibility:private'],
- cmd = '$(location //y2014/control_loops/python:polydrivetrain) $(OUTS)',
+ cmd = '$(location //y2016/control_loops/python:polydrivetrain) $(OUTS)',
tools = [
- '//y2014/control_loops/python:polydrivetrain',
+ '//y2016/control_loops/python:polydrivetrain',
],
outs = [
'polydrivetrain_dog_motor_plant.h',
@@ -59,8 +59,8 @@
],
deps = [
':polydrivetrain_plants',
- '//y2014:constants',
'//frc971/control_loops/drivetrain:drivetrain_config',
+ '//y2016:constants',
],
)