本地环境:
系统 ubuntu16.04
cuda 10.0
python 3.7.6
nvidia驱动 410.48
gcc版本 5.4.0
1.git clone 源码
git clone https://github.com/ApolloAuto/apollo.git -b r5.5.0
因为比较大,1.5G,如果git不下来,就直接download下来
2.安装docker
bash docker/setup_host/install_docker.sh
3.运行docker,查看是否安装成功
docker
4.拉取apollo官方镜像
bash docker/scripts/dev_start.sh -C
如果没有option -C,那就把它去掉
5.进入镜像
bash docker/scripts/dev_into.sh
6.编译
bash apollo.sh build
7.在浏览器打开dreamview
build成功后,运行apollo,然后在浏览器输入8888打开dreamview
8.如果要再次进入docker环境,先查看container ID
docker ps -a
记录containerID
9进入docker
docker attach d872ca1d7226
也就是:
docker attach containerID
然后运行dreamview:
bash scripts/bootstrap.sh
以上记得要在Apollo目录下
在浏览器输入
http://localhost:8888

下载离线测试数据:
cd docs/demo_guide/
python rosbag_helper.py demo_3.5.record
运行离线测试:
source /apollo/scripts/apollo_base.sh
cyber_recorder play -f demo_3.5.record --loop

如果需要运行感知模块,参照:
https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_run_perception_module_on_your_local_computer.md
在此之前一定要安装与本地相同版本的NVIDIA driver
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-driver-410
1.第一步,获得docker镜像,;
$APOLLO_HOME/docker/scripts/dev_start.sh
$APOLLO_HOME/docker/scripts/dev_into.sh
2.第二步,Build Apollo
./apollo.sh build_opt_gpu
3.Run bootstrap.sh,运行dreamview
bootstrap.sh
4.在浏览器打开dreamview:Launch Dreamview from your web browser by typing following address http://localhost:8888/
3.选择车辆和地图:Select your car and map using the dropdowm options in the top right corner in Dreamview
4.运行transformSelect the transform button in Dreamview or type the following command in your terminal
cyber_launch start /apollo/modules/transform/launch/static_transform.launch
这里可能会遇到问题:
比如:Cyber_launch not found,先要运行cyber_setup.bash
5.如果图像是压缩的,解压图片:If the image is compressed, launch the image decompression module
cyber_launch start modules/drivers/tools/image_decompress/launch/image_decompress.launch
Launch the perception modules
6.If you want to launch all modules
cyber_launch start /apollo/modules/perception/production/launch/perception_all.launch
7.If you want to test camera-based obstacle and lane detection
cyber_launch start /apollo/modules/perception/production/launch/perception_camera.launch
8.If you want to visualize camera-based results overlaid on the captured image and in bird view, mark enable_visualization: true in ‘modules/perception/production/conf/perception/camera/fusion_camera_detection_component.pb.txt befor executing the above command. It will pop up when you play recorded data in point 9 Also, If you want to enable CIPO, add ‘enable_cipv: true’ as a new line in the same file

If you want to test lane detection alone use
mainboard -d ./modules/perception/production/dag/dag_streaming_perception_lane.dag
If you want to visualize lane results overlaid on the captured image and in bird view, mark enable_visualization: true in modules/perception/production/conf/perception/camera/lane_detection_component.config before executing the above command. It will pop up when you play recorded data in point 9

If you want to test traffic light detection module alone use
cyber_launch start /apollo/modules/perception/production/launch/perception_trafficlight.launch
If you want to visualize the traffic light detection results overlaid on the captured image, mark —start_visualizer=true in apollo/modules/perception/production/conf/perception/perception_common.flag before executing the above command. It will pop up when you play recorded data in point 9

Play your recorded bag

cyber_recorder play -f /apollo/data/bag/anybag -r 0.2

自动驾驶Apollo安装步骤相关推荐

  1. 自动驾驶 | Apollo无人驾驶课程笔记3-定位

    在公众号[计算机视觉联盟]后台回复[9076]获取我的AI学习笔记:我的微信:Kingsplusa:    --by 王博Kings,985AI博士,CSDN博客专家,华为云专家 本系列<无人驾 ...

  2. 自动驾驶 Apollo 源码分析系列,感知篇(八):感知融合代码的基本流程

    说起自动驾驶感知系统,大家都会谈论到感知融合,这涉及到不同传感器数据在时间.空间的对齐和融合,最终的结果将提升自动驾驶系统的感知能力,因为我们都知道单一的传感器都是有缺陷的.本篇文章梳理 Apollo ...

  3. 自动驾驶 Apollo 源码分析系列,感知篇(七):Lidar 障碍物检测基本流程

    Apollo 系统传感器是以 Lidar 为主的,本文整理在 Apollo 6.0 中 Lidar 的基本代码流程. 1. 从 Component 出发 因为有了之前红绿灯检测代码分析的经验,我们自然 ...

  4. 自动驾驶 Apollo 源码分析系列,系统监控篇(二):Monitor模块如何监控硬件

    前面的文章有分析,Monitor 模块监控的内容分为 Hardware 和 Software 两位. 本篇分析硬件监控部分. 首先,可以观察一下 Apollo 官方文档给出的硬件连接图. 跟自动驾驶本 ...

  5. 自动驾驶 Apollo 源码分析系列,感知篇(六):车道线 Dark SCNN 算法简述及车道线后处理代码细节简述

    本文大纲 自动驾驶中的车道线检测思路 SCNN 算法思想 Apollo 中对应的 dark scnn 代码逻辑 dark scnn 模型结构 SCNN 方向的简化 heatmap 对应代码逻辑 灭点提 ...

  6. sublime Text 3 javaScript代码自动提示插件安装步骤

    1.打开sublime,然后快捷键Ctrl+Shift+P,打开pacakges列表界面 搜索Package Control:/ 点击 Package Control: Install Package ...

  7. 自动驾驶 Apollo 源码分析系列,感知篇(二):Perception 如何启动?

    从 Apollo 的官方文档,我们很容易得知 Perception 是核心的组件之一,但像所有的 C++ 程序一样,每个应用都有一个 Main 函数入口,那么引出本文要探索的 2 个问题: Perce ...

  8. 自动驾驶 Apollo 源码分析系列,系统监控篇(四):Monitor模块如何监控进程 Process 的存活状态?

    本篇文章分析 Apollo 中监控模块中监控进程状态的相关代码. 1. ProcessMonitor ProcessMonitor 是一个普通的定时器组件,内部函数也只是常规的 RunOnce 和 U ...

  9. 电脑版微信自动同步转播安装步骤

    可以装XP框架的模拟器,都能做微信转播,原理是在电脑上,运行一个类似手机或者平板的安桌系统,在该系统里安装微信和相关软件,实现自动转播. 这里,我以夜神模拟器为例来介绍. 在电脑上,从夜神官网,下载模 ...

最新文章

  1. [武道资料]《菲律宾短棍-单棍》(Edgar Sulite Lameco Escrima Single Stick)
  2. 实现容器的底层技术 - 每天5分钟玩转 Docker 容器技术(30)
  3. docker目录挂载
  4. HTTPS通信的C++实现
  5. 011_Vue自定义指令
  6. MYSQL和ORACLE时区设置比较
  7. 查linux有哪些task_Java面试手册:Linux高频考点
  8. python安装卡在core inter_python – 如何在我的机器上安装numpy / core ...
  9. (07)Verilog HDL组合逻辑:assign
  10. TypeScript 2019 路线图:更效率,更易用!
  11. MAC系统上,软件安装后的目录
  12. 过度使用微信,正在让人越来越焦虑
  13. 卡方检验的统计量推导_如何通俗的理解A / B测试与卡方检验
  14. postgresql中case when的使用
  15. uva11401:Triangle Counting 递推 数学
  16. wpf之Binging类
  17. oracle10g http server HTMLDB
  18. Linux文件查找的4个命令
  19. 企业越小越需要做股权激励
  20. 《Cloud Native Data Center Network》读书笔记-1

热门文章

  1. 第五课:状语和状语从句
  2. 某公路边坡支护设计(lunwen+计算书+cad图纸+施工组织设计)
  3. DEJA_VU3D - Cesium功能集 之 026-军事标绘系列完整组件
  4. Oracle 最大最小值
  5. 互联网安全真正的守卫神
  6. 【产品分享】嘉为蓝鲸统一告警中心,系统可用的第一层保障!
  7. S3C6410裸机SD卡驱动(SDIO模式)
  8. 安装conda搭建python环境(保姆级教程)
  9. 什么是BFC?以及形成BFC的条件
  10. java fix sence_iFixit 拆解:Apple 苹果 再次改进蝶式键盘机械结构