Skip to content

Commit

Permalink
moto codeupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
RedAmancy918 committed Apr 18, 2024
1 parent 8488b66 commit a1969cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Basic_Development/Arm_Vision_Sys/motDetect/arm_det.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MyCallback : public Libcam2OpenCV::Callback {

bool redDetected = false; // 用于标志是否检测到红色物体

MyCallback() : servo0(21), servo1(16), servo2(20), servo3(26) {
MyCallback() : servo0(21), servo1(20), servo2(19), servo3(6) {
initiateSLE(); // 启动SLE程序,开始循环搜索红色物体
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MyCallback : public Libcam2OpenCV::Callback {
mg90s servo0, servo1, servo2, servo3; // 初始化四个舵机控制器
bool redDetected = false; // 用于标志是否检测到红色物体

MyCallback() : servo0(21), servo1(16), servo2(20), servo3(26) {
MyCallback() : servo0(21), servo1(20), servo2(19), servo3(6) {
initiateSLE(); // 启动SLE程序
}

Expand Down

0 comments on commit a1969cd

Please sign in to comment.