{"action":"created","comment":{"url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/comments/61863487","id":61863487,"diff_hunk":"@@ -33,6 +33,10 @@\n #include \"modules/computer_vision/viewvideo.h\"\n #include \"modules/computer_vision/cv.h\"\n \n+#include \"modules/computer_vision/video_thread.h\"\n+\n+#include \"boards/bebop.h\"","path":"sw/airborne/modules/computer_vision/viewvideo.c","position":6,"original_position":6,"commit_id":"0ce8dbe0ab881a9d3f1f1794d7c0f45ce7293d5b","original_commit_id":"0184315ba70ca0d6585014b934beab2058089efa","user":{"login":"gautierhattenberger","id":452802,"avatar_url":"https://avatars.githubusercontent.com/u/452802?v=3","gravatar_id":"","url":"https://api.github.com/users/gautierhattenberger","html_url":"https://github.com/gautierhattenberger","followers_url":"https://api.github.com/users/gautierhattenberger/followers","following_url":"https://api.github.com/users/gautierhattenberger/following{/other_user}","gists_url":"https://api.github.com/users/gautierhattenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/gautierhattenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautierhattenberger/subscriptions","organizations_url":"https://api.github.com/users/gautierhattenberger/orgs","repos_url":"https://api.github.com/users/gautierhattenberger/repos","events_url":"https://api.github.com/users/gautierhattenberger/events{/privacy}","received_events_url":"https://api.github.com/users/gautierhattenberger/received_events","type":"User","site_admin":false},"body":"you can use `#include BOARD_CONFIG` to include the board header file","created_at":"2016-05-03T10:42:02Z","updated_at":"2016-05-03T10:42:02Z","html_url":"https://github.com/paparazzi/paparazzi/pull/1648#discussion_r61863487","pull_request_url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648","_links":{"self":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/comments/61863487"},"html":{"href":"https://github.com/paparazzi/paparazzi/pull/1648#discussion_r61863487"},"pull_request":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648"}}},"pull_request":{"url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648","id":68680378,"html_url":"https://github.com/paparazzi/paparazzi/pull/1648","diff_url":"https://github.com/paparazzi/paparazzi/pull/1648.diff","patch_url":"https://github.com/paparazzi/paparazzi/pull/1648.patch","issue_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1648","number":1648,"state":"open","locked":false,"title":"Dual video thread solution","user":{"login":"rmeertens","id":5749627,"avatar_url":"https://avatars.githubusercontent.com/u/5749627?v=3","gravatar_id":"","url":"https://api.github.com/users/rmeertens","html_url":"https://github.com/rmeertens","followers_url":"https://api.github.com/users/rmeertens/followers","following_url":"https://api.github.com/users/rmeertens/following{/other_user}","gists_url":"https://api.github.com/users/rmeertens/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeertens/subscriptions","organizations_url":"https://api.github.com/users/rmeertens/orgs","repos_url":"https://api.github.com/users/rmeertens/repos","events_url":"https://api.github.com/users/rmeertens/events{/privacy}","received_events_url":"https://api.github.com/users/rmeertens/received_events","type":"User","site_admin":false},"body":"Hey everybody, \r\n\r\nLast week we had a discussion about the dual video thread (https://github.com/paparazzi/paparazzi/pull/1610). I now solved it using a linked list with listeners for the video. \r\nThis pull request allows you to use both the front camera and the bottom camera on the bebop, and to run optical flow on the bottom camera while running something else on the front camera. ","created_at":"2016-05-03T09:39:37Z","updated_at":"2016-05-03T10:42:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51eaaaa2a5ff0637c2d5ea71ac3575164aaeffa3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648/commits","review_comments_url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648/comments","review_comment_url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1648/comments","statuses_url":"https://api.github.com/repos/paparazzi/paparazzi/statuses/0ce8dbe0ab881a9d3f1f1794d7c0f45ce7293d5b","head":{"label":"rmeertens:listeners","ref":"listeners","sha":"0ce8dbe0ab881a9d3f1f1794d7c0f45ce7293d5b","user":{"login":"rmeertens","id":5749627,"avatar_url":"https://avatars.githubusercontent.com/u/5749627?v=3","gravatar_id":"","url":"https://api.github.com/users/rmeertens","html_url":"https://github.com/rmeertens","followers_url":"https://api.github.com/users/rmeertens/followers","following_url":"https://api.github.com/users/rmeertens/following{/other_user}","gists_url":"https://api.github.com/users/rmeertens/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeertens/subscriptions","organizations_url":"https://api.github.com/users/rmeertens/orgs","repos_url":"https://api.github.com/users/rmeertens/repos","events_url":"https://api.github.com/users/rmeertens/events{/privacy}","received_events_url":"https://api.github.com/users/rmeertens/received_events","type":"User","site_admin":false},"repo":{"id":33312508,"name":"paparazzi","full_name":"rmeertens/paparazzi","owner":{"login":"rmeertens","id":5749627,"avatar_url":"https://avatars.githubusercontent.com/u/5749627?v=3","gravatar_id":"","url":"https://api.github.com/users/rmeertens","html_url":"https://github.com/rmeertens","followers_url":"https://api.github.com/users/rmeertens/followers","following_url":"https://api.github.com/users/rmeertens/following{/other_user}","gists_url":"https://api.github.com/users/rmeertens/gists{/gist_id}","starred_url":"https://api.github.com/users/rmeertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmeertens/subscriptions","organizations_url":"https://api.github.com/users/rmeertens/orgs","repos_url":"https://api.github.com/users/rmeertens/repos","events_url":"https://api.github.com/users/rmeertens/events{/privacy}","received_events_url":"https://api.github.com/users/rmeertens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmeertens/paparazzi","description":"Paparazzi is a free and open-source hardware and software project for unmanned (air) vehicles. This is the main software repository.","fork":true,"url":"https://api.github.com/repos/rmeertens/paparazzi","forks_url":"https://api.github.com/repos/rmeertens/paparazzi/forks","keys_url":"https://api.github.com/repos/rmeertens/paparazzi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmeertens/paparazzi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmeertens/paparazzi/teams","hooks_url":"https://api.github.com/repos/rmeertens/paparazzi/hooks","issue_events_url":"https://api.github.com/repos/rmeertens/paparazzi/issues/events{/number}","events_url":"https://api.github.com/repos/rmeertens/paparazzi/events","assignees_url":"https://api.github.com/repos/rmeertens/paparazzi/assignees{/user}","branches_url":"https://api.github.com/repos/rmeertens/paparazzi/branches{/branch}","tags_url":"https://api.github.com/repos/rmeertens/paparazzi/tags","blobs_url":"https://api.github.com/repos/rmeertens/paparazzi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmeertens/paparazzi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmeertens/paparazzi/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmeertens/paparazzi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmeertens/paparazzi/statuses/{sha}","languages_url":"https://api.github.com/repos/rmeertens/paparazzi/languages","stargazers_url":"https://api.github.com/repos/rmeertens/paparazzi/stargazers","contributors_url":"https://api.github.com/repos/rmeertens/paparazzi/contributors","subscribers_url":"https://api.github.com/repos/rmeertens/paparazzi/subscribers","subscription_url":"https://api.github.com/repos/rmeertens/paparazzi/subscription","commits_url":"https://api.github.com/repos/rmeertens/paparazzi/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmeertens/paparazzi/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmeertens/paparazzi/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmeertens/paparazzi/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmeertens/paparazzi/contents/{+path}","compare_url":"https://api.github.com/repos/rmeertens/paparazzi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmeertens/paparazzi/merges","archive_url":"https://api.github.com/repos/rmeertens/paparazzi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmeertens/paparazzi/downloads","issues_url":"https://api.github.com/repos/rmeertens/paparazzi/issues{/number}","pulls_url":"https://api.github.com/repos/rmeertens/paparazzi/pulls{/number}","milestones_url":"https://api.github.com/repos/rmeertens/paparazzi/milestones{/number}","notifications_url":"https://api.github.com/repos/rmeertens/paparazzi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmeertens/paparazzi/labels{/name}","releases_url":"https://api.github.com/repos/rmeertens/paparazzi/releases{/id}","deployments_url":"https://api.github.com/repos/rmeertens/paparazzi/deployments","created_at":"2015-04-02T14:13:39Z","updated_at":"2015-04-02T14:43:46Z","pushed_at":"2016-05-03T10:17:10Z","git_url":"git://github.com/rmeertens/paparazzi.git","ssh_url":"git@github.com:rmeertens/paparazzi.git","clone_url":"https://github.com/rmeertens/paparazzi.git","svn_url":"https://github.com/rmeertens/paparazzi","homepage":"http://paparazziuav.org","size":79644,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"paparazzi:master","ref":"master","sha":"6b61e8737eeeb7a15bbe3fa9ef400a8837f3595f","user":{"login":"paparazzi","id":318080,"avatar_url":"https://avatars.githubusercontent.com/u/318080?v=3","gravatar_id":"","url":"https://api.github.com/users/paparazzi","html_url":"https://github.com/paparazzi","followers_url":"https://api.github.com/users/paparazzi/followers","following_url":"https://api.github.com/users/paparazzi/following{/other_user}","gists_url":"https://api.github.com/users/paparazzi/gists{/gist_id}","starred_url":"https://api.github.com/users/paparazzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paparazzi/subscriptions","organizations_url":"https://api.github.com/users/paparazzi/orgs","repos_url":"https://api.github.com/users/paparazzi/repos","events_url":"https://api.github.com/users/paparazzi/events{/privacy}","received_events_url":"https://api.github.com/users/paparazzi/received_events","type":"Organization","site_admin":false},"repo":{"id":1068018,"name":"paparazzi","full_name":"paparazzi/paparazzi","owner":{"login":"paparazzi","id":318080,"avatar_url":"https://avatars.githubusercontent.com/u/318080?v=3","gravatar_id":"","url":"https://api.github.com/users/paparazzi","html_url":"https://github.com/paparazzi","followers_url":"https://api.github.com/users/paparazzi/followers","following_url":"https://api.github.com/users/paparazzi/following{/other_user}","gists_url":"https://api.github.com/users/paparazzi/gists{/gist_id}","starred_url":"https://api.github.com/users/paparazzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paparazzi/subscriptions","organizations_url":"https://api.github.com/users/paparazzi/orgs","repos_url":"https://api.github.com/users/paparazzi/repos","events_url":"https://api.github.com/users/paparazzi/events{/privacy}","received_events_url":"https://api.github.com/users/paparazzi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paparazzi/paparazzi","description":"Paparazzi is a free and open-source hardware and software project for unmanned (air) vehicles. This is the main software repository.","fork":false,"url":"https://api.github.com/repos/paparazzi/paparazzi","forks_url":"https://api.github.com/repos/paparazzi/paparazzi/forks","keys_url":"https://api.github.com/repos/paparazzi/paparazzi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paparazzi/paparazzi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paparazzi/paparazzi/teams","hooks_url":"https://api.github.com/repos/paparazzi/paparazzi/hooks","issue_events_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/events{/number}","events_url":"https://api.github.com/repos/paparazzi/paparazzi/events","assignees_url":"https://api.github.com/repos/paparazzi/paparazzi/assignees{/user}","branches_url":"https://api.github.com/repos/paparazzi/paparazzi/branches{/branch}","tags_url":"https://api.github.com/repos/paparazzi/paparazzi/tags","blobs_url":"https://api.github.com/repos/paparazzi/paparazzi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paparazzi/paparazzi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paparazzi/paparazzi/git/refs{/sha}","trees_url":"https://api.github.com/repos/paparazzi/paparazzi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paparazzi/paparazzi/statuses/{sha}","languages_url":"https://api.github.com/repos/paparazzi/paparazzi/languages","stargazers_url":"https://api.github.com/repos/paparazzi/paparazzi/stargazers","contributors_url":"https://api.github.com/repos/paparazzi/paparazzi/contributors","subscribers_url":"https://api.github.com/repos/paparazzi/paparazzi/subscribers","subscription_url":"https://api.github.com/repos/paparazzi/paparazzi/subscription","commits_url":"https://api.github.com/repos/paparazzi/paparazzi/commits{/sha}","git_commits_url":"https://api.github.com/repos/paparazzi/paparazzi/git/commits{/sha}","comments_url":"https://api.github.com/repos/paparazzi/paparazzi/comments{/number}","issue_comment_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/comments{/number}","contents_url":"https://api.github.com/repos/paparazzi/paparazzi/contents/{+path}","compare_url":"https://api.github.com/repos/paparazzi/paparazzi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paparazzi/paparazzi/merges","archive_url":"https://api.github.com/repos/paparazzi/paparazzi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paparazzi/paparazzi/downloads","issues_url":"https://api.github.com/repos/paparazzi/paparazzi/issues{/number}","pulls_url":"https://api.github.com/repos/paparazzi/paparazzi/pulls{/number}","milestones_url":"https://api.github.com/repos/paparazzi/paparazzi/milestones{/number}","notifications_url":"https://api.github.com/repos/paparazzi/paparazzi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paparazzi/paparazzi/labels{/name}","releases_url":"https://api.github.com/repos/paparazzi/paparazzi/releases{/id}","deployments_url":"https://api.github.com/repos/paparazzi/paparazzi/deployments","created_at":"2010-11-10T11:14:08Z","updated_at":"2016-05-01T02:00:27Z","pushed_at":"2016-05-03T10:17:11Z","git_url":"git://github.com/paparazzi/paparazzi.git","ssh_url":"git@github.com:paparazzi/paparazzi.git","clone_url":"https://github.com/paparazzi/paparazzi.git","svn_url":"https://github.com/paparazzi/paparazzi","homepage":"http://paparazziuav.org","size":98912,"stargazers_count":561,"watchers_count":561,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":595,"mirror_url":null,"open_issues_count":119,"forks":595,"open_issues":119,"watchers":561,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648"},"html":{"href":"https://github.com/paparazzi/paparazzi/pull/1648"},"issue":{"href":"https://api.github.com/repos/paparazzi/paparazzi/issues/1648"},"comments":{"href":"https://api.github.com/repos/paparazzi/paparazzi/issues/1648/comments"},"review_comments":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648/comments"},"review_comment":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1648/commits"},"statuses":{"href":"https://api.github.com/repos/paparazzi/paparazzi/statuses/0ce8dbe0ab881a9d3f1f1794d7c0f45ce7293d5b"}}}}