{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/lkaino/Triflight/pulls/27","id":68629571,"html_url":"https://github.com/lkaino/Triflight/pull/27","diff_url":"https://github.com/lkaino/Triflight/pull/27.diff","patch_url":"https://github.com/lkaino/Triflight/pull/27.patch","issue_url":"https://api.github.com/repos/lkaino/Triflight/issues/27","number":27,"state":"open","locked":false,"title":"Added a test case","user":{"login":"Bengt-M","id":16436707,"avatar_url":"https://avatars.githubusercontent.com/u/16436707?v=3","gravatar_id":"","url":"https://api.github.com/users/Bengt-M","html_url":"https://github.com/Bengt-M","followers_url":"https://api.github.com/users/Bengt-M/followers","following_url":"https://api.github.com/users/Bengt-M/following{/other_user}","gists_url":"https://api.github.com/users/Bengt-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Bengt-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bengt-M/subscriptions","organizations_url":"https://api.github.com/users/Bengt-M/orgs","repos_url":"https://api.github.com/users/Bengt-M/repos","events_url":"https://api.github.com/users/Bengt-M/events{/privacy}","received_events_url":"https://api.github.com/users/Bengt-M/received_events","type":"User","site_admin":false},"body":"Adding on to @pqueiros excellent start.\r\nAnd did some cleaning.\r\nHad to pull some definitions to the header file for visibility.\r\n(More cleaning might be good.)\r\n\r\nLook at the test result. I think it demonstrates that the theory in #25 (K = 1/tan(A)) is right. Current tuning code can be simplified.","created_at":"2016-05-02T22:06:04Z","updated_at":"2016-05-02T22:06:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lkaino/Triflight/pulls/27/commits","review_comments_url":"https://api.github.com/repos/lkaino/Triflight/pulls/27/comments","review_comment_url":"https://api.github.com/repos/lkaino/Triflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lkaino/Triflight/issues/27/comments","statuses_url":"https://api.github.com/repos/lkaino/Triflight/statuses/96dfed37cf9dec4bcb01dbdf14bb040b635d6b24","head":{"label":"Bengt-M:unittest","ref":"unittest","sha":"96dfed37cf9dec4bcb01dbdf14bb040b635d6b24","user":{"login":"Bengt-M","id":16436707,"avatar_url":"https://avatars.githubusercontent.com/u/16436707?v=3","gravatar_id":"","url":"https://api.github.com/users/Bengt-M","html_url":"https://github.com/Bengt-M","followers_url":"https://api.github.com/users/Bengt-M/followers","following_url":"https://api.github.com/users/Bengt-M/following{/other_user}","gists_url":"https://api.github.com/users/Bengt-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Bengt-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bengt-M/subscriptions","organizations_url":"https://api.github.com/users/Bengt-M/orgs","repos_url":"https://api.github.com/users/Bengt-M/repos","events_url":"https://api.github.com/users/Bengt-M/events{/privacy}","received_events_url":"https://api.github.com/users/Bengt-M/received_events","type":"User","site_admin":false},"repo":{"id":54066334,"name":"Triflight","full_name":"Bengt-M/Triflight","owner":{"login":"Bengt-M","id":16436707,"avatar_url":"https://avatars.githubusercontent.com/u/16436707?v=3","gravatar_id":"","url":"https://api.github.com/users/Bengt-M","html_url":"https://github.com/Bengt-M","followers_url":"https://api.github.com/users/Bengt-M/followers","following_url":"https://api.github.com/users/Bengt-M/following{/other_user}","gists_url":"https://api.github.com/users/Bengt-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Bengt-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bengt-M/subscriptions","organizations_url":"https://api.github.com/users/Bengt-M/orgs","repos_url":"https://api.github.com/users/Bengt-M/repos","events_url":"https://api.github.com/users/Bengt-M/events{/privacy}","received_events_url":"https://api.github.com/users/Bengt-M/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bengt-M/Triflight","description":"Clean-code version of the baseflight flight controller firmware","fork":true,"url":"https://api.github.com/repos/Bengt-M/Triflight","forks_url":"https://api.github.com/repos/Bengt-M/Triflight/forks","keys_url":"https://api.github.com/repos/Bengt-M/Triflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bengt-M/Triflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bengt-M/Triflight/teams","hooks_url":"https://api.github.com/repos/Bengt-M/Triflight/hooks","issue_events_url":"https://api.github.com/repos/Bengt-M/Triflight/issues/events{/number}","events_url":"https://api.github.com/repos/Bengt-M/Triflight/events","assignees_url":"https://api.github.com/repos/Bengt-M/Triflight/assignees{/user}","branches_url":"https://api.github.com/repos/Bengt-M/Triflight/branches{/branch}","tags_url":"https://api.github.com/repos/Bengt-M/Triflight/tags","blobs_url":"https://api.github.com/repos/Bengt-M/Triflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bengt-M/Triflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bengt-M/Triflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bengt-M/Triflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bengt-M/Triflight/statuses/{sha}","languages_url":"https://api.github.com/repos/Bengt-M/Triflight/languages","stargazers_url":"https://api.github.com/repos/Bengt-M/Triflight/stargazers","contributors_url":"https://api.github.com/repos/Bengt-M/Triflight/contributors","subscribers_url":"https://api.github.com/repos/Bengt-M/Triflight/subscribers","subscription_url":"https://api.github.com/repos/Bengt-M/Triflight/subscription","commits_url":"https://api.github.com/repos/Bengt-M/Triflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bengt-M/Triflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bengt-M/Triflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bengt-M/Triflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bengt-M/Triflight/contents/{+path}","compare_url":"https://api.github.com/repos/Bengt-M/Triflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bengt-M/Triflight/merges","archive_url":"https://api.github.com/repos/Bengt-M/Triflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bengt-M/Triflight/downloads","issues_url":"https://api.github.com/repos/Bengt-M/Triflight/issues{/number}","pulls_url":"https://api.github.com/repos/Bengt-M/Triflight/pulls{/number}","milestones_url":"https://api.github.com/repos/Bengt-M/Triflight/milestones{/number}","notifications_url":"https://api.github.com/repos/Bengt-M/Triflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bengt-M/Triflight/labels{/name}","releases_url":"https://api.github.com/repos/Bengt-M/Triflight/releases{/id}","deployments_url":"https://api.github.com/repos/Bengt-M/Triflight/deployments","created_at":"2016-03-16T21:04:49Z","updated_at":"2016-03-16T21:04:53Z","pushed_at":"2016-05-02T21:57:37Z","git_url":"git://github.com/Bengt-M/Triflight.git","ssh_url":"git@github.com:Bengt-M/Triflight.git","clone_url":"https://github.com/Bengt-M/Triflight.git","svn_url":"https://github.com/Bengt-M/Triflight","homepage":"http://cleanflight.com","size":72954,"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":"lkaino:master","ref":"master","sha":"39a7771a009d0860ffe4181ffe90263b0dcced83","user":{"login":"lkaino","id":6444272,"avatar_url":"https://avatars.githubusercontent.com/u/6444272?v=3","gravatar_id":"","url":"https://api.github.com/users/lkaino","html_url":"https://github.com/lkaino","followers_url":"https://api.github.com/users/lkaino/followers","following_url":"https://api.github.com/users/lkaino/following{/other_user}","gists_url":"https://api.github.com/users/lkaino/gists{/gist_id}","starred_url":"https://api.github.com/users/lkaino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkaino/subscriptions","organizations_url":"https://api.github.com/users/lkaino/orgs","repos_url":"https://api.github.com/users/lkaino/repos","events_url":"https://api.github.com/users/lkaino/events{/privacy}","received_events_url":"https://api.github.com/users/lkaino/received_events","type":"User","site_admin":false},"repo":{"id":40958918,"name":"Triflight","full_name":"lkaino/Triflight","owner":{"login":"lkaino","id":6444272,"avatar_url":"https://avatars.githubusercontent.com/u/6444272?v=3","gravatar_id":"","url":"https://api.github.com/users/lkaino","html_url":"https://github.com/lkaino","followers_url":"https://api.github.com/users/lkaino/followers","following_url":"https://api.github.com/users/lkaino/following{/other_user}","gists_url":"https://api.github.com/users/lkaino/gists{/gist_id}","starred_url":"https://api.github.com/users/lkaino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkaino/subscriptions","organizations_url":"https://api.github.com/users/lkaino/orgs","repos_url":"https://api.github.com/users/lkaino/repos","events_url":"https://api.github.com/users/lkaino/events{/privacy}","received_events_url":"https://api.github.com/users/lkaino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lkaino/Triflight","description":"Clean-code version of the baseflight flight controller firmware","fork":true,"url":"https://api.github.com/repos/lkaino/Triflight","forks_url":"https://api.github.com/repos/lkaino/Triflight/forks","keys_url":"https://api.github.com/repos/lkaino/Triflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lkaino/Triflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lkaino/Triflight/teams","hooks_url":"https://api.github.com/repos/lkaino/Triflight/hooks","issue_events_url":"https://api.github.com/repos/lkaino/Triflight/issues/events{/number}","events_url":"https://api.github.com/repos/lkaino/Triflight/events","assignees_url":"https://api.github.com/repos/lkaino/Triflight/assignees{/user}","branches_url":"https://api.github.com/repos/lkaino/Triflight/branches{/branch}","tags_url":"https://api.github.com/repos/lkaino/Triflight/tags","blobs_url":"https://api.github.com/repos/lkaino/Triflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lkaino/Triflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lkaino/Triflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/lkaino/Triflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lkaino/Triflight/statuses/{sha}","languages_url":"https://api.github.com/repos/lkaino/Triflight/languages","stargazers_url":"https://api.github.com/repos/lkaino/Triflight/stargazers","contributors_url":"https://api.github.com/repos/lkaino/Triflight/contributors","subscribers_url":"https://api.github.com/repos/lkaino/Triflight/subscribers","subscription_url":"https://api.github.com/repos/lkaino/Triflight/subscription","commits_url":"https://api.github.com/repos/lkaino/Triflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/lkaino/Triflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/lkaino/Triflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/lkaino/Triflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/lkaino/Triflight/contents/{+path}","compare_url":"https://api.github.com/repos/lkaino/Triflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lkaino/Triflight/merges","archive_url":"https://api.github.com/repos/lkaino/Triflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lkaino/Triflight/downloads","issues_url":"https://api.github.com/repos/lkaino/Triflight/issues{/number}","pulls_url":"https://api.github.com/repos/lkaino/Triflight/pulls{/number}","milestones_url":"https://api.github.com/repos/lkaino/Triflight/milestones{/number}","notifications_url":"https://api.github.com/repos/lkaino/Triflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lkaino/Triflight/labels{/name}","releases_url":"https://api.github.com/repos/lkaino/Triflight/releases{/id}","deployments_url":"https://api.github.com/repos/lkaino/Triflight/deployments","created_at":"2015-08-18T08:03:38Z","updated_at":"2016-04-26T22:35:21Z","pushed_at":"2016-05-02T15:43:03Z","git_url":"git://github.com/lkaino/Triflight.git","ssh_url":"git@github.com:lkaino/Triflight.git","clone_url":"https://github.com/lkaino/Triflight.git","svn_url":"https://github.com/lkaino/Triflight","homepage":"http://cleanflight.com","size":72597,"stargazers_count":14,"watchers_count":14,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":10,"forks":11,"open_issues":10,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lkaino/Triflight/pulls/27"},"html":{"href":"https://github.com/lkaino/Triflight/pull/27"},"issue":{"href":"https://api.github.com/repos/lkaino/Triflight/issues/27"},"comments":{"href":"https://api.github.com/repos/lkaino/Triflight/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/lkaino/Triflight/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/lkaino/Triflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lkaino/Triflight/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/lkaino/Triflight/statuses/96dfed37cf9dec4bcb01dbdf14bb040b635d6b24"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":217,"deletions":108,"changed_files":3}}