tue-robotics / tue_robocup

RoboCup challenge implementations
https://github.com/orgs/tue-robotics/projects/2
42 stars 12 forks source link

Crash of SPR challenge #478

Closed rokusottervanger closed 7 years ago

rokusottervanger commented 7 years ago

[INFO] [1509477877.130640]: 'Could you please repeat your question?' [INFO] [1509477879.340492]: Question: Question?, grammar: T[{actions : }] -> C[A1]

C[{A}] -> Q[A]

V_GUIDE -> guide | escort | ..

[INFO] [1509477894.380648]: Preempt finished within specified preempt_timeout [1.00] [INFO] [1509477894.381051]: Robot did not hear you (timeout) [ERROR] [1509477894.386188]: InvalidUserCodeError: Could not execute state 'BLUFF_GAME' of type '<challenge_spr_states.bluff_game.HearTurnAndAnswerQuestions object at 0x7f28d41e3f90>': Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/smach/state_machine.py", line 247, in _update_once self._remappings[self._currentlabel])) File "/home/amigo/ros/kinetic/repos/https/github.com/tue-robotics/tue_robocup.git/challenge_spr/src/challenge_spr_states/bluff_game.py", line 72, in execute robot.speech.speak("Please ask next question!") NameError: global name 'robot' is not defined

[ERROR] [1509477894.386576]: Robot exited with <class 'smach.exceptions.InvalidUserCodeError'>,Could not execute state 'BLUFF_GAME' of type '<challenge_spr_states.bluff_game.HearTurnAndAnswerQuestions object at 0x7f28d41e3f90>': Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/smach/state_machine.py", line 247, in _update_once self._remappings[self._currentlabel])) File "/home/amigo/ros/kinetic/repos/https/github.com/tue-robotics/tue_robocup.git/challenge_spr/src/challenge_spr_states/bluff_game.py", line 72, in execute robot.speech.speak("Please ask next question!") NameError: global name 'robot' is not defined

MatthijsBurgh commented 7 years ago

Fixed by #485