SEMS-data-collection/README.md

23 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# !!!重要
注意检查上层目录是否含有CompliteEnv文件夹, 以及其中依赖的编译环境
# 功能
- 使用`/configs/data_collection_configs.yaml`文件中的参数,配置光谱相机,并持续采集数据保存到指定文件夹
# 命令手册
- ./run.ps1 : 执行build文件夹下的所有exe可执行程序
- ./run.ps1 b : ReBuild 从头编译的命令, 适用于从来没编译过或修改CMakeLists文件后重新编译。会先删除build文件夹再重新编译
- ./run.ps1 p : Pack 打包项目,需先用`./run.ps1 b`编译然后修改CMakeLists文件中的版本号
# 使用方法
1. 在本地开发时,使用`./run.ps1 b`进行编译并查看效果
2. 开发过程中使用git进行版本管理可同步代码到服务器`git@10.8.8.8:222/zhanpeng/SEMS-data-collection.git`
3. 开发完毕使用`./run.ps1 p`打包为zip
4. release上述文件到gitea
5. 在部署设备上下载最新的发布版本
获取最新版本
http://10.8.8.8:3000/api/v1/repos/zhanpeng/SEMS-data-collection/releases/latest?token=e9aaae4b5f7756d0a2977764dbcbdfeb68bb2e13
https://gitea.zhanpeng.life/api/v1/repos/zhanpeng/SEMS-data-collection/releases/latest?token=e9aaae4b5f7756d0a2977764dbcbdfeb68bb2e13