fix: 避障bug修复

This commit is contained in:
2024-03-30 11:43:43 +08:00
parent 77558d2a31
commit 9e23f1968d
7 changed files with 32 additions and 33 deletions

View File

@@ -88,7 +88,7 @@ void CheckGarage()
}
}
//如果色块的个数在6~9之间则认为这一行的斑马线满足要求在去扫下一行
if (banmaxian_geshu >= 2 ){banmaxian_hangshu++;}
if (banmaxian_geshu >= 6 ){banmaxian_hangshu++;}
}
//如果有大于等于4行的有效斑马线
if(banmaxian_hangshu>=2)