diff --git a/F&Q/faq.md b/F&Q/faq.md new file mode 100644 index 0000000000000000000000000000000000000000..8d2e919818711df2a43e1ad3409a4ffa147685b7 --- /dev/null +++ b/F&Q/faq.md @@ -0,0 +1,90 @@ +# 凌智视觉模块F&Q文档 + +## 环境搭建 + +1、环境拉取 + +```markdown +git clone https://gitee.com/LockzhinerAI/arm-rockchip830-linux-uclibcgnueabihf.git +Cloning into 'arm-rockchip830-linux-uclibcgnueabihf'...fatal: unable to access 'https://gitee.com/LockzhinerAI/arm-rockchip830-linux-uclibcgnueabihf.git/': could not resolvehost: gitee.com +``` + +如果出现以上问题,将对应的**文件夹删除**,然后重新执行git clone 命令 + +2、环境已经存在 + +```bash +git clone https://gitee.com/LockzhinerAI/arm-rockchip830-linux-uclibcgnueabihf.gitfatal: destination path 'arm-rockchip830-linux-uclibcgnueabihf' already exists and is not an empty directory. +``` + +出现该提示,表示文件已经存在,如果需要重新拉去,需要将改文件夹删除 + +3、三方依赖库不全 + +![](./images/missingfile.jpg) + +如果出现出现该情况,请根据教程进行重新拉取三方库 + +## 设备使用 + +1、摄像头的基本使用 + +本模块在使用时,需要配合程序使用,如果**直接**连接摄像头后,想要直接打开可视化软件是不可行的 + +2、代理问题 + +如果出现该提示 + +![](./images/agent.jpg) + +请关闭本机的代理软件(如校园网的vpn等) + +3、发热问题 + +发热的时候或者有其他硬件故障的话,请联系我们,不要尝试自己维修。摄像头发热是正常现象,最高温度会有60左右,摸起来会略微烫手 + +4、远程支持 + +如果需要远程支持,请下载最新版的 **todesk** ,同时确保网络畅通 + +5、IP 配置 + +**gitee** 上面的文档虽然任然写着需要配置文档,但目前的镜像不需要进行配置**IP**,可以直接连接使用,不需要配置 IP, 留有 **IP** 设置的原因是以防万一,避免不同设备的兼容性问题。 + +6、VScode 连接 Docker + +在完成基础环境搭建后,如果说需要进行 **c++** 开发,推荐使用vscode 连接 docker, **VScode** docker 插件安装方式: + +打开 vscode 的拓展可以使用快捷键(Ctrl+Shift+X)下载 Docker 、Remote - SSH 、Remote - SSH: Editing Config 、Remote Explorer 等插件 + +启动容器 + +![](./images/docker1.jpg) + +进入容器 + +![](./images/docker2.jpg) + +切换工作目录 + +![](./images/config.jpg) + +6、进程查看 + +进程查看工具可以使用 top / htop + +在使用该工具时颜色可能会有变化,属于正常现象 + +7、自启动设置 + +如果有设置自启动脚本并使用摄像头,在终端想要使用摄像头时需要将原有进程杀死。 + +## 程序编译 + +1、cpp 程序编译 + +```bash +自己写的文件保存了,然后在自己文件这一栏右键打开终端然后生成可执行文件,但是它一直是生成的标准历程里的可执行文件 +``` + +请根据**自定义文件名**修改cmak,如果不知到如何修改的话,可以拷贝一个例程,不修改文件名,只修改里面的内容(同时如果需要视觉功能最好使用E或D例程进行替换可以减少写cmake的麻烦) \ No newline at end of file diff --git a/F&Q/images/agent.jpg b/F&Q/images/agent.jpg new file mode 100644 index 0000000000000000000000000000000000000000..242d9364d8e65d3cec496ce1108de72a7f781852 Binary files /dev/null and b/F&Q/images/agent.jpg differ diff --git a/F&Q/images/config.jpg b/F&Q/images/config.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bfe27063b90e7b64f5bf6d37cc8adfb11340a15a Binary files /dev/null and b/F&Q/images/config.jpg differ diff --git a/F&Q/images/docker1.jpg b/F&Q/images/docker1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4ca097767437b754bde189a29c576af85e82fee7 Binary files /dev/null and b/F&Q/images/docker1.jpg differ diff --git a/F&Q/images/docker2.jpg b/F&Q/images/docker2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cf9a4b08eff4ab4286341a42889df0231254ae12 Binary files /dev/null and b/F&Q/images/docker2.jpg differ diff --git a/F&Q/images/missingfile.jpg b/F&Q/images/missingfile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..404f12e9c526e080d5c5452366630ae8a516f3fd Binary files /dev/null and b/F&Q/images/missingfile.jpg differ diff --git a/README.md b/README.md index 81dccb341ab0bca255203b82e62f1cb1082efcc3..d2fdd63629d385c643fc94b13af846941db87d30 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ * [凌智视觉模块 C++ 开发环境搭建指南](./docs/introductory_tutorial/cpp_development_environment.md) * [基于 C++ 编写 Hello World 程序](./example/hello_world) --> +## 💡 F&Q + +在使用过程中,如果遇到问题,请先查看 [FAQ](./F&Q/faq.md),如果问题没有解决,请提 issue。 + ## 💡 自启动设置 [自启动脚本设置](./docs/自启动设置.md),设置完后可以说使得视觉模块脱机运行