Commit 6a19c2fd authored by yangxue's avatar yangxue

update readme.md

parent 2dcb1204
......@@ -2,7 +2,7 @@
* @Author: yangxue && xue.yang@waytous.com
* @Date: 2025-04-07 09:26:17
* @LastEditors: yangxue xue.yang@waytous.com
* @LastEditTime: 2025-04-17 06:22:11
* @LastEditTime: 2025-05-14 01:45:22
* @FilePath: /ubuntu/projects/ros_camera_bev/README.md
* @Description:
*
......@@ -11,7 +11,7 @@
# 编译
- 将ros_camera_bev和deepinfer放在同一目录下
- 依次编译waytous_perception_msgs和perception_camera_bev
```
```bash
catkin_make -DCATKIN_WHITELIST_PACKAGES="waytous_perception_msgs"
catkin_make -DCATKIN_WHITELIST_PACKAGES="perception_camera_bev"
......@@ -19,7 +19,6 @@ catkin_make -DCATKIN_WHITELIST_PACKAGES="perception_camera_bev"
catkin_make -DCATKIN_WHITELIST_PACKAGES="perception_camera_bev" -DCUDA_nppicom_LIBRARY="/usr/local/cuda/lib64/libnppim.so"
```
# 参数修改
■ 如果部署到不同平台上,有*.engine文件则删除,程序重新生成(不要删除onnx文件):/configs/weights/ips_241107m_stone_best_fp16.engine
■ 修改参数文件 configs/CameraBevParam.yaml
......@@ -34,13 +33,14 @@ catkin_make -DCATKIN_WHITELIST_PACKAGES="perception_camera_bev" -DCUDA_nppicom_L
# 运行脚本
先修改launch.sh中--working-directory参数为ros_camera_bev所在目录,然后可以运行脚本:
```
```bash
bash launch.sh
```
- 注意:部署到新平台上,第一次运行会生成engine文件,耗时较长是正常现象。
# 本地天准域控测试的一些关键命令
```
```bash
# 编译
catkin_make -DCATKIN_WHITELIST_PACKAGES="waytous_perception_msgs"
catkin_make -DCATKIN_WHITELIST_PACKAGES="perception_camera_bev" -DCUDA_nppicom_LIBRARY="/usr/local/cuda/lib64/libnppim.so"
......@@ -58,6 +58,6 @@ rosrun perception_camera_bev camera_bev_infer
rviz
```
# 压缩部署关键文件
```
```bash
zip -r ros_camera_bev.zip ros_camera_bev/ -x "ros_camera_bev/.vscode/*" -x "ros_camera_bev/devel/*" -x "ros_camera_bev/build/*" -x "ros_camera_bev/sdk/*" -x "ros_camera_bev/src/camera_back_warn/*" -x "*.engine" -x "*.bag" -x "ros_camera_bev/.git/*" -x "*.gitignore" -x "*.catkin_workspace"
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment