{"action":"opened","number":3319,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/3319","id":52631325,"html_url":"https://github.com/PX4/Firmware/pull/3319","diff_url":"https://github.com/PX4/Firmware/pull/3319.diff","patch_url":"https://github.com/PX4/Firmware/pull/3319.patch","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/3319","number":3319,"state":"open","locked":false,"title":"Avoid violation of acos' domain in map_projection","user":{"login":"PeterDuerr","id":16146155,"avatar_url":"https://avatars.githubusercontent.com/u/16146155?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDuerr","html_url":"https://github.com/PeterDuerr","followers_url":"https://api.github.com/users/PeterDuerr/followers","following_url":"https://api.github.com/users/PeterDuerr/following{/other_user}","gists_url":"https://api.github.com/users/PeterDuerr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDuerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDuerr/subscriptions","organizations_url":"https://api.github.com/users/PeterDuerr/orgs","repos_url":"https://api.github.com/users/PeterDuerr/repos","events_url":"https://api.github.com/users/PeterDuerr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDuerr/received_events","type":"User","site_admin":false},"body":"* There are pathological cases (e.g., setpoint very close to reference\r\n  for certain reference latitudes), where numerical errors lead to a sum\r\n  larger than 1.0 passed to acos, resulting in NaN values.\r\n* This code is not tested\r\n\r\nThis should fix issue #2813","created_at":"2015-12-04T05:25:03Z","updated_at":"2015-12-04T05:25:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PX4/Firmware/pulls/3319/commits","review_comments_url":"https://api.github.com/repos/PX4/Firmware/pulls/3319/comments","review_comment_url":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/3319/comments","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/c070d326e015bb37fad364e4d05d5f768b4a5b6e","head":{"label":"PeterDuerr:fix_map_projection_project","ref":"fix_map_projection_project","sha":"c070d326e015bb37fad364e4d05d5f768b4a5b6e","user":{"login":"PeterDuerr","id":16146155,"avatar_url":"https://avatars.githubusercontent.com/u/16146155?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDuerr","html_url":"https://github.com/PeterDuerr","followers_url":"https://api.github.com/users/PeterDuerr/followers","following_url":"https://api.github.com/users/PeterDuerr/following{/other_user}","gists_url":"https://api.github.com/users/PeterDuerr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDuerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDuerr/subscriptions","organizations_url":"https://api.github.com/users/PeterDuerr/orgs","repos_url":"https://api.github.com/users/PeterDuerr/repos","events_url":"https://api.github.com/users/PeterDuerr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDuerr/received_events","type":"User","site_admin":false},"repo":{"id":47381244,"name":"Firmware","full_name":"PeterDuerr/Firmware","owner":{"login":"PeterDuerr","id":16146155,"avatar_url":"https://avatars.githubusercontent.com/u/16146155?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDuerr","html_url":"https://github.com/PeterDuerr","followers_url":"https://api.github.com/users/PeterDuerr/followers","following_url":"https://api.github.com/users/PeterDuerr/following{/other_user}","gists_url":"https://api.github.com/users/PeterDuerr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDuerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDuerr/subscriptions","organizations_url":"https://api.github.com/users/PeterDuerr/orgs","repos_url":"https://api.github.com/users/PeterDuerr/repos","events_url":"https://api.github.com/users/PeterDuerr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDuerr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterDuerr/Firmware","description":"PX4 Firmware for Pixhawk Hardware","fork":true,"url":"https://api.github.com/repos/PeterDuerr/Firmware","forks_url":"https://api.github.com/repos/PeterDuerr/Firmware/forks","keys_url":"https://api.github.com/repos/PeterDuerr/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterDuerr/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterDuerr/Firmware/teams","hooks_url":"https://api.github.com/repos/PeterDuerr/Firmware/hooks","issue_events_url":"https://api.github.com/repos/PeterDuerr/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/PeterDuerr/Firmware/events","assignees_url":"https://api.github.com/repos/PeterDuerr/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/PeterDuerr/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/PeterDuerr/Firmware/tags","blobs_url":"https://api.github.com/repos/PeterDuerr/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterDuerr/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterDuerr/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterDuerr/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterDuerr/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterDuerr/Firmware/languages","stargazers_url":"https://api.github.com/repos/PeterDuerr/Firmware/stargazers","contributors_url":"https://api.github.com/repos/PeterDuerr/Firmware/contributors","subscribers_url":"https://api.github.com/repos/PeterDuerr/Firmware/subscribers","subscription_url":"https://api.github.com/repos/PeterDuerr/Firmware/subscription","commits_url":"https://api.github.com/repos/PeterDuerr/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterDuerr/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterDuerr/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterDuerr/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterDuerr/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/PeterDuerr/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterDuerr/Firmware/merges","archive_url":"https://api.github.com/repos/PeterDuerr/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterDuerr/Firmware/downloads","issues_url":"https://api.github.com/repos/PeterDuerr/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/PeterDuerr/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterDuerr/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterDuerr/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterDuerr/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/PeterDuerr/Firmware/releases{/id}","created_at":"2015-12-04T04:33:58Z","updated_at":"2015-12-04T04:34:13Z","pushed_at":"2015-12-04T05:22:33Z","git_url":"git://github.com/PeterDuerr/Firmware.git","ssh_url":"git@github.com:PeterDuerr/Firmware.git","clone_url":"https://github.com/PeterDuerr/Firmware.git","svn_url":"https://github.com/PeterDuerr/Firmware","homepage":"http://px4.io","size":83337,"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":"PX4:master","ref":"master","sha":"2a1b1fe11db3406ff9e6027f858c7a994adee15d","user":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"repo":{"id":5298790,"name":"Firmware","full_name":"PX4/Firmware","owner":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PX4/Firmware","description":"PX4 Firmware for Pixhawk Hardware","fork":false,"url":"https://api.github.com/repos/PX4/Firmware","forks_url":"https://api.github.com/repos/PX4/Firmware/forks","keys_url":"https://api.github.com/repos/PX4/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PX4/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PX4/Firmware/teams","hooks_url":"https://api.github.com/repos/PX4/Firmware/hooks","issue_events_url":"https://api.github.com/repos/PX4/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/PX4/Firmware/events","assignees_url":"https://api.github.com/repos/PX4/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/PX4/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/PX4/Firmware/tags","blobs_url":"https://api.github.com/repos/PX4/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PX4/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PX4/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/PX4/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/PX4/Firmware/languages","stargazers_url":"https://api.github.com/repos/PX4/Firmware/stargazers","contributors_url":"https://api.github.com/repos/PX4/Firmware/contributors","subscribers_url":"https://api.github.com/repos/PX4/Firmware/subscribers","subscription_url":"https://api.github.com/repos/PX4/Firmware/subscription","commits_url":"https://api.github.com/repos/PX4/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/PX4/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/PX4/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/PX4/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/PX4/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/PX4/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PX4/Firmware/merges","archive_url":"https://api.github.com/repos/PX4/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PX4/Firmware/downloads","issues_url":"https://api.github.com/repos/PX4/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/PX4/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/PX4/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/PX4/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PX4/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/PX4/Firmware/releases{/id}","created_at":"2012-08-04T21:19:36Z","updated_at":"2015-12-03T14:21:30Z","pushed_at":"2015-12-04T05:09:57Z","git_url":"git://github.com/PX4/Firmware.git","ssh_url":"git@github.com:PX4/Firmware.git","clone_url":"https://github.com/PX4/Firmware.git","svn_url":"https://github.com/PX4/Firmware","homepage":"http://px4.io","size":101870,"stargazers_count":446,"watchers_count":446,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1675,"mirror_url":null,"open_issues_count":279,"forks":1675,"open_issues":279,"watchers":446,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3319"},"html":{"href":"https://github.com/PX4/Firmware/pull/3319"},"issue":{"href":"https://api.github.com/repos/PX4/Firmware/issues/3319"},"comments":{"href":"https://api.github.com/repos/PX4/Firmware/issues/3319/comments"},"review_comments":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3319/comments"},"review_comment":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3319/commits"},"statuses":{"href":"https://api.github.com/repos/PX4/Firmware/statuses/c070d326e015bb37fad364e4d05d5f768b4a5b6e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}