Apollo v9.0.0-rc-r10 基础测试

一、参考链接

二、踩坑记录

  • ./apollo.sh build_opt编译会出现Eigen段错误的问题,需换成./apollo.sh build_opt_gpu
  • cyber_monitor发现apollo/perception/obstacles通道有数据,但dreamview_plus不显示,换成dreamview就可以了

三、操作步骤

3.1 测试环境

属性
OS Ubuntu 20.04.6 LTS
NVIDIA驱动版本 Driver Version: 555.42.02
Kernel版本 5.15.0-139-generic
Docker版本 27.4.1
nvidia-container-toolkit 1.13.5-1

3.2 源码下载、编译、资源下载、查看

  • 拉取源码
cd /data1/dev
git clone https://github.com/ApolloAuto/apollo.git
cd apollo
git checkout v9.0.0-rc-r10
  • 修改点

    • 1.编译错误:apollo/modules/control/controllers/lat_based_lqr_controller/lat_controller_test.cc

    请添加图片描述

    • 2.支持多用户【非必须】:apollo/docker/scripts/dev_start.sh

    请添加图片描述

  • 创建docker容器

bash docker/scripts/dev_start.sh 
  • 进入容器
bash docker/scripts/dev_into.sh
  • 清理
./apollo.sh clean -a
  • 开始编译
./apollo.sh build_opt_gpu
  • 安装模型管理工具amodel
cd /apollo/modules/tools/amodel
python3 setup.py install
cd -
  • apollo/docs/应用实践/开发调试教程/Apollo感知实践/感知模块综述.md 获取模型下载链接、下载安装模型
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/petrv1.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/horizontal_torch.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/quadrate_torch.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/vertical_torch.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/horizontal_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/quadrate_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/vertical_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/tl_detection_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/denseline_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/darkSCNN_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/cnnseg16_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/cnnseg64_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/cnnseg128_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/center_point_paddle.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/mask_pillars_torch_v2.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/point_pillars_torch_v2.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/yolox3d_onnx.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/caddn_paddle.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/3d-r4-half_caffe.zip
echo y | amodel  install https://apollo-pkg-beta.cdn.bcebos.com/perception_model/point_pillars_radar4d_torch.zip
echo y 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Hi20240217

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值