{"action":"created","comment":{"url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/comments/60005511","id":60005511,"diff_hunk":"@@ -125,18 +125,25 @@\n    (setq visualization-topic vmt)\n    (ros::advertise visualization-topic visualization_msgs::MarkerArray 100)\n    ;;\n-   (when (ros::get-param \"use_sim_time\" nil)\n-     (ros::subscribe \"/clock\" rosgraph_msgs::Clock #'(lambda (msg)))\n-     (ros::ros-warn \"/use_sim_time is TRUE, check if /clock is pusblished or not\")\n-     (let ((cntr 0))\n-       (while (and (= (ros::get-num-publishers \"/clock\") 0)\n-                   (<= cntr 10))\n-         (unix::usleep (* 100 1000)) ;; 100ms\n-         (incf cntr)))\n-     (when (= (ros::get-num-publishers \"/clock\") 0)\n-       (ros::ros-error \"/use_sim_time is TRUE and /clock is NOT PUBLISHED\")\n-       (exit 1))\n-     (ros::unsubscribe \"/clock\"))\n+   (let ((start-time (now))","path":"pr2eus/robot-interface.l","position":16,"original_position":16,"commit_id":"7cf03b84a4a2d530d4f60dc7edd0a20843287e29","original_commit_id":"7cf03b84a4a2d530d4f60dc7edd0a20843287e29","user":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=3","gravatar_id":"","url":"https://api.github.com/users/k-okada","html_url":"https://github.com/k-okada","followers_url":"https://api.github.com/users/k-okada/followers","following_url":"https://api.github.com/users/k-okada/following{/other_user}","gists_url":"https://api.github.com/users/k-okada/gists{/gist_id}","starred_url":"https://api.github.com/users/k-okada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-okada/subscriptions","organizations_url":"https://api.github.com/users/k-okada/orgs","repos_url":"https://api.github.com/users/k-okada/repos","events_url":"https://api.github.com/users/k-okada/events{/privacy}","received_events_url":"https://api.github.com/users/k-okada/received_events","type":"User","site_admin":false},"body":"where do we define  'now ' ?","created_at":"2016-04-18T04:42:46Z","updated_at":"2016-04-18T04:42:46Z","html_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218#discussion_r60005511","pull_request_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218","_links":{"self":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/comments/60005511"},"html":{"href":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218#discussion_r60005511"},"pull_request":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218","id":66789229,"html_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218","diff_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218.diff","patch_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218.patch","issue_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/218","number":218,"state":"open","locked":false,"title":"[pr2eus/robot-interface.l] wait /clock publish for a while when /use_sim_time is true","user":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"body":"exiting process checking `/clock` is published only once is too severe for not high spec machine. ","created_at":"2016-04-18T01:33:00Z","updated_at":"2016-04-18T04:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00927ff2899e13ef49aa268a12f9004ca5696617","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218/commits","review_comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218/comments","review_comment_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/218/comments","statuses_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/statuses/7cf03b84a4a2d530d4f60dc7edd0a20843287e29","head":{"label":"furushchev:wait-clock","ref":"wait-clock","sha":"7cf03b84a4a2d530d4f60dc7edd0a20843287e29","user":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"repo":{"id":29864730,"name":"jsk_pr2eus","full_name":"furushchev/jsk_pr2eus","owner":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/furushchev/jsk_pr2eus","description":"PR2 euslisp packages","fork":true,"url":"https://api.github.com/repos/furushchev/jsk_pr2eus","forks_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/forks","keys_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/teams","hooks_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/hooks","issue_events_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/issues/events{/number}","events_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/events","assignees_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/assignees{/user}","branches_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/branches{/branch}","tags_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/tags","blobs_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/git/refs{/sha}","trees_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/statuses/{sha}","languages_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/languages","stargazers_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/stargazers","contributors_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/contributors","subscribers_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/subscribers","subscription_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/subscription","commits_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/commits{/sha}","git_commits_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/git/commits{/sha}","comments_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/comments{/number}","issue_comment_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/issues/comments{/number}","contents_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/contents/{+path}","compare_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/merges","archive_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/downloads","issues_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/issues{/number}","pulls_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/pulls{/number}","milestones_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/milestones{/number}","notifications_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/labels{/name}","releases_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/releases{/id}","deployments_url":"https://api.github.com/repos/furushchev/jsk_pr2eus/deployments","created_at":"2015-01-26T14:35:16Z","updated_at":"2015-01-26T14:35:17Z","pushed_at":"2016-04-18T01:31:18Z","git_url":"git://github.com/furushchev/jsk_pr2eus.git","ssh_url":"git@github.com:furushchev/jsk_pr2eus.git","clone_url":"https://github.com/furushchev/jsk_pr2eus.git","svn_url":"https://github.com/furushchev/jsk_pr2eus","homepage":"https://github.com/jsk-ros-pkg/jsk_pr2eus","size":32316,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jsk-ros-pkg:master","ref":"master","sha":"f7f013b1a09cae4588687be47a9359a7fd5e20b1","user":{"login":"jsk-ros-pkg","id":6836654,"avatar_url":"https://avatars.githubusercontent.com/u/6836654?v=3","gravatar_id":"","url":"https://api.github.com/users/jsk-ros-pkg","html_url":"https://github.com/jsk-ros-pkg","followers_url":"https://api.github.com/users/jsk-ros-pkg/followers","following_url":"https://api.github.com/users/jsk-ros-pkg/following{/other_user}","gists_url":"https://api.github.com/users/jsk-ros-pkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsk-ros-pkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsk-ros-pkg/subscriptions","organizations_url":"https://api.github.com/users/jsk-ros-pkg/orgs","repos_url":"https://api.github.com/users/jsk-ros-pkg/repos","events_url":"https://api.github.com/users/jsk-ros-pkg/events{/privacy}","received_events_url":"https://api.github.com/users/jsk-ros-pkg/received_events","type":"Organization","site_admin":false},"repo":{"id":17374622,"name":"jsk_pr2eus","full_name":"jsk-ros-pkg/jsk_pr2eus","owner":{"login":"jsk-ros-pkg","id":6836654,"avatar_url":"https://avatars.githubusercontent.com/u/6836654?v=3","gravatar_id":"","url":"https://api.github.com/users/jsk-ros-pkg","html_url":"https://github.com/jsk-ros-pkg","followers_url":"https://api.github.com/users/jsk-ros-pkg/followers","following_url":"https://api.github.com/users/jsk-ros-pkg/following{/other_user}","gists_url":"https://api.github.com/users/jsk-ros-pkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsk-ros-pkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsk-ros-pkg/subscriptions","organizations_url":"https://api.github.com/users/jsk-ros-pkg/orgs","repos_url":"https://api.github.com/users/jsk-ros-pkg/repos","events_url":"https://api.github.com/users/jsk-ros-pkg/events{/privacy}","received_events_url":"https://api.github.com/users/jsk-ros-pkg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus","description":"PR2 euslisp packages","fork":false,"url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus","forks_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/forks","keys_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/teams","hooks_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/hooks","issue_events_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/events{/number}","events_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/events","assignees_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/assignees{/user}","branches_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/branches{/branch}","tags_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/tags","blobs_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/statuses/{sha}","languages_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/languages","stargazers_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/stargazers","contributors_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/contributors","subscribers_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/subscribers","subscription_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/subscription","commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/contents/{+path}","compare_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/merges","archive_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/downloads","issues_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues{/number}","pulls_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls{/number}","milestones_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/milestones{/number}","notifications_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/labels{/name}","releases_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/releases{/id}","deployments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/deployments","created_at":"2014-03-03T17:59:32Z","updated_at":"2016-01-29T05:17:46Z","pushed_at":"2016-04-18T01:33:02Z","git_url":"git://github.com/jsk-ros-pkg/jsk_pr2eus.git","ssh_url":"git@github.com:jsk-ros-pkg/jsk_pr2eus.git","clone_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus.git","svn_url":"https://github.com/jsk-ros-pkg/jsk_pr2eus","homepage":"https://github.com/jsk-ros-pkg/jsk_pr2eus","size":34563,"stargazers_count":0,"watchers_count":0,"language":"Common Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":25,"forks":17,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218"},"html":{"href":"https://github.com/jsk-ros-pkg/jsk_pr2eus/pull/218"},"issue":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/218"},"comments":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_pr2eus/statuses/7cf03b84a4a2d530d4f60dc7edd0a20843287e29"}}}}