{"action":"opened","number":519,"pull_request":{"url":"https://api.github.com/repos/mavlink/mavros/pulls/519","id":62555807,"html_url":"https://github.com/mavlink/mavros/pull/519","diff_url":"https://github.com/mavlink/mavros/pull/519.diff","patch_url":"https://github.com/mavlink/mavros/pull/519.patch","issue_url":"https://api.github.com/repos/mavlink/mavros/issues/519","number":519,"state":"open","locked":false,"title":"Fix track visualization","user":{"login":"chataign","id":15248626,"avatar_url":"https://avatars.githubusercontent.com/u/15248626?v=3","gravatar_id":"","url":"https://api.github.com/users/chataign","html_url":"https://github.com/chataign","followers_url":"https://api.github.com/users/chataign/followers","following_url":"https://api.github.com/users/chataign/following{/other_user}","gists_url":"https://api.github.com/users/chataign/gists{/gist_id}","starred_url":"https://api.github.com/users/chataign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chataign/subscriptions","organizations_url":"https://api.github.com/users/chataign/orgs","repos_url":"https://api.github.com/users/chataign/repos","events_url":"https://api.github.com/users/chataign/events{/privacy}","received_events_url":"https://api.github.com/users/chataign/received_events","type":"User","site_admin":false},"body":"track visualization in `copter_visualization` was constantly creating new markers (`marker.id` constantly incremented) which would eventually clog rviz and slow in down.\r\n\r\nintroduced `max_track_size` parameter to limit number of track markers, also used `CUBE_LIST` marker type instead of `CUBE` for efficiency as it allows rviz to batch rendering.\r\n\r\nhttp://wiki.ros.org/rviz/DisplayTypes/Marker#Cube_List_.28CUBE_LIST.3D6.29","created_at":"2016-03-11T15:10:54Z","updated_at":"2016-03-11T15:10:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mavlink/mavros/pulls/519/commits","review_comments_url":"https://api.github.com/repos/mavlink/mavros/pulls/519/comments","review_comment_url":"https://api.github.com/repos/mavlink/mavros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mavlink/mavros/issues/519/comments","statuses_url":"https://api.github.com/repos/mavlink/mavros/statuses/bb45d5fd2a1fe634ff70bb4459eca4594c8dd569","head":{"label":"chataign:fix-track-visualization","ref":"fix-track-visualization","sha":"bb45d5fd2a1fe634ff70bb4459eca4594c8dd569","user":{"login":"chataign","id":15248626,"avatar_url":"https://avatars.githubusercontent.com/u/15248626?v=3","gravatar_id":"","url":"https://api.github.com/users/chataign","html_url":"https://github.com/chataign","followers_url":"https://api.github.com/users/chataign/followers","following_url":"https://api.github.com/users/chataign/following{/other_user}","gists_url":"https://api.github.com/users/chataign/gists{/gist_id}","starred_url":"https://api.github.com/users/chataign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chataign/subscriptions","organizations_url":"https://api.github.com/users/chataign/orgs","repos_url":"https://api.github.com/users/chataign/repos","events_url":"https://api.github.com/users/chataign/events{/privacy}","received_events_url":"https://api.github.com/users/chataign/received_events","type":"User","site_admin":false},"repo":{"id":50993200,"name":"mavros","full_name":"chataign/mavros","owner":{"login":"chataign","id":15248626,"avatar_url":"https://avatars.githubusercontent.com/u/15248626?v=3","gravatar_id":"","url":"https://api.github.com/users/chataign","html_url":"https://github.com/chataign","followers_url":"https://api.github.com/users/chataign/followers","following_url":"https://api.github.com/users/chataign/following{/other_user}","gists_url":"https://api.github.com/users/chataign/gists{/gist_id}","starred_url":"https://api.github.com/users/chataign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chataign/subscriptions","organizations_url":"https://api.github.com/users/chataign/orgs","repos_url":"https://api.github.com/users/chataign/repos","events_url":"https://api.github.com/users/chataign/events{/privacy}","received_events_url":"https://api.github.com/users/chataign/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chataign/mavros","description":"MAVLink to ROS gateway with UDP proxy for Ground Control Station","fork":true,"url":"https://api.github.com/repos/chataign/mavros","forks_url":"https://api.github.com/repos/chataign/mavros/forks","keys_url":"https://api.github.com/repos/chataign/mavros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chataign/mavros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chataign/mavros/teams","hooks_url":"https://api.github.com/repos/chataign/mavros/hooks","issue_events_url":"https://api.github.com/repos/chataign/mavros/issues/events{/number}","events_url":"https://api.github.com/repos/chataign/mavros/events","assignees_url":"https://api.github.com/repos/chataign/mavros/assignees{/user}","branches_url":"https://api.github.com/repos/chataign/mavros/branches{/branch}","tags_url":"https://api.github.com/repos/chataign/mavros/tags","blobs_url":"https://api.github.com/repos/chataign/mavros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chataign/mavros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chataign/mavros/git/refs{/sha}","trees_url":"https://api.github.com/repos/chataign/mavros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chataign/mavros/statuses/{sha}","languages_url":"https://api.github.com/repos/chataign/mavros/languages","stargazers_url":"https://api.github.com/repos/chataign/mavros/stargazers","contributors_url":"https://api.github.com/repos/chataign/mavros/contributors","subscribers_url":"https://api.github.com/repos/chataign/mavros/subscribers","subscription_url":"https://api.github.com/repos/chataign/mavros/subscription","commits_url":"https://api.github.com/repos/chataign/mavros/commits{/sha}","git_commits_url":"https://api.github.com/repos/chataign/mavros/git/commits{/sha}","comments_url":"https://api.github.com/repos/chataign/mavros/comments{/number}","issue_comment_url":"https://api.github.com/repos/chataign/mavros/issues/comments{/number}","contents_url":"https://api.github.com/repos/chataign/mavros/contents/{+path}","compare_url":"https://api.github.com/repos/chataign/mavros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chataign/mavros/merges","archive_url":"https://api.github.com/repos/chataign/mavros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chataign/mavros/downloads","issues_url":"https://api.github.com/repos/chataign/mavros/issues{/number}","pulls_url":"https://api.github.com/repos/chataign/mavros/pulls{/number}","milestones_url":"https://api.github.com/repos/chataign/mavros/milestones{/number}","notifications_url":"https://api.github.com/repos/chataign/mavros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chataign/mavros/labels{/name}","releases_url":"https://api.github.com/repos/chataign/mavros/releases{/id}","deployments_url":"https://api.github.com/repos/chataign/mavros/deployments","created_at":"2016-02-03T10:45:27Z","updated_at":"2016-02-03T10:45:28Z","pushed_at":"2016-03-11T15:06:45Z","git_url":"git://github.com/chataign/mavros.git","ssh_url":"git@github.com:chataign/mavros.git","clone_url":"https://github.com/chataign/mavros.git","svn_url":"https://github.com/chataign/mavros","homepage":null,"size":1782,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"mavlink:master","ref":"master","sha":"b459b7e6f62417bb73a7355a84ef6d483a1170ef","user":{"login":"mavlink","id":961247,"avatar_url":"https://avatars.githubusercontent.com/u/961247?v=3","gravatar_id":"","url":"https://api.github.com/users/mavlink","html_url":"https://github.com/mavlink","followers_url":"https://api.github.com/users/mavlink/followers","following_url":"https://api.github.com/users/mavlink/following{/other_user}","gists_url":"https://api.github.com/users/mavlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavlink/subscriptions","organizations_url":"https://api.github.com/users/mavlink/orgs","repos_url":"https://api.github.com/users/mavlink/repos","events_url":"https://api.github.com/users/mavlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavlink/received_events","type":"Organization","site_admin":false},"repo":{"id":15189073,"name":"mavros","full_name":"mavlink/mavros","owner":{"login":"mavlink","id":961247,"avatar_url":"https://avatars.githubusercontent.com/u/961247?v=3","gravatar_id":"","url":"https://api.github.com/users/mavlink","html_url":"https://github.com/mavlink","followers_url":"https://api.github.com/users/mavlink/followers","following_url":"https://api.github.com/users/mavlink/following{/other_user}","gists_url":"https://api.github.com/users/mavlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavlink/subscriptions","organizations_url":"https://api.github.com/users/mavlink/orgs","repos_url":"https://api.github.com/users/mavlink/repos","events_url":"https://api.github.com/users/mavlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavlink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mavlink/mavros","description":"MAVLink to ROS gateway with UDP proxy for Ground Control Station","fork":false,"url":"https://api.github.com/repos/mavlink/mavros","forks_url":"https://api.github.com/repos/mavlink/mavros/forks","keys_url":"https://api.github.com/repos/mavlink/mavros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavlink/mavros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavlink/mavros/teams","hooks_url":"https://api.github.com/repos/mavlink/mavros/hooks","issue_events_url":"https://api.github.com/repos/mavlink/mavros/issues/events{/number}","events_url":"https://api.github.com/repos/mavlink/mavros/events","assignees_url":"https://api.github.com/repos/mavlink/mavros/assignees{/user}","branches_url":"https://api.github.com/repos/mavlink/mavros/branches{/branch}","tags_url":"https://api.github.com/repos/mavlink/mavros/tags","blobs_url":"https://api.github.com/repos/mavlink/mavros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavlink/mavros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavlink/mavros/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavlink/mavros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavlink/mavros/statuses/{sha}","languages_url":"https://api.github.com/repos/mavlink/mavros/languages","stargazers_url":"https://api.github.com/repos/mavlink/mavros/stargazers","contributors_url":"https://api.github.com/repos/mavlink/mavros/contributors","subscribers_url":"https://api.github.com/repos/mavlink/mavros/subscribers","subscription_url":"https://api.github.com/repos/mavlink/mavros/subscription","commits_url":"https://api.github.com/repos/mavlink/mavros/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavlink/mavros/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavlink/mavros/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavlink/mavros/issues/comments{/number}","contents_url":"https://api.github.com/repos/mavlink/mavros/contents/{+path}","compare_url":"https://api.github.com/repos/mavlink/mavros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavlink/mavros/merges","archive_url":"https://api.github.com/repos/mavlink/mavros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavlink/mavros/downloads","issues_url":"https://api.github.com/repos/mavlink/mavros/issues{/number}","pulls_url":"https://api.github.com/repos/mavlink/mavros/pulls{/number}","milestones_url":"https://api.github.com/repos/mavlink/mavros/milestones{/number}","notifications_url":"https://api.github.com/repos/mavlink/mavros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavlink/mavros/labels{/name}","releases_url":"https://api.github.com/repos/mavlink/mavros/releases{/id}","deployments_url":"https://api.github.com/repos/mavlink/mavros/deployments","created_at":"2013-12-14T16:58:11Z","updated_at":"2016-03-07T06:05:58Z","pushed_at":"2016-03-11T10:13:30Z","git_url":"git://github.com/mavlink/mavros.git","ssh_url":"git@github.com:mavlink/mavros.git","clone_url":"https://github.com/mavlink/mavros.git","svn_url":"https://github.com/mavlink/mavros","homepage":null,"size":1918,"stargazers_count":59,"watchers_count":59,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"open_issues_count":41,"forks":129,"open_issues":41,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/519"},"html":{"href":"https://github.com/mavlink/mavros/pull/519"},"issue":{"href":"https://api.github.com/repos/mavlink/mavros/issues/519"},"comments":{"href":"https://api.github.com/repos/mavlink/mavros/issues/519/comments"},"review_comments":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/519/comments"},"review_comment":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/519/commits"},"statuses":{"href":"https://api.github.com/repos/mavlink/mavros/statuses/bb45d5fd2a1fe634ff70bb4459eca4594c8dd569"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":30,"deletions":20,"changed_files":1}}