# tankFuncTest **Repository Path**: yoooola/tankFuncTest ## Basic Information - **Project Name**: tankFuncTest - **Description**: 测试版本,正在实验修改中! - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://yoola.top - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-04 - **Last Updated**: 2023-09-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tankFuncTest #### 编译教程 ``` cd ~/WorkSpace git clone https://gitee.com/yoooola/tankFuncTest.git && cd tankFuncTest mkdir build && cd build #构建工程 cmake .. #编译 make #运行 sudo ./TankRemControl ``` ### 如果修改了代码,提交以后在zero重新编译的过程 ``` # 先进入指定的文件目录,如果已经在了,则不需要运行 cd ~/WorkSpace/tankFuncTest/build # 拉取最新代码 git pull #如果创建了新的文件,则需要重新构建工程,否则可以不重新构建 cmake .. #编译 make ``` ### 调试方法 ``` 程序运行起来后,请输入: a: 向下位机发送被攻击信号! v: 读取接收到的下位机的电压 r: 读取到下位发送的炮塔旋转角度 s: 向下位机发送前车灯控制信号,被攻击1次 检查下位机的输出,或使用逻辑分析仪查看输出是否正常 ```