|
@@ -1,19 +1,18 @@
|
|
|
+#qt_com=$(arch)
|
|
|
+qt_com=`arch`
|
|
|
+if [ $qt_com = "aarch64" ];then
|
|
|
+qtmake="/usr/lib/aarch64-linux-gnu/qt5/bin/qmake"
|
|
|
+else
|
|
|
+qtmake="/opt/Qt5.10.1/5.10.1/gcc_64/bin/qmake"
|
|
|
+fi
|
|
|
|
|
|
-#qtmake="/opt/Qt5.10.1/5.10.1/gcc_64/bin/qmake"
|
|
|
-#qtmake=/usr/bin/qmake
|
|
|
-#qtmake="/usr/lib/aarch64-linux-gnu/qt5/bin/qmake"
|
|
|
-if [ ! $qtmake ];then
|
|
|
- echo -e "\e[33m qtmake not set, auto find it\e[0m"
|
|
|
- qtmake=`find /opt -name "qmake" 2>/dev/null | grep 'gcc_64'`
|
|
|
+if [ $(uname -m) == "x86_64" ]; then
|
|
|
+ qtmake="/usr/lib/x86_64-linux-gnu/qt5/bin/qmake"
|
|
|
fi
|
|
|
|
|
|
if [ ! $qtmake ];then
|
|
|
- echo -e "\e[33m qtmake not ,may be agx, auto find it\e[0m"
|
|
|
- if [ -d '/usr/lib/aarch64-linux-gnu/qt5' ]; then
|
|
|
- qtmake='/usr/lib/aarch64-linux-gnu/qt5/bin/qmake'
|
|
|
- else
|
|
|
- echo "if NVIDIA,please sudo apt install qt"
|
|
|
- fi
|
|
|
+ echo -e "\e[33m qtmake not set, auto find it\e[0m"
|
|
|
+ qtmake=`find /opt -name "qmake" 2>/dev/null | grep 'gcc_64'`
|
|
|
fi
|
|
|
|
|
|
if [ ! $qtmake ];then
|
|
@@ -34,37 +33,6 @@ check_result()
|
|
|
fi
|
|
|
}
|
|
|
|
|
|
-function checkOS_TYPE(){
|
|
|
- if [[ ! -z "`uname | grep Darwin`" ]];then
|
|
|
- OS_TYPE=osx
|
|
|
- install_path=/Applications
|
|
|
- elif [[ ! -z "`uname | grep Linux`" ]];then
|
|
|
- OS_TYPE=linux
|
|
|
- install_path=/usr/lib
|
|
|
- else
|
|
|
- echo "Unsupported operating systems!"
|
|
|
- exit 1
|
|
|
- fi
|
|
|
- echo "The current operating system is"
|
|
|
- echo $OS_TYPE
|
|
|
-}
|
|
|
-
|
|
|
-function checkos(){
|
|
|
- if [[ -f /etc/redhat-release ]];then
|
|
|
- OS=Centos
|
|
|
- elif [[ ! -z "`cat /etc/issue | grep bian`" ]];then
|
|
|
- OS=Debian
|
|
|
- elif [[ ! -z "`cat /etc/issue | grep Ubuntu`" ]];then
|
|
|
- OS=Ubuntu
|
|
|
- else
|
|
|
- echo "Unknow!!!"
|
|
|
- fi
|
|
|
- echo $OS
|
|
|
-}
|
|
|
-
|
|
|
-checkOS_TYPE
|
|
|
-checkos
|
|
|
-
|
|
|
MAKEOPT=-j8
|
|
|
|
|
|
mkdir bin
|
|
@@ -164,7 +132,7 @@ rm .qmake.stash
|
|
|
cd ../../../
|
|
|
|
|
|
controller_app_name=(
|
|
|
- controller_midcar
|
|
|
+ controller_hapo
|
|
|
)
|
|
|
|
|
|
for x in ${controller_app_name[@]}
|
|
@@ -182,7 +150,7 @@ do
|
|
|
done
|
|
|
|
|
|
decition_app_name=(
|
|
|
- decition_brain
|
|
|
+ decition_brain_sf
|
|
|
#decition_brain_ge3
|
|
|
#decition_brain_qingyuan
|
|
|
#decition_brain_vv7
|
|
@@ -210,6 +178,9 @@ driver_app_name=(
|
|
|
driver_map_xodrload
|
|
|
driver_rpc_server
|
|
|
driver_cloud_grpc_client
|
|
|
+ driver_grpc_server
|
|
|
+ driver_rpc_server
|
|
|
+ driver_group_grpc_client
|
|
|
)
|
|
|
|
|
|
for x in ${driver_app_name[@]}
|
|
@@ -227,9 +198,8 @@ do
|
|
|
done
|
|
|
|
|
|
detect_app_name=(
|
|
|
- detection_lidar_cnn_segmentation
|
|
|
+ detection_lidar_PointPillars_MultiHead
|
|
|
detection_radar_delphi_esr
|
|
|
- detection_gps_hcp2
|
|
|
detection_chassis
|
|
|
)
|
|
|
|
|
@@ -247,6 +217,25 @@ do
|
|
|
cd ../../../
|
|
|
done
|
|
|
|
|
|
+
|
|
|
+fution_app_name=(
|
|
|
+ lidar_radar_fusion_cnn
|
|
|
+)
|
|
|
+
|
|
|
+for x in ${fution_app_name[@]}
|
|
|
+do
|
|
|
+ cd src/fusion/${x}/
|
|
|
+ $qtmake ${x}.pro
|
|
|
+ make $MAKEOPT
|
|
|
+ check_result $?
|
|
|
+ make clean
|
|
|
+ cp ${x} ./../../../bin/
|
|
|
+ rm Makefile
|
|
|
+ rm .qmake.stash
|
|
|
+ rm ${x}
|
|
|
+ cd ../../../
|
|
|
+done
|
|
|
+
|
|
|
tool_app_name=(
|
|
|
view_pointcloud
|
|
|
view_gps
|