Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
630fc1cb
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
630fc1cb
编写于
3月 16, 2018
作者:
Z
zhujun08
提交者:
Liangliang Zhang
3月 17, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use perception_cuda lib
上级
cf3b6132
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
50 addition
and
16 deletion
+50
-16
WORKSPACE.in
WORKSPACE.in
+0
-9
apollo.sh
apollo.sh
+9
-0
modules/perception/lib/config_manager/BUILD
modules/perception/lib/config_manager/BUILD
+1
-1
modules/perception/obstacle/camera/common/BUILD
modules/perception/obstacle/camera/common/BUILD
+3
-3
modules/perception/obstacle/camera/detector/common/BUILD
modules/perception/obstacle/camera/detector/common/BUILD
+1
-1
modules/perception/obstacle/camera/detector/yolo_camera_detector/BUILD
...ption/obstacle/camera/detector/yolo_camera_detector/BUILD
+2
-2
third_party/perception_cuda.BUILD
third_party/perception_cuda.BUILD
+34
-0
未找到文件。
WORKSPACE.in
浏览文件 @
630fc1cb
...
...
@@ -190,15 +190,6 @@ http_archive(
url = "https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz",
)
# camera undistort for perception
#new_local_repository(
# name = "undistort",
# build_file = "third_party/undistort.BUILD",
# path = "/usr/local/apollo/undistort",
#)
# CUDA-related utilities for perception
# perception cuda util
new_local_repository(
name = "perception_cuda",
...
...
apollo.sh
浏览文件 @
630fc1cb
...
...
@@ -108,7 +108,16 @@ function generate_build_targets() {
function
build_perception_cuda
()
{
cur_dir
=
$(
pwd
)
src_dir
=
"modules/perception/cuda_util"
sudo mkdir
"/home/tmp/perception_cuda"
tar_include_dir
=
"/home/tmp/perception_cuda/include/"
tar_lib_dir
=
"/home/tmp/perception_cuda/lib/"
cd
$src_dir
&&
mkdir
-p
build
&&
cd
build
&&
cmake ..
&&
make
sudo mkdir
$tar_lib_dir
sudo cp
"libcuda_util.so"
$tar_lib_dir
sudo mkdir
$tar_include_dir
cd
$cur_dir
cd
$src_dir
sudo cp
"network.h"
"region_output.h"
"undistortion.h"
"util.h"
$tar_include_dir
cd
$cur_dir
}
...
...
modules/perception/lib/config_manager/BUILD
浏览文件 @
630fc1cb
...
...
@@ -21,7 +21,7 @@ cc_library(
"//modules/perception/obstacle/camera/common"
,
"@cuda"
,
"@opencv2//:imgproc"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
"@yaml_cpp//:yaml"
,
],
)
...
...
modules/perception/obstacle/camera/common/BUILD
浏览文件 @
630fc1cb
...
...
@@ -14,7 +14,7 @@ cc_library(
deps
=
[
"//modules/perception/obstacle/base"
,
"@eigen"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
],
)
...
...
@@ -31,7 +31,7 @@ cc_library(
"//modules/perception/common:pcl_util"
,
"//modules/perception/obstacle/base"
,
"@eigen"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
],
)
...
...
@@ -51,7 +51,7 @@ cc_library(
hdrs
=
[
"cnn_adapter.h"
],
deps
=
[
"//modules/perception/obstacle/camera/common:util"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
],
)
...
...
modules/perception/obstacle/camera/detector/common/BUILD
浏览文件 @
630fc1cb
...
...
@@ -18,7 +18,7 @@ cc_library(
"@eigen"
,
"@opencv2//:core"
,
"@opencv2//:imgproc"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
],
)
...
...
modules/perception/obstacle/camera/detector/yolo_camera_detector/BUILD
浏览文件 @
630fc1cb
...
...
@@ -35,7 +35,7 @@ cc_library(
"//modules/perception/obstacle/camera/interface"
,
"@caffe//:lib"
,
"@eigen"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
],
)
...
...
@@ -53,7 +53,7 @@ cc_test(
deps
=
[
":yolo_camera_detector"
,
"//modules/common/util"
,
"@perception_
util
"
,
"@perception_
cuda
"
,
"@gtest//:main"
,
],
)
...
...
third_party/perception_cuda.BUILD
0 → 100644
浏览文件 @
630fc1cb
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
cc_library(
name = "perception_cuda",
srcs = [
"lib/libcuda_util.so",
],
hdrs = [
"include/undistortion.h",
"include/region_output.h",
"include/util.h",
"include/network.h",
],
linkopts = [
"-Wl,-rpath,/usr/lib/x86_64-linux-gnu/",
"-lboost_system",
"-lboost_thread",
"-lboost_filesystem",
"-lpthread",
"-lblas",
"-lcblas",
"-lhdf5_hl",
"-lhdf5",
"-lz",
"-ldl",
"-lm",
"-lopencv_core",
"-lopencv_highgui",
"-lopencv_imgproc",
"-lcaffe",
],
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录