|
@@ -36,7 +36,8 @@ MAKEOPT=-j8
|
|
|
|
|
|
cd ../../
|
|
|
|
|
|
-mkdir bin
|
|
|
+mkdir pilotlib
|
|
|
+mkdir pilotbin
|
|
|
|
|
|
cd src/include/proto
|
|
|
sh ./protomake.sh
|
|
@@ -146,6 +147,31 @@ rm Makefile
|
|
|
rm .qmake.stash
|
|
|
cd ../../../
|
|
|
|
|
|
+PWD=`pwd`
|
|
|
+
|
|
|
+PROTOPATH=$PWD/src/include/proto
|
|
|
+MSGTYPEPATH=$PWD/src/include/msgtype
|
|
|
+PROFOLDERPATH=$PWD/src/common
|
|
|
+
|
|
|
+echo $PROTOPATH
|
|
|
+echo $MSGTYPEPATH
|
|
|
+echo $PROFOLDERPATH
|
|
|
+
|
|
|
+$PWD/bin/makeprotointerface $PROTOPATH $MSGTYPEPATH $PROFOLDERPATH
|
|
|
+
|
|
|
+cp $PWD/src/common/ivprotoif/ivprotoif.h $PWD/include
|
|
|
+
|
|
|
+cd src/common/ivprotoif/
|
|
|
+$qtmake ivprotoif.pro
|
|
|
+make $MAKEOPT
|
|
|
+make clean
|
|
|
+cp libivprotoif.so ./../../../bin/
|
|
|
+rm Makefile
|
|
|
+rm .qmake.stash
|
|
|
+cd ../../../
|
|
|
+
|
|
|
+cp bin/lib* pilotlib/
|
|
|
+
|
|
|
controller_app_name=(
|
|
|
controller_bus
|
|
|
controller_jinlong_peisong
|
|
@@ -164,7 +190,7 @@ cd src/controller/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -172,7 +198,7 @@ cd ../../../
|
|
|
done
|
|
|
|
|
|
decition_app_name=(
|
|
|
-decition_brain
|
|
|
+#decition_brain
|
|
|
decition_brain_sf
|
|
|
)
|
|
|
|
|
@@ -182,7 +208,7 @@ cd src/decition/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -190,7 +216,7 @@ cd ../../../
|
|
|
done
|
|
|
|
|
|
driver_app_name=(
|
|
|
-driver_camera_usb
|
|
|
+#driver_camera_usb
|
|
|
#driver_can_kvaser
|
|
|
#driver_can_vci
|
|
|
driver_can_nvidia_agx
|
|
@@ -198,29 +224,29 @@ driver_camera_ioctl
|
|
|
#driver_cloud_grpc_client
|
|
|
#driver_cloud_grpc_pc
|
|
|
#driver_cloud_grpc_server
|
|
|
-driver_gps_ins550d
|
|
|
+#driver_gps_ins550d
|
|
|
driver_gps_hcp2
|
|
|
-driver_lidar_bk16
|
|
|
+#driver_lidar_bk16
|
|
|
driver_lidar_hesai40line
|
|
|
driver_lidar_hesai40p
|
|
|
driver_lidar_hesaipandar64
|
|
|
driver_lidar_rs16
|
|
|
driver_lidar_rs32
|
|
|
-driver_lidar_vlp16
|
|
|
-driver_lidar_vlp32c
|
|
|
-driver_lidar_vtdpoint
|
|
|
+#driver_lidar_vlp16
|
|
|
+#driver_lidar_vlp32c
|
|
|
+#driver_lidar_vtdpoint
|
|
|
driver_lidar_rsm1
|
|
|
driver_map_trace
|
|
|
driver_map_xodrload
|
|
|
-driver_piccompress
|
|
|
-driver_radio_p900
|
|
|
+#driver_piccompress
|
|
|
+#driver_radio_p900
|
|
|
driver_ntrip_client
|
|
|
-driver_odomtogpsimu
|
|
|
+#driver_odomtogpsimu
|
|
|
#driver_rpc_client
|
|
|
#driver_rpc_server
|
|
|
-driver_vbox_gaohong
|
|
|
+#driver_vbox_gaohong
|
|
|
driver_ota_client
|
|
|
-driver_grpc_client
|
|
|
+#driver_grpc_client
|
|
|
driver_grpc_server
|
|
|
driver_group_grpc_client
|
|
|
)
|
|
@@ -231,7 +257,7 @@ cd src/driver/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -240,16 +266,16 @@ done
|
|
|
|
|
|
detect_app_name=(
|
|
|
detection_chassis
|
|
|
-detection_gps_hcp2
|
|
|
-detection_gps_vtd
|
|
|
+#detection_gps_hcp2
|
|
|
+#detection_gps_vtd
|
|
|
#detection_lidar_cnn_segmentation
|
|
|
-detection_lidar_cnntogrid
|
|
|
-detection_lidar_grid
|
|
|
-detection_lidar_ukf_pda
|
|
|
+#detection_lidar_cnntogrid
|
|
|
+#detection_lidar_grid
|
|
|
+#detection_lidar_ukf_pda
|
|
|
detection_mobileye
|
|
|
#detection_ndt_matching_gpu_multi
|
|
|
detection_radar_delphi_esr
|
|
|
-detection_state_delphi_ins500d
|
|
|
+#detection_state_delphi_ins500d
|
|
|
|
|
|
)
|
|
|
|
|
@@ -259,7 +285,7 @@ cd src/detection/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -267,8 +293,8 @@ cd ../../../
|
|
|
done
|
|
|
|
|
|
fusion_app_name=(
|
|
|
-fusion_gpsndt
|
|
|
-fusion_pointcloud_bus
|
|
|
+#fusion_gpsndt
|
|
|
+#fusion_pointcloud_bus
|
|
|
)
|
|
|
|
|
|
for x in ${fusion_app_name[@]}
|
|
@@ -277,7 +303,7 @@ cd src/fusion/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -287,33 +313,33 @@ done
|
|
|
tool_app_name=(
|
|
|
adciv_record
|
|
|
adciv_replay
|
|
|
-adcndtmultimapping
|
|
|
-bqev_lidar_cnn_detect_view
|
|
|
-bqev_multilidarcalib
|
|
|
-bqev_pcdview
|
|
|
+#adcndtmultimapping
|
|
|
+#bqev_lidar_cnn_detect_view
|
|
|
+#bqev_multilidarcalib
|
|
|
+#bqev_pcdview
|
|
|
ivmapmake
|
|
|
ivmapmake_sharemem
|
|
|
IVSysMan
|
|
|
-map_lanetoxodr
|
|
|
-map_mobieye
|
|
|
-PerceptionShow
|
|
|
-picview
|
|
|
-pointcloudviewer
|
|
|
+#map_lanetoxodr
|
|
|
+#map_mobieye
|
|
|
+#PerceptionShow
|
|
|
+#picview
|
|
|
+#pointcloudviewer
|
|
|
#RemoteCtrl
|
|
|
-tool_calcmd5
|
|
|
+#tool_calcmd5
|
|
|
tool_querymsg
|
|
|
tool_xodrobj
|
|
|
view_gps
|
|
|
view_ivlog
|
|
|
-view_pcdmap
|
|
|
+#view_pcdmap
|
|
|
view_radar
|
|
|
-view_rawcan
|
|
|
+#view_rawcan
|
|
|
tool_configivsysman
|
|
|
-ivdiagnosis
|
|
|
-map_rtkdatafromveh
|
|
|
-picview_civetweb
|
|
|
-tool_trace2vectormap
|
|
|
-view_group_grpc
|
|
|
+#ivdiagnosis
|
|
|
+#map_rtkdatafromveh
|
|
|
+#picview_civetweb
|
|
|
+#tool_trace2vectormap
|
|
|
+#view_group_grpc
|
|
|
view_ivchart
|
|
|
view_message
|
|
|
)
|
|
@@ -324,7 +350,7 @@ cd src/tool/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
@@ -341,13 +367,46 @@ cd src/ui/${x}/
|
|
|
$qtmake ${x}.pro
|
|
|
make $MAKEOPT
|
|
|
make clean
|
|
|
-cp ${x} ./../../../bin/
|
|
|
+cp ${x} ./../../../pilotbin/
|
|
|
rm Makefile
|
|
|
rm .qmake.stash
|
|
|
rm ${x}
|
|
|
cd ../../../
|
|
|
done
|
|
|
|
|
|
+cd pilotbin
|
|
|
+mkdir lib
|
|
|
+cp ../pilotlib/* lib/
|
|
|
+
|
|
|
+for x in ${ui_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
+
|
|
|
+for x in ${controller_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
+
|
|
|
+for x in ${decition_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
+
|
|
|
+for x in ${driver_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
+
|
|
|
+for x in ${detect_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
+
|
|
|
+for x in ${tool_app_name[@]}
|
|
|
+do
|
|
|
+patchelf --set-rpath '$ORIGIN/lib/' ${x}
|
|
|
+done
|
|
|
|
|
|
|
|
|
|