Skip to content

Commit

Permalink
Update 8_goal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rion-Suzuki committed Jun 20, 2023
1 parent 167b0e2 commit 00c10d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sequence/8_goal.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
while 1:
if f == 0:
#-----------------get information-----------------#
motor.motor(15, 15, 1.0)
motor.motor(0, 0, 1.0)
motor.move(15, 15, 1.0)
motor.move(0, 0, 1.0)
goalFlug, goalArea, goalGAP, photoName = goal_detection.GoalDetection(photopath, H_min, H_max, S_thd, goalthd)
print("flug", goalFlug, "area", goalArea, "GAP", goalGAP, "photoname", photoName)
f = 1
Expand All @@ -37,8 +37,8 @@
f = 3
if f == 3:
T = float(input("input Time value "))
motor.motor(L, R, T)
motor.motor(0, 0, 2)
motor.move(L, R, T)
motor.move(0, 0, 2)
motor.motor_stop()
f = 0
except KeyboardInterrupt:
Expand Down

0 comments on commit 00c10d9

Please sign in to comment.