forked from RussTedrake/manipulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
171 lines (144 loc) · 3.17 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# -*- mode: python -*-
# vi: set ft=python :
# Copyright 2020-2022 Massachusetts Institute of Technology.
# Licensed under the BSD 3-Clause License. See LICENSE.TXT for details.
load("//htmlbook/tools/html:defs.bzl", "rt_html_test")
load("//htmlbook/tools/jupyter:defs.bzl", "rt_ipynb_test")
load("//htmlbook/tools/python:defs.bzl", "rt_py_test")
load("//htmlbook/tools/tidy:def.bzl", "html_tidy_test")
exports_files(
["LICENSE.TXT"],
visibility = ["//visibility:public"],
)
exports_files(
["setup.cfg"],
visibility = ["//:__subpackages__"],
)
filegroup(
name = "html",
srcs = glob([
"*.html",
"*.html.in",
]),
visibility = ["//:__subpackages__"],
)
html_tidy_test(
name = "html_tidy",
srcs = [":html"],
config = ".tidy.config",
)
rt_html_test(
srcs = ["intro.html"],
)
rt_ipynb_test(
name = "intro",
srcs = ["intro.ipynb"],
deps = [
"//manipulation",
"//manipulation:meshcat_utils",
"//manipulation:scenarios",
],
)
rt_html_test(
srcs = ["robot.html"],
)
rt_html_test(
srcs = ["pick.html"],
)
rt_html_test(
srcs = ["pose.html"],
)
rt_html_test(
srcs = ["clutter.html"],
)
rt_html_test(
srcs = ["segmentation.html"],
)
# torchvision is trying to write to a temp directory.
#rt_ipynb_test(
# name = "segmentation_inference",
# srcs = ["segmentation_inference.ipynb"],
# deps = ["//manipulation"],
# data = ["//data:clutter_maskrcnn_data"],
#)
rt_py_test(
name = "segmentation_data",
srcs = ["segmentation_data.py"],
data = ["//manipulation/models"],
args = ["--test"],
imports = [".."],
deps = [
"//manipulation",
"//manipulation:scenarios",
],
)
rt_html_test(
srcs = ["force.html"],
)
rt_ipynb_test(
name = "force",
srcs = ["force.ipynb"],
tags = ["requires-network"], # For gurobi
data = ["//manipulation/models"],
deps = [
"//manipulation",
"//manipulation:meshcat_utils",
"//manipulation:scenarios",
],
)
rt_html_test(
srcs = ["trajectories.html"],
)
rt_ipynb_test(
name = "trajectories",
srcs = ["trajectories.ipynb"],
data = ["//manipulation/models"],
deps = [
"//manipulation",
"//manipulation:meshcat_utils",
"//manipulation:scenarios",
],
)
rt_html_test(
srcs = ["rl.html"],
)
# Having cuda issues on puget
#rt_ipynb_test(
# name = "rl",
# srcs = ["rl.ipynb"],
# data = ["//data:box_flipup_ppo_state_3.zip"],
# deps = [
# "//manipulation",
# "//manipulation:meshcat_utils",
# "//manipulation/envs:box_flipup",
# ],
#)
#rt_py_test(
# name = "rl_train_boxflipup",
# srcs = ["rl_train_boxflipup.py"],
# args = ["--test"],
# imports = [".."],
# deps = [
# "//manipulation/envs:box_flipup",
# ],
#)
rt_html_test(
srcs = ["drake.html"],
)
rt_html_test(
srcs = ["misc.html"],
)
rt_html_test(
srcs = ["station.html"],
)
filegroup(
name = "chapters",
srcs = ["chapters.json"],
visibility = ["//visibility:public"],
)
# Some methods look for this file to find the root directory.
filegroup(
name = "workspace",
srcs = ["WORKSPACE.bazel"],
visibility = ["//visibility:public"],
)