James Kuszmaul | bfdd256 | 2024-07-06 14:18:53 -0700 | [diff] [blame^] | 1 | genrule( |
| 2 | name = "genrule_rotation", |
| 3 | outs = [ |
| 4 | "rotation_plant.h", |
| 5 | "rotation_plant.cc", |
| 6 | "rotation_plant.json", |
| 7 | "integral_rotation_plant.h", |
| 8 | "integral_rotation_plant.cc", |
| 9 | "integral_rotation_plant.json", |
| 10 | ], |
| 11 | cmd = "$(location //y2024_swerve/control_loops/python:rotation) $(OUTS)", |
| 12 | target_compatible_with = ["@platforms//os:linux"], |
| 13 | tools = [ |
| 14 | "//y2024_swerve/control_loops/python:rotation", |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | filegroup( |
| 19 | name = "rotation_json", |
| 20 | srcs = ["integral_rotation_plant.json"], |
| 21 | visibility = ["//visibility:public"], |
| 22 | ) |