This commit is contained in:
raiots 2023-05-30 11:01:18 +08:00
parent 3a6ca29560
commit 222b3cea35
1 changed files with 6 additions and 6 deletions

View File

@ -438,7 +438,7 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point1.jpg",img)
cv2.imwrite("/shot/point1.jpg",img)
ship.LED1OFF()
state = 7
case 7:
@ -453,7 +453,7 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point2.jpg",img)
cv2.imwrite("/shot/point2.jpg",img)
ship.LED1OFF()
state = 8
case 8:
@ -468,7 +468,7 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point3.jpg",img)
cv2.imwrite("/shot/point3.jpg",img)
ship.LED1OFF()
state = 9
case 9:
@ -484,7 +484,7 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point5.jpg",img)
cv2.imwrite("/shot/point5.jpg",img)
ship.LED1OFF()
state = 10
case 10:
@ -507,7 +507,7 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point6.jpg",img)
cv2.imwrite("/shot/point6.jpg",img)
ship.LED1OFF()
state = 12
case 12:
@ -531,6 +531,6 @@ while True:
ship.LED1ON()
time.sleep(0.2)
img = getImage(0)
cv2.imwrite("/kazimi/point5.jpg",img)
cv2.imwrite("/shot/point5.jpg",img)
ship.LED1OFF()
quit()