test camera
This commit is contained in:
parent
25085f542f
commit
b56d176c82
4
run.py
4
run.py
@ -851,7 +851,7 @@ def mainloop_server(pool, manager):
|
||||
if camera_ready == True:
|
||||
if scan_value is False:
|
||||
# unable to scan ???? not good
|
||||
if failcount > 8:
|
||||
if failcount > 15:
|
||||
mode = "Idle"
|
||||
fprint("Giving up scanning cable.")
|
||||
failcount = 0
|
||||
@ -906,6 +906,8 @@ def mainloop_server(pool, manager):
|
||||
if timecount > 180:
|
||||
timecount = 0
|
||||
camera_ready = True
|
||||
arm_ready = True
|
||||
mode = "Idle"
|
||||
|
||||
|
||||
if mode == "Return":
|
||||
|
Loading…
x
Reference in New Issue
Block a user