GitHub PullRequestReviewCommentEvent at 2014-10-02 06:57:29
Repository: openni2_camera
Actor: jonbinney
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/comments/18324588","id":18324588,"diff_hunk":"@@ -57,6 +57,8 @@ add_executable(openni2_camera_node\n target_link_libraries(openni2_camera_node openni2_driver_lib ${catkin_LIBRARIES} ${Boost_LIBRARIES} )\n add_dependencies(openni2_camera_node ${PROJECT_NAME}_gencfg)\n \n+add_executable(usb_reset src/usb_reset.c)\n+\n install(TARGETS openni2_wrapper openni2_camera_nodelet openni2_camera_node openni2_driver_lib","path":"CMakeLists.txt","position":6,"original_position":6,"commit_id":"a0ab6bb8b3fde01a22bd02860bae973b39fcae84","original_commit_id":"a0ab6bb8b3fde01a22bd02860bae973b39fcae84","user":{"login":"jonbinney","id":1538056,"avatar_url":"https://avatars.githubusercontent.com/u/1538056?v=2","gravatar_id":"","url":"https://api.github.com/users/jonbinney","html_url":"https://github.com/jonbinney","followers_url":"https://api.github.com/users/jonbinney/followers","following_url":"https://api.github.com/users/jonbinney/following{/other_user}","gists_url":"https://api.github.com/users/jonbinney/gists{/gist_id}","starred_url":"https://api.github.com/users/jonbinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonbinney/subscriptions","organizations_url":"https://api.github.com/users/jonbinney/orgs","repos_url":"https://api.github.com/users/jonbinney/repos","events_url":"https://api.github.com/users/jonbinney/events{/privacy}","received_events_url":"https://api.github.com/users/jonbinney/received_events","type":"User","site_admin":false},"body":"Probably want to install usb_reset as well?","created_at":"2014-10-02T06:57:29Z","updated_at":"2014-10-02T06:57:29Z","html_url":"https://github.com/ros-drivers/openni2_camera/pull/21#discussion_r18324588","pull_request_url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/comments/18324588"},"html":{"href":"https://github.com/ros-drivers/openni2_camera/pull/21#discussion_r18324588"},"pull_request":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21","id":22122893,"html_url":"https://github.com/ros-drivers/openni2_camera/pull/21","diff_url":"https://github.com/ros-drivers/openni2_camera/pull/21.diff","patch_url":"https://github.com/ros-drivers/openni2_camera/pull/21.patch","issue_url":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/21","number":21,"state":"open","locked":false,"title":"add usb_reset","user":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=2","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":"Hi\r\n\r\nSometimes, we have on openni2 driver, which the program is not able to open or connect to device and we have to physically re-connect the USB cable to reset usb status, This program (usb_reset) is do similar effect with software.\r\n\r\nif you know the usb device path using `lsusb` command, then you can try\r\n```\r\nrosrun openni2_camera usb_reset /dev/bus/usb/002/017\r\n```\r\n\r\nCc: @garaemon","created_at":"2014-10-02T06:46:07Z","updated_at":"2014-10-02T06:57:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"390dbf8c0894a14476d440486888bd3ba469359e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/21/comments","statuses_url":"https://api.github.com/repos/ros-drivers/openni2_camera/statuses/a0ab6bb8b3fde01a22bd02860bae973b39fcae84","head":{"label":"k-okada:add_usb_reset","ref":"add_usb_reset","sha":"a0ab6bb8b3fde01a22bd02860bae973b39fcae84","user":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=2","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},"repo":{"id":24709047,"name":"openni2_camera","full_name":"k-okada/openni2_camera","owner":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=2","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},"private":false,"html_url":"https://github.com/k-okada/openni2_camera","description":"ROS wrapper for openni 2.0","fork":true,"url":"https://api.github.com/repos/k-okada/openni2_camera","forks_url":"https://api.github.com/repos/k-okada/openni2_camera/forks","keys_url":"https://api.github.com/repos/k-okada/openni2_camera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k-okada/openni2_camera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k-okada/openni2_camera/teams","hooks_url":"https://api.github.com/repos/k-okada/openni2_camera/hooks","issue_events_url":"https://api.github.com/repos/k-okada/openni2_camera/issues/events{/number}","events_url":"https://api.github.com/repos/k-okada/openni2_camera/events","assignees_url":"https://api.github.com/repos/k-okada/openni2_camera/assignees{/user}","branches_url":"https://api.github.com/repos/k-okada/openni2_camera/branches{/branch}","tags_url":"https://api.github.com/repos/k-okada/openni2_camera/tags","blobs_url":"https://api.github.com/repos/k-okada/openni2_camera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k-okada/openni2_camera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k-okada/openni2_camera/git/refs{/sha}","trees_url":"https://api.github.com/repos/k-okada/openni2_camera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k-okada/openni2_camera/statuses/{sha}","languages_url":"https://api.github.com/repos/k-okada/openni2_camera/languages","stargazers_url":"https://api.github.com/repos/k-okada/openni2_camera/stargazers","contributors_url":"https://api.github.com/repos/k-okada/openni2_camera/contributors","subscribers_url":"https://api.github.com/repos/k-okada/openni2_camera/subscribers","subscription_url":"https://api.github.com/repos/k-okada/openni2_camera/subscription","commits_url":"https://api.github.com/repos/k-okada/openni2_camera/commits{/sha}","git_commits_url":"https://api.github.com/repos/k-okada/openni2_camera/git/commits{/sha}","comments_url":"https://api.github.com/repos/k-okada/openni2_camera/comments{/number}","issue_comment_url":"https://api.github.com/repos/k-okada/openni2_camera/issues/comments/{number}","contents_url":"https://api.github.com/repos/k-okada/openni2_camera/contents/{+path}","compare_url":"https://api.github.com/repos/k-okada/openni2_camera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k-okada/openni2_camera/merges","archive_url":"https://api.github.com/repos/k-okada/openni2_camera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k-okada/openni2_camera/downloads","issues_url":"https://api.github.com/repos/k-okada/openni2_camera/issues{/number}","pulls_url":"https://api.github.com/repos/k-okada/openni2_camera/pulls{/number}","milestones_url":"https://api.github.com/repos/k-okada/openni2_camera/milestones{/number}","notifications_url":"https://api.github.com/repos/k-okada/openni2_camera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k-okada/openni2_camera/labels{/name}","releases_url":"https://api.github.com/repos/k-okada/openni2_camera/releases{/id}","created_at":"2014-10-02T06:42:33Z","updated_at":"2014-09-22T22:10:01Z","pushed_at":"2014-10-02T06:42:58Z","git_url":"git://github.com/k-okada/openni2_camera.git","ssh_url":"git@github.com:k-okada/openni2_camera.git","clone_url":"https://github.com/k-okada/openni2_camera.git","svn_url":"https://github.com/k-okada/openni2_camera","homepage":null,"size":452,"stargazers_count":0,"watchers_count":0,"language":null,"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":"indigo-devel"}},"base":{"label":"ros-drivers:hydro-devel","ref":"hydro-devel","sha":"0643fe5131153032624cfa3020418ef0ff8717b9","user":{"login":"ros-drivers","id":2349782,"avatar_url":"https://avatars.githubusercontent.com/u/2349782?v=2","gravatar_id":"","url":"https://api.github.com/users/ros-drivers","html_url":"https://github.com/ros-drivers","followers_url":"https://api.github.com/users/ros-drivers/followers","following_url":"https://api.github.com/users/ros-drivers/following{/other_user}","gists_url":"https://api.github.com/users/ros-drivers/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-drivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-drivers/subscriptions","organizations_url":"https://api.github.com/users/ros-drivers/orgs","repos_url":"https://api.github.com/users/ros-drivers/repos","events_url":"https://api.github.com/users/ros-drivers/events{/privacy}","received_events_url":"https://api.github.com/users/ros-drivers/received_events","type":"Organization","site_admin":false},"repo":{"id":9636556,"name":"openni2_camera","full_name":"ros-drivers/openni2_camera","owner":{"login":"ros-drivers","id":2349782,"avatar_url":"https://avatars.githubusercontent.com/u/2349782?v=2","gravatar_id":"","url":"https://api.github.com/users/ros-drivers","html_url":"https://github.com/ros-drivers","followers_url":"https://api.github.com/users/ros-drivers/followers","following_url":"https://api.github.com/users/ros-drivers/following{/other_user}","gists_url":"https://api.github.com/users/ros-drivers/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-drivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-drivers/subscriptions","organizations_url":"https://api.github.com/users/ros-drivers/orgs","repos_url":"https://api.github.com/users/ros-drivers/repos","events_url":"https://api.github.com/users/ros-drivers/events{/privacy}","received_events_url":"https://api.github.com/users/ros-drivers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros-drivers/openni2_camera","description":"ROS wrapper for openni 2.0","fork":false,"url":"https://api.github.com/repos/ros-drivers/openni2_camera","forks_url":"https://api.github.com/repos/ros-drivers/openni2_camera/forks","keys_url":"https://api.github.com/repos/ros-drivers/openni2_camera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros-drivers/openni2_camera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros-drivers/openni2_camera/teams","hooks_url":"https://api.github.com/repos/ros-drivers/openni2_camera/hooks","issue_events_url":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/events{/number}","events_url":"https://api.github.com/repos/ros-drivers/openni2_camera/events","assignees_url":"https://api.github.com/repos/ros-drivers/openni2_camera/assignees{/user}","branches_url":"https://api.github.com/repos/ros-drivers/openni2_camera/branches{/branch}","tags_url":"https://api.github.com/repos/ros-drivers/openni2_camera/tags","blobs_url":"https://api.github.com/repos/ros-drivers/openni2_camera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros-drivers/openni2_camera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros-drivers/openni2_camera/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros-drivers/openni2_camera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros-drivers/openni2_camera/statuses/{sha}","languages_url":"https://api.github.com/repos/ros-drivers/openni2_camera/languages","stargazers_url":"https://api.github.com/repos/ros-drivers/openni2_camera/stargazers","contributors_url":"https://api.github.com/repos/ros-drivers/openni2_camera/contributors","subscribers_url":"https://api.github.com/repos/ros-drivers/openni2_camera/subscribers","subscription_url":"https://api.github.com/repos/ros-drivers/openni2_camera/subscription","commits_url":"https://api.github.com/repos/ros-drivers/openni2_camera/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros-drivers/openni2_camera/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros-drivers/openni2_camera/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/comments/{number}","contents_url":"https://api.github.com/repos/ros-drivers/openni2_camera/contents/{+path}","compare_url":"https://api.github.com/repos/ros-drivers/openni2_camera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros-drivers/openni2_camera/merges","archive_url":"https://api.github.com/repos/ros-drivers/openni2_camera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros-drivers/openni2_camera/downloads","issues_url":"https://api.github.com/repos/ros-drivers/openni2_camera/issues{/number}","pulls_url":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls{/number}","milestones_url":"https://api.github.com/repos/ros-drivers/openni2_camera/milestones{/number}","notifications_url":"https://api.github.com/repos/ros-drivers/openni2_camera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros-drivers/openni2_camera/labels{/name}","releases_url":"https://api.github.com/repos/ros-drivers/openni2_camera/releases{/id}","created_at":"2013-04-24T00:54:20Z","updated_at":"2014-09-22T22:10:01Z","pushed_at":"2014-08-23T00:19:57Z","git_url":"git://github.com/ros-drivers/openni2_camera.git","ssh_url":"git@github.com:ros-drivers/openni2_camera.git","clone_url":"https://github.com/ros-drivers/openni2_camera.git","svn_url":"https://github.com/ros-drivers/openni2_camera","homepage":null,"size":452,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":4,"default_branch":"indigo-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21"},"html":{"href":"https://github.com/ros-drivers/openni2_camera/pull/21"},"issue":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/21"},"comments":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ros-drivers/openni2_camera/statuses/a0ab6bb8b3fde01a22bd02860bae973b39fcae84"}}}}