Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 1 | load('/aos/downloader/downloader', 'aos_downloader') |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame] | 2 | load('/aos/downloader/downloader', 'aos_downloader_dir') |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 3 | |
| 4 | cc_library( |
| 5 | name = 'constants', |
| 6 | visibility = ['//visibility:public'], |
| 7 | srcs = [ |
| 8 | 'constants.cc', |
| 9 | ], |
| 10 | hdrs = [ |
| 11 | 'constants.h', |
| 12 | ], |
| 13 | deps = [ |
| 14 | '//aos/common/logging', |
| 15 | '//aos/common:once', |
| 16 | '//aos/common/network:team_number', |
| 17 | '//aos/common:mutex', |
| 18 | '//frc971/control_loops:state_feedback_loop', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 19 | '//frc971:shifter_hall_effect', |
Austin Schuh | 2fc10fa | 2016-02-08 00:44:34 -0800 | [diff] [blame] | 20 | '//frc971:constants', |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 21 | '//y2016/control_loops/drivetrain:polydrivetrain_plants', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 22 | ], |
| 23 | ) |
| 24 | |
| 25 | cc_binary( |
| 26 | name = 'joystick_reader', |
| 27 | srcs = [ |
| 28 | 'joystick_reader.cc', |
| 29 | ], |
| 30 | deps = [ |
| 31 | ':constants', |
Austin Schuh | 45d07f6 | 2016-03-13 15:33:31 -0700 | [diff] [blame] | 32 | '//aos/common/actions:action_lib', |
| 33 | '//aos/common/logging', |
| 34 | '//aos/common/util:log_interval', |
| 35 | '//aos/common:time', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 36 | '//aos/input:joystick_input', |
| 37 | '//aos/linux_code:init', |
Austin Schuh | 45d07f6 | 2016-03-13 15:33:31 -0700 | [diff] [blame] | 38 | '//frc971/autonomous:auto_queue', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 39 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
| 40 | '//frc971/queues:gyro', |
Comran Morshed | e68e373 | 2016-03-12 14:12:11 +0000 | [diff] [blame] | 41 | '//y2016/actors:autonomous_action_lib', |
Diana Vandenberg | 9cc9ab6 | 2016-04-20 21:27:47 -0700 | [diff] [blame] | 42 | '//y2016/actors:superstructure_action_lib', |
Austin Schuh | 1879911 | 2016-03-16 22:09:54 -0700 | [diff] [blame] | 43 | '//y2016/actors:vision_align_action_lib', |
Comran Morshed | 200dd4b | 2016-02-16 17:54:58 +0000 | [diff] [blame] | 44 | '//y2016/control_loops/shooter:shooter_queue', |
Austin Schuh | 45d07f6 | 2016-03-13 15:33:31 -0700 | [diff] [blame] | 45 | '//y2016/control_loops/superstructure:superstructure_lib', |
Comran Morshed | 200dd4b | 2016-02-16 17:54:58 +0000 | [diff] [blame] | 46 | '//y2016/control_loops/superstructure:superstructure_queue', |
Comran Morshed | aa0573c | 2016-03-05 19:05:54 +0000 | [diff] [blame] | 47 | '//y2016/queues:ball_detector', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 48 | ], |
| 49 | ) |
| 50 | |
| 51 | aos_downloader( |
| 52 | name = 'download', |
| 53 | start_srcs = [ |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 54 | ':joystick_reader', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 55 | '//aos:prime_start_binaries', |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 56 | '//y2016/control_loops/drivetrain:drivetrain', |
Austin Schuh | 9f77fd2 | 2016-02-21 02:53:58 -0800 | [diff] [blame] | 57 | '//y2016/control_loops/superstructure:superstructure', |
| 58 | '//y2016/control_loops/shooter:shooter', |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 59 | '//y2016/dashboard:dashboard', |
Comran Morshed | e68e373 | 2016-03-12 14:12:11 +0000 | [diff] [blame] | 60 | '//y2016/actors:autonomous_action', |
Diana Vandenberg | 9cc9ab6 | 2016-04-20 21:27:47 -0700 | [diff] [blame] | 61 | '//y2016/actors:superstructure_action', |
Austin Schuh | 1879911 | 2016-03-16 22:09:54 -0700 | [diff] [blame] | 62 | '//y2016/actors:vision_align_action', |
Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 63 | '//y2016/wpilib:wpilib_interface', |
Austin Schuh | 1879911 | 2016-03-16 22:09:54 -0700 | [diff] [blame] | 64 | '//y2016/vision:target_receiver', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 65 | ], |
| 66 | srcs = [ |
| 67 | '//aos:prime_binaries', |
| 68 | ], |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame] | 69 | dirs = [ |
| 70 | '//y2016/dashboard:www_files', |
| 71 | ], |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 72 | ) |
Austin Schuh | c80dd15 | 2016-02-29 01:47:44 -0800 | [diff] [blame] | 73 | |
| 74 | aos_downloader( |
| 75 | name = 'download_stripped', |
| 76 | start_srcs = [ |
| 77 | ':joystick_reader.stripped', |
| 78 | '//aos:prime_start_binaries_stripped', |
| 79 | '//y2016/control_loops/drivetrain:drivetrain.stripped', |
| 80 | '//y2016/control_loops/superstructure:superstructure.stripped', |
| 81 | '//y2016/control_loops/shooter:shooter.stripped', |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 82 | '//y2016/dashboard:dashboard.stripped', |
Comran Morshed | e68e373 | 2016-03-12 14:12:11 +0000 | [diff] [blame] | 83 | '//y2016/actors:autonomous_action.stripped', |
Diana Vandenberg | 9cc9ab6 | 2016-04-20 21:27:47 -0700 | [diff] [blame] | 84 | '//y2016/actors:superstructure_action.stripped', |
Austin Schuh | 1879911 | 2016-03-16 22:09:54 -0700 | [diff] [blame] | 85 | '//y2016/actors:vision_align_action.stripped', |
Austin Schuh | c80dd15 | 2016-02-29 01:47:44 -0800 | [diff] [blame] | 86 | '//y2016/wpilib:wpilib_interface.stripped', |
Austin Schuh | 1879911 | 2016-03-16 22:09:54 -0700 | [diff] [blame] | 87 | '//y2016/vision:target_receiver.stripped', |
Austin Schuh | c80dd15 | 2016-02-29 01:47:44 -0800 | [diff] [blame] | 88 | ], |
| 89 | srcs = [ |
| 90 | '//aos:prime_binaries_stripped', |
| 91 | ], |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame] | 92 | dirs = [ |
| 93 | '//y2016/dashboard:www_files', |
| 94 | ], |
Austin Schuh | c80dd15 | 2016-02-29 01:47:44 -0800 | [diff] [blame] | 95 | ) |