ADPilot代码

yuchuli d77d7cbc6f change driver_lidar_bk_16z. not complete. 3 ماه پیش
doc 35e69ee60c add some doc for ros小车. 3 ماه پیش
include 18d538b44e change driver_lidar_bk_16z. not complete. 3 ماه پیش
map f49d5ea5a3 remove jingzhong map 2 سال پیش
sh e74ef9c086 change envInstall_simple.sh. add install tf. 1 سال پیش
src d77d7cbc6f change driver_lidar_bk_16z. not complete. 3 ماه پیش
src1 66fb758faa change ads_decision. 1 سال پیش
thirdpartylib 4ff0e94647 change tool/map_lanetoxdr. fix add problem. change autogen_lib.sh. add fastrtps support. 3 سال پیش
.gitignore 0a650cdfb7 fix(grpc_BS,gitignore):add 4 camera pic when auto mode. add deploy/* and *.qmake.stash to ignore file 3 سال پیش
README.md 2d69b8c4e9 adjust laneATT image input size 1 سال پیش
adciv.pro 4661714714 添加镭神16线激光雷达驱动模块 3 سال پیش
addboost.sh c52dc407d7 Change some .sh execute right. 3 سال پیش
agx_setup.sh 18c8d22c5d 添加一个脚本,防止环境配置缺陷造成编译失败 2 سال پیش
auto_clean.sh c52dc407d7 Change some .sh execute right. 3 سال پیش
autodeploy.sh 3374423cc4 add AVS modules 2 سال پیش
autodeploy_ok.sh 0983573023 change controller_changan_shenlan. 2 سال پیش
autogen.sh 11c004e5d8 Change build script log info logic 3 سال پیش
autogen_cross.sh c52dc407d7 Change some .sh execute right. 3 سال پیش
autogen_cross_lib.sh c52dc407d7 Change some .sh execute right. 3 سال پیش
autogen_lib.sh 25c8bb5db2 add driver_radar_4d_ars548. not complete. 6 ماه پیش
autogen_ok.sh 0983573023 change controller_changan_shenlan. 2 سال پیش
build_partial.sh 90576bdb84 添加沥青路面图片 3 سال پیش
clear_build.sh c52dc407d7 Change some .sh execute right. 3 سال پیش
createmaketool.sh 5719c79fa3 complete adciv_maketool. and add createmaketool.sh for build adciv_maketool. and add ros2 program adc_can_nvidia_agx. 8 ماه پیش
deploy-agx.sh c8ac212051 add findqt.cmake and adcpilot.cmake for ros program use qt or adc pilot. 2 سال پیش
deploy.sh 9ccff2e9a1 agx shell xiufu........... 3 سال پیش
deploylib.sh 536036ad75 add tool_takeover. 1 سال پیش
deploywithfind.sh 7dfde83abd change view_pcdmap, change default path. 1 سال پیش
sedrp.sh df7c60fe0f change ivmapmake_sharemem. fix a bug, not gw init. 3 سال پیش

README.md

modularization

技术发展室模块化自动驾驶系统源代码仓库

注意:如果是AGX的环境,请先运行agx_setup.sh脚本,防止漏装软件。

$ bash agx_setup.sh

1.autogen.sh 需要设置qtmake路径 追加s参数,编译中出现错误时自动退出。默认情况下不退出:

$ ./autogen.sh s

2.生成部署文件用autodeploy.sh,需要设置deploy.sh文件里的Qtgccdir。生成的部署文件在deploy/app目录下。

3.首次下载完成后,请在modularization/路径下,右键打开终端,依次执行如下命令

$chmod +x *.sh $./autogen_lib.sh

4.修改autodeploy.sh中的CONFIG_IVSysMan为对应项目的配文件。具体文件可以在./other/目录下找到

5.提交代码前,需要执行如下命令,清除编译产物

$./auto_clean.sh

6.单独编译某个模块,例如view_ivlog,执行如下命令即可

$./build_partial.sh view_ivlog

7.单独编译某个库,例如libivchart,执行如下命令

$./autogen_lib.sh libivchart

$cp bin/libivchart ../.

$deploylib.sh libivchart

rm libivchart

8.如果是agx新刷的系统,由于使用的是apt安装的qt是不完整的,所以请先执行如下命令:

sudo apt-get install libqt5serialport5-dev -y

sudo apt-get install qtwebengine5-dev qtpositioning5-dev -y

9.如果个别工程编译时出现库缺失,请先到http://111.33.136.149:3000/adc_pilot/modularization_thirdpartylib下去下载对应的库文件,并按照链接路径放到modularization/thirdpartylib/下。

10.如果只用共享内存通信(不用DDS),可以在生成的modularization/include/systemdef.pri里加上

DEFINES += MODULECOMM_NO_FASTRTPS屏蔽掉,这样就不需要

libfastcdr.so libfastrtps .so libtinyxml2.so这三个库了。

11.如果编译某个模块,报错:c++: internal compiler error: Segmentation fault (program cc1plus)

修改系统设置限制:sudo gedit /etc/security/limits.conf,将所有stack大小设置为4096 重启系统,sudo reboot