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/BUILD b/y2016/BUILD
index 2938aa6..19f30e0 100644
--- a/y2016/BUILD
+++ b/y2016/BUILD
@@ -15,8 +15,8 @@
'//aos/common/network:team_number',
'//aos/common:mutex',
'//frc971/control_loops:state_feedback_loop',
- '//y2014/control_loops/drivetrain:polydrivetrain_plants',
'//frc971:shifter_hall_effect',
+ '//y2016/control_loops/drivetrain:polydrivetrain_plants',
],
)
@@ -36,40 +36,20 @@
'//frc971/control_loops/drivetrain:drivetrain_queue',
'//frc971/queues:gyro',
'//frc971/autonomous:auto_queue',
- '//y2014/control_loops/claw:claw_queue',
- '//y2014/control_loops/shooter:shooter_queue',
- '//y2014/actors:shoot_action_lib',
],
)
aos_downloader(
name = 'download',
start_srcs = [
- ':hot_goal_reader',
':joystick_reader',
- '//y2014/control_loops/drivetrain:drivetrain',
- '//y2014/control_loops/claw:claw',
- '//y2014/control_loops/shooter:shooter',
- '//y2014/autonomous:auto',
- '//y2014/actors:binaries',
'//aos:prime_start_binaries',
- '//y2014/wpilib:wpilib_interface',
+ '//y2016/control_loops/drivetrain:drivetrain',
+ '//y2016/autonomous:auto',
+ '//y2016/actors:binaries',
+ '//y2016/wpilib:wpilib_interface',
],
srcs = [
'//aos:prime_binaries',
],
)
-
-cc_binary(
- name = 'hot_goal_reader',
- srcs = [
- 'hot_goal_reader.cc',
- ],
- deps = [
- '//aos/common:time',
- '//aos/common/logging',
- '//aos/common/logging:queue_logging',
- '//aos/linux_code:init',
- '//y2014/queues:hot_goal',
- ],
-)