Skip to content

Commit

Permalink
time used for 1st match
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed May 9, 2024
1 parent a484c72 commit 0e9324d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/matchs/src/sequenceur_match1.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self):
self.cumulated_time = 0
self.start_moving = False
self.time_since_detection = 0
self.movement_time = 11.2
self.movement_time = 4


def tirette_callback(self, msg):
Expand All @@ -52,7 +52,7 @@ def timer_callback(self):
self.publisher_cmd_vel.publish(Twist())
else:
self.cumulated_time = 0
self.movement_time = 11.2
self.movement_time = 4
self.start_moving = False
if self.time_since_detection<0.5 and self.start_moving:
self.publisher_cmd_vel.publish(Twist())
Expand Down

0 comments on commit 0e9324d

Please sign in to comment.