forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
86 lines (76 loc) · 1.93 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
# -*- python -*-
load(
"@drake//tools/skylark:drake_cc.bzl",
"drake_cc_binary",
"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 = "perception",
visibility = ["//visibility:public"],
deps = [
":depth_image_to_point_cloud",
":point_cloud",
":point_cloud_flags",
],
)
drake_cc_library(
name = "point_cloud_flags",
srcs = ["point_cloud_flags.cc"],
hdrs = ["point_cloud_flags.h"],
deps = [
"//common:essential",
],
)
drake_cc_library(
name = "point_cloud",
srcs = ["point_cloud.cc"],
hdrs = ["point_cloud.h"],
deps = [
":point_cloud_flags",
"//common:essential",
],
)
drake_cc_library(
name = "depth_image_to_point_cloud",
srcs = ["depth_image_to_point_cloud.cc"],
hdrs = ["depth_image_to_point_cloud.h"],
deps = [
":point_cloud",
"//common:essential",
"//math:geometric_transform",
"//systems/framework",
"//systems/sensors:camera_info",
"//systems/sensors:image",
],
)
drake_cc_googletest(
name = "depth_image_to_point_cloud_test",
srcs = ["test/depth_image_to_point_cloud_test.cc"],
deps = [
":depth_image_to_point_cloud",
"//common/test_utilities:eigen_matrix_compare",
"//systems/sensors:camera_info",
],
)
drake_cc_googletest(
name = "point_cloud_flags_test",
srcs = ["test/point_cloud_flags_test.cc"],
deps = [
":point_cloud_flags",
"//common/test_utilities:expect_no_throw",
],
)
drake_cc_googletest(
name = "point_cloud_test",
srcs = ["test/point_cloud_test.cc"],
deps = [
":point_cloud",
"//common/test_utilities:eigen_matrix_compare",
"//common/test_utilities:expect_no_throw",
],
)
add_lint_tests()