{"action":"created","issue":{"url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/572","repository_url":"https://api.github.com/repos/tue-robotics/tue_robocup","labels_url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/572/comments","events_url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/572/events","html_url":"https://github.com/tue-robotics/tue_robocup/issues/572","id":305229219,"number":572,"title":"CanTransform timeout error when transforming region of interest to map","user":{"login":"JosjaG","id":29233213,"avatar_url":"https://avatars1.githubusercontent.com/u/29233213?v=4","gravatar_id":"","url":"https://api.github.com/users/JosjaG","html_url":"https://github.com/JosjaG","followers_url":"https://api.github.com/users/JosjaG/followers","following_url":"https://api.github.com/users/JosjaG/following{/other_user}","gists_url":"https://api.github.com/users/JosjaG/gists{/gist_id}","starred_url":"https://api.github.com/users/JosjaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosjaG/subscriptions","organizations_url":"https://api.github.com/users/JosjaG/orgs","repos_url":"https://api.github.com/users/JosjaG/repos","events_url":"https://api.github.com/users/JosjaG/events{/privacy}","received_events_url":"https://api.github.com/users/JosjaG/received_events","type":"User","site_admin":false},"labels":[{"id":153415486,"url":"https://api.github.com/repos/tue-robotics/tue_robocup/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"LoyVanBeek","id":709259,"avatar_url":"https://avatars2.githubusercontent.com/u/709259?v=4","gravatar_id":"","url":"https://api.github.com/users/LoyVanBeek","html_url":"https://github.com/LoyVanBeek","followers_url":"https://api.github.com/users/LoyVanBeek/followers","following_url":"https://api.github.com/users/LoyVanBeek/following{/other_user}","gists_url":"https://api.github.com/users/LoyVanBeek/gists{/gist_id}","starred_url":"https://api.github.com/users/LoyVanBeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoyVanBeek/subscriptions","organizations_url":"https://api.github.com/users/LoyVanBeek/orgs","repos_url":"https://api.github.com/users/LoyVanBeek/repos","events_url":"https://api.github.com/users/LoyVanBeek/events{/privacy}","received_events_url":"https://api.github.com/users/LoyVanBeek/received_events","type":"User","site_admin":false},"assignees":[{"login":"LoyVanBeek","id":709259,"avatar_url":"https://avatars2.githubusercontent.com/u/709259?v=4","gravatar_id":"","url":"https://api.github.com/users/LoyVanBeek","html_url":"https://github.com/LoyVanBeek","followers_url":"https://api.github.com/users/LoyVanBeek/followers","following_url":"https://api.github.com/users/LoyVanBeek/following{/other_user}","gists_url":"https://api.github.com/users/LoyVanBeek/gists{/gist_id}","starred_url":"https://api.github.com/users/LoyVanBeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoyVanBeek/subscriptions","organizations_url":"https://api.github.com/users/LoyVanBeek/orgs","repos_url":"https://api.github.com/users/LoyVanBeek/repos","events_url":"https://api.github.com/users/LoyVanBeek/events{/privacy}","received_events_url":"https://api.github.com/users/LoyVanBeek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-14T16:16:31Z","updated_at":"2018-03-27T19:45:03Z","closed_at":null,"author_association":"NONE","body":"When attempting to transform a kinect image to the map, the transform receives a timeout error and everything dies: \r\n``` \r\n[INFO] [1520965397.318223]: project_rois response: points: \r\n  - \r\n    header: \r\n      seq: 0\r\n      stamp: \r\n        secs: 1520965397\r\n        nsecs:  97251654\r\n      frame_id: /amigo/top_kinect/openni_rgb_optical_frame\r\n    point: \r\n      x: -0.409936810987\r\n      y: -0.0194662409335\r\n      z: 2.31227111816\r\nTransforming roi to map\r\n[ERROR] [1520965398.328980]: head.project_roi failed: . canTransform returned after 1.01006 timeout was 1.\r\n```\r\n\r\nFrom code:\r\n``` \r\nrospy.loginfo(\"best_detection = {}\".format(best_detection))\r\nif best_detection:\r\n   roi = best_detection.roi\r\n   try:\r\n      operator_pos_kdl = self._robot.perception.project_roi(roi=roi, frame_id=\"map\")\r\n   except Exception as e:\r\n       rospy.logerr(\"head.project_roi failed: %s\", e)\r\n       return 'Failed'\r\n```\r\nThe error always occurs in real life testing, and only sometimes in simulation. "},"comment":{"url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/comments/376650779","html_url":"https://github.com/tue-robotics/tue_robocup/issues/572#issuecomment-376650779","issue_url":"https://api.github.com/repos/tue-robotics/tue_robocup/issues/572","id":376650779,"user":{"login":"LoyVanBeek","id":709259,"avatar_url":"https://avatars2.githubusercontent.com/u/709259?v=4","gravatar_id":"","url":"https://api.github.com/users/LoyVanBeek","html_url":"https://github.com/LoyVanBeek","followers_url":"https://api.github.com/users/LoyVanBeek/followers","following_url":"https://api.github.com/users/LoyVanBeek/following{/other_user}","gists_url":"https://api.github.com/users/LoyVanBeek/gists{/gist_id}","starred_url":"https://api.github.com/users/LoyVanBeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoyVanBeek/subscriptions","organizations_url":"https://api.github.com/users/LoyVanBeek/orgs","repos_url":"https://api.github.com/users/LoyVanBeek/repos","events_url":"https://api.github.com/users/LoyVanBeek/events{/privacy}","received_events_url":"https://api.github.com/users/LoyVanBeek/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T19:45:03Z","updated_at":"2018-03-27T19:45:03Z","author_association":"OWNER","body":"Call stack: \r\n\r\n1. https://github.com/tue-robotics/tue_robocup/blob/master/robot_skills/src/robot_skills/util/kdl_conversions.py#L71\r\n2. https://github.com/ros/geometry/blob/indigo-devel/tf/src/tf/listener.py#L71 \r\n3. https://github.com/ros/geometry/blob/indigo-devel/tf/src/tf/listener.py#L74 \r\n4. https://github.com/ros/geometry2/blob/melodic-devel/tf2_ros/src/tf2_ros/buffer.py#L86\r\n5. https://github.com/ros/geometry2/blob/melodic-devel/tf2_ros/src/tf2_ros/buffer.py#L87\r\n6. ?\r\n7. https://github.com/ros/geometry2/blob/5722773de7d688bcaf8dfe68a0f2a55ff49dc9d3/tf2_ros/src/buffer.cpp#L112 is where the message \". canTransform returned after\"... comes from. "}}
{"actor":{"display_login":"LoyVanBeek"}}