forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
61 lines (54 loc) · 1.36 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- python -*-
load(
"@drake//tools/skylark:drake_cc.bzl",
"drake_cc_googletest",
"drake_cc_library",
"drake_cc_package_library",
)
load("//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
drake_cc_package_library(
name = "planning",
visibility = ["//visibility:public"],
deps = [
":robot_diagram",
":robot_diagram_builder",
],
)
drake_cc_library(
name = "robot_diagram",
srcs = ["robot_diagram.cc"],
hdrs = ["robot_diagram.h"],
deps = [
"//common:default_scalars",
"//geometry:scene_graph",
"//multibody/plant",
"//systems/framework:diagram",
"//systems/framework:diagram_builder",
],
)
drake_cc_library(
name = "robot_diagram_builder",
srcs = ["robot_diagram_builder.cc"],
hdrs = ["robot_diagram_builder.h"],
deps = [
":robot_diagram",
"//common:default_scalars",
"//geometry:scene_graph",
"//multibody/parsing",
"//multibody/plant",
"//systems/framework:diagram_builder",
],
)
drake_cc_googletest(
name = "robot_diagram_test",
data = [
"//manipulation/models/iiwa_description:models",
],
deps = [
":robot_diagram",
":robot_diagram_builder",
"//common/test_utilities:expect_throws_message",
],
)
add_lint_tests()