Skip to content
Snippets Groups Projects
Commit 745665b8 authored by Charles Javerliat's avatar Charles Javerliat Committed by Charles JAVERLIAT
Browse files

Change flag timer

parent 4fb46f08
No related branches found
No related tags found
No related merge requests found
......@@ -209,10 +209,12 @@ class CoordinatorNode():
# TODO Follow line and hit fdc
self.move(0.25, forward=False)
sent = False
while not sent:
if rospy.get_rostime().secs - start >= 96:
if rospy.get_rostime().secs - start > 95:
flag_state = Bool()
flag_state.data = True
self.flag_state_pub.publish(flag_state)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment