Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//y2024:__subpackages__"]) |
| 2 | |
| 3 | py_binary( |
| 4 | name = "drivetrain", |
| 5 | srcs = [ |
| 6 | "drivetrain.py", |
| 7 | ], |
| 8 | legacy_create_init = False, |
| 9 | deps = [ |
| 10 | ":python_init", |
| 11 | "//frc971/control_loops/python:drivetrain", |
| 12 | "@pip//glog", |
| 13 | "@pip//python_gflags", |
| 14 | ], |
| 15 | ) |
| 16 | |
| 17 | py_binary( |
| 18 | name = "polydrivetrain", |
| 19 | srcs = [ |
| 20 | "drivetrain.py", |
| 21 | "polydrivetrain.py", |
| 22 | ], |
| 23 | legacy_create_init = False, |
| 24 | deps = [ |
| 25 | ":python_init", |
| 26 | "//frc971/control_loops/python:polydrivetrain", |
| 27 | "@pip//glog", |
| 28 | "@pip//python_gflags", |
| 29 | ], |
| 30 | ) |
| 31 | |
| 32 | py_library( |
| 33 | name = "polydrivetrain_lib", |
| 34 | srcs = [ |
| 35 | "drivetrain.py", |
| 36 | "polydrivetrain.py", |
| 37 | ], |
| 38 | visibility = ["//visibility:public"], |
| 39 | deps = [ |
| 40 | "//frc971/control_loops/python:controls", |
| 41 | "//frc971/control_loops/python:drivetrain", |
| 42 | "//frc971/control_loops/python:polydrivetrain", |
| 43 | "@pip//glog", |
| 44 | "@pip//python_gflags", |
| 45 | ], |
| 46 | ) |
| 47 | |
Niko Sohmers | b21dbdc | 2024-01-20 20:06:59 -0800 | [diff] [blame] | 48 | py_binary( |
| 49 | name = "intake_pivot", |
| 50 | srcs = [ |
| 51 | "intake_pivot.py", |
| 52 | ], |
| 53 | legacy_create_init = False, |
| 54 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 55 | deps = [ |
| 56 | ":python_init", |
| 57 | "//frc971/control_loops/python:angular_system", |
| 58 | "//frc971/control_loops/python:controls", |
| 59 | "@pip//glog", |
| 60 | "@pip//python_gflags", |
| 61 | ], |
| 62 | ) |
| 63 | |
Filip Kujawa | 37aa0bc | 2024-01-31 20:59:49 -0800 | [diff] [blame^] | 64 | py_binary( |
| 65 | name = "climber", |
| 66 | srcs = [ |
| 67 | "climber.py", |
| 68 | ], |
| 69 | legacy_create_init = False, |
| 70 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 71 | deps = [ |
| 72 | ":python_init", |
| 73 | "//frc971/control_loops/python:controls", |
| 74 | "//frc971/control_loops/python:linear_system", |
| 75 | "@pip//glog", |
| 76 | "@pip//python_gflags", |
| 77 | ], |
| 78 | ) |
| 79 | |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 80 | py_library( |
| 81 | name = "python_init", |
| 82 | srcs = ["__init__.py"], |
| 83 | visibility = ["//visibility:public"], |
| 84 | deps = ["//y2024/control_loops:python_init"], |
| 85 | ) |