Closed LarsJanssenTUe closed 5 years ago
@PetervDooren, which tue_robocup
branch did you use?
Rgo2019 challenge where is this I heard from lars that you fixed this at some point
You should test on the RGO2019 branch.
Openpose does not automatically start on Hero2, also not with free mode.
@jlunenburg :
[~/ros/kinetic/system/src/robot_smach_states/test] (challenge-where-is-this-guidance $=)
amigo@hero2 $ python test_guidance.py hero dinner_table
[INFO][/test_guidance][1560444333.100822]: Constructing robot hero
[ERROR][/test_guidance][1560444340.614412]: /hero/head_rgbd_sensor/project_2d_to_3d not connected timely
[ERROR][/test_guidance][1560444341.488885]: /hero/emergency_switch not connected timely
[ERROR][/test_guidance][1560444342.318260]: /hero/hmi/dragonfly_speech_recognition/restart_node not connected timely
[ERROR][/test_guidance][1560444342.819244]: /hero/torso/measurements not connected timely
[WARN][/test_guidance][1560444342.820428]: Not all hardware operational: ['head', 'base', 'torso']
[INFO][/test_guidance][1560444342.821205]: State machine starting in initial state 'GET_PLAN' with userdata:
[]
[INFO][/test_guidance][1560444343.167555]: State machine transitioning 'GET_PLAN':'goal_ok'-->'EXECUTE_PLAN'
[INFO][/test_guidance][1560444346.676755]: State machine transitioning 'EXECUTE_PLAN':'blocked'-->'PLAN_BLOCKED'
[INFO][/test_guidance][1560444346.677019]: Plan blocked
[INFO][/test_guidance][1560444348.679607]: Plan free again
[INFO][/test_guidance][1560444348.679900]: State machine transitioning 'PLAN_BLOCKED':'free'-->'EXECUTE_PLAN'
[INFO][/test_guidance][1560444356.150035]: Received rgb, depth, cam_info
[ERROR][/test_guidance][1560444358.446548]: InvalidUserCodeError: Could not execute state 'EXECUTE_PLAN' of type '<robot_smach_states.navigation.guidance.ExecutePlanGuidance object at 0x7f02241e08d0>': 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._current_label]))
File "/home/amigo/ros/kinetic/system/src/robot_smach_states/src/robot_smach_states/navigation/guidance.py", line 99, in execute
if not self._check_operator():
File "/home/amigo/ros/kinetic/system/src/robot_smach_states/src/robot_smach_states/navigation/guidance.py", line 113, in _check_operator
return detect_operator_behind_robot(self.robot) # , self._follow_distance, self._operator_radius_threshold)
File "/home/amigo/ros/kinetic/system/src/robot_smach_states/src/robot_smach_states/navigation/guidance.py", line 37, in detect_operator_behind_robot
base_pose = robot.pose.get_location()
AttributeError: 'Hero' object has no attribute 'pose'
Traceback (most recent call last):
File "test_guidance.py", line 51, in
Openpose does start automatically, It starts too early, therefore it fails.
Bug is fixed in 40228a965bae6dec6363c405c94e44a7c3523447 , still needs to be tested on the real robot
New feature/bug
[INFO][/test_guidance][1560881908.235466]: Received rgb, depth, cam_info
[ERROR][/test_guidance][1560881909.320299]: Cannot instantiate PersonProperties from age: 36
emotion:
gender: 0
gender_confidence: 0.789691
name:
posture:
reliability: 0
shirt_colors: [light blue]
tagnames: []
tags: []
header:
frame_id: head_rgbd_sensor_rgb_frame
seq: 535
stamp:
nsec: 118855946
sec: 1560881907
pointing_pose:
orientation:
w: 0
x: 0
y: 0
z: 0
position:
x: 0
y: 0
z: 0
position:
x: 0.0334777
y: 0.171243
z: 1.34775
velocity:
x: 0
y: 0
z: 0
Challenge crashes at startup running is: -hero-start on hero1 -hero-free-mode on hero2 challenge itself:
rosrun challenge_where_is_this challenge_where_is_this hero
Running challenge_where_is_this throws the following error