BUILD 2.2 KB
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library")
2 3 4 5
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

6 7
cc_library(
    name = "cos_theta_smoother",
8 9
    srcs = ["cos_theta_smoother.cc"],
    hdrs = ["cos_theta_smoother.h"],
10 11 12
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
13 14 15 16
    deps = [
        ":cos_theta_ipopt_interface",
        "//cyber/common:log",
        "//modules/planning/proto:cos_theta_smoother_config_proto",
17
        "//third_party:ipopt",
18 19 20 21 22
    ],
)

cc_library(
    name = "cos_theta_ipopt_interface",
23 24
    srcs = ["cos_theta_ipopt_interface.cc"],
    hdrs = ["cos_theta_ipopt_interface.h"],
25 26 27
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
28 29
    deps = [
        "//cyber/common:log",
30
        "//third_party:adolc",
31
        "//third_party:ipopt",
32 33 34
    ],
)

35
cc_library(
J
JasonZhou404 已提交
36
    name = "fem_pos_deviation_smoother",
37 38
    srcs = ["fem_pos_deviation_smoother.cc"],
    hdrs = ["fem_pos_deviation_smoother.h"],
39 40 41
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
42 43 44
    deps = [
        ":fem_pos_deviation_ipopt_interface",
        ":fem_pos_deviation_osqp_interface",
45
        ":fem_pos_deviation_sqp_osqp_interface",
46 47
        "//cyber/common:log",
        "//modules/planning/proto:fem_pos_deviation_smoother_config_proto",
48
        "//third_party:ipopt",
49 50 51 52 53
    ],
)

cc_library(
    name = "fem_pos_deviation_ipopt_interface",
54 55
    srcs = ["fem_pos_deviation_ipopt_interface.cc"],
    hdrs = ["fem_pos_deviation_ipopt_interface.h"],
56 57 58 59 60
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
    deps = [
        "//cyber/common:log",
61
        "//third_party:adolc",
62
        "//third_party:ipopt",
63 64 65 66 67
    ],
)

cc_library(
    name = "fem_pos_deviation_osqp_interface",
68 69
    srcs = ["fem_pos_deviation_osqp_interface.cc"],
    hdrs = ["fem_pos_deviation_osqp_interface.h"],
70 71 72
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
73 74 75 76 77
    deps = [
        "//cyber/common:log",
        "@osqp",
    ],
)
78

79 80
cc_library(
    name = "fem_pos_deviation_sqp_osqp_interface",
81 82
    srcs = ["fem_pos_deviation_sqp_osqp_interface.cc"],
    hdrs = ["fem_pos_deviation_sqp_osqp_interface.h"],
83 84 85 86 87 88 89 90 91
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
    deps = [
        "//cyber/common:log",
        "@osqp",
    ],
)

92
cpplint()