blob: 694d95f916a5421139f572919bb6524125c1a670 [file] [log] [blame]
package(default_visibility = ["//y2023:__subpackages__"])
genrule(
name = "genrule_wrist",
outs = [
"wrist_plant.h",
"wrist_plant.cc",
"integral_wrist_plant.h",
"integral_wrist_plant.cc",
],
cmd = "$(location //y2023/control_loops/python:wrist) $(OUTS)",
target_compatible_with = ["@platforms//os:linux"],
tools = [
"//y2023/control_loops/python:wrist",
],
)
cc_library(
name = "wrist_plants",
srcs = [
"integral_wrist_plant.cc",
"wrist_plant.cc",
],
hdrs = [
"integral_wrist_plant.h",
"wrist_plant.h",
],
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
deps = [
"//frc971/control_loops:hybrid_state_feedback_loop",
"//frc971/control_loops:state_feedback_loop",
],
)