Autogen rule written for 'claw' module.
Change-Id: Iad44bde1de4f3503f4cf01739577c6ab55da8bf0
diff --git a/y2015/control_loops/claw/BUILD b/y2015/control_loops/claw/BUILD
index e671004..200b422 100644
--- a/y2015/control_loops/claw/BUILD
+++ b/y2015/control_loops/claw/BUILD
@@ -25,17 +25,41 @@
],
)
+genrule(
+ name = 'genrule_claw',
+ visibility = ['//visibility:private'],
+ cmd = '$(location //y2015/control_loops/python:claw) $(OUTS)',
+ tools = [
+ '//y2015/control_loops/python:claw',
+ ],
+ outs = [
+ 'claw_motor_plant.h',
+ 'claw_motor_plant.cc',
+ ],
+)
+
cc_library(
- name = 'claw_lib',
+ name = 'claw_plants',
srcs = [
- 'claw.cc',
'claw_motor_plant.cc',
],
hdrs = [
- 'claw.h',
'claw_motor_plant.h',
],
deps = [
+ '//frc971/control_loops:state_feedback_loop',
+ ],
+)
+
+cc_library(
+ name = 'claw_lib',
+ hdrs = [
+ 'claw.h',
+ ],
+ srcs = [
+ 'claw.cc',
+ ],
+ deps = [
':claw_queue',
'//aos/common/controls:control_loop',
'//aos/common:time',
@@ -43,6 +67,7 @@
'//y2015:constants',
'//frc971/control_loops:state_feedback_loop',
'//frc971/zeroing:zeroing',
+ ':claw_plants',
],
)