Skip to content

Commit

Permalink
control: included lqr+pid controller in BUILD file
Browse files Browse the repository at this point in the history
  • Loading branch information
sjiang2018 authored and xiaoxq committed Nov 7, 2019
1 parent 39ef0cc commit 0675de7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions modules/control/submodules/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,43 @@ cc_binary(
deps = [":mpc_controller_submodule_lib"],
)

cc_library(
name = "pid_lqr_controller_submodule_lib",
srcs = ["pid_lqr_controller_submodule.cc"],
hdrs = [
"pid_lqr_controller_submodule.h",
],
copts = [
"-DMODULE_NAME=\\\"pid_lqr_controller_submodule\\\"",
],
deps = [
"//cyber",
"//external:gflags",
"//modules/canbus/proto:canbus_proto",
"//modules/common",
"//modules/common/adapters:adapter_gflags",
"//modules/common/monitor_log",
"//modules/common/status",
"//modules/common/time",
"//modules/common/util",
"//modules/common/vehicle_state:vehicle_state_provider",
"//modules/control/common:control_gflags",
"//modules/control/controller",
"//modules/control/proto:control_common_conf_proto",
"//modules/control/proto:control_proto",
"//modules/control/proto:preprocessor_proto",
"//modules/localization/proto:localization_proto",
"//modules/planning/proto:planning_proto",
],
)

cc_binary(
name = "pid_lqr_controller_submodule.so",
linkshared = True,
linkstatic = False,
deps = [":pid_lqr_controller_submodule_lib"],
)

cc_library(
name = "postprocessor_submodule_lib",
srcs = ["postprocessor_submodule.cc"],
Expand Down

0 comments on commit 0675de7

Please sign in to comment.