Skip to content
Snippets Groups Projects
Commit e255f4fb authored by Michele Persiani's avatar Michele Persiani
Browse files

Second commit

parent b78faed5
No related branches found
No related tags found
1 merge request!2Second commit
......@@ -28,6 +28,9 @@ this.difficulty_service_proxy = None
def helpUser(nextAction, board):
rospy.loginfo("I suggest action %s for board %s", nextAction, board)
def helpCallback(msg):
id_human = ttt.getUserId()
id_ai = ttt.getAiId()
......@@ -52,7 +55,7 @@ def callbackGripperActionExecuted(msg):
difficulty = msg_difficulty.data
if difficulty == 1:
helpCallback(None)
helpCallback(Empty())
if difficulty == 4:
# countdown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment