add GT7-AHKv1.00.13_testGT7-AHKv1.00.13_test - modyfied matrix PanAm

This commit is contained in:
Bartek Dobrowolski-Nowakowski
2022-04-18 22:06:49 +02:00
parent d447b60344
commit 468a0c0525
37 changed files with 5814 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
__enableCheckStuck_mod__ := 0
GoTo EndCheckStuckDef
CheckStuck:
if (__enableCheckStuck_mod__ = 0){
return
}
tc := BitGrab(tyreX, tyreY, box_size)
for i, c in tc
{
td := Distance(c, color_tyre_overheat)
if (td < tolerance ){
tyres_overheating := true
break
}
}
return
Unstuck:
if (__enableCheckStuck_mod__ = 0){
return
}
controller.Buttons.RS.SetState(false)
Sleep 200
Turn_Left(4000, 0)
tyres_overheating := false
controller.Buttons.RS.SetState(true)
ToolTip, Unstuck done - hope it worked., 100, 100, Screen
return
EndCheckStuckDef: