mirror of
https://gitee.com/yyz_o/bk_bishe_pi.git
synced 2025-09-07 23:21:26 +00:00
2025.5.15第一次提交,修复大量应切换vector造成的bug,并添加实机测试文件夹。
This commit is contained in:
19
robot_test_code/实机测试/test_run.cpp
Normal file
19
robot_test_code/实机测试/test_run.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include<iostream>
|
||||
#include<string>
|
||||
#include"eyebot++.h"
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
int Fwall,Lwall,Rwall;
|
||||
LCDMenu("","","","END");
|
||||
|
||||
do
|
||||
{ //检测墙面
|
||||
MOTORDriveRaw(1,50);
|
||||
MOTORDriveRaw(2,50);
|
||||
|
||||
} while (KEYRead() != KEY4);
|
||||
}
|
||||
Reference in New Issue
Block a user