{"action":"created","issue":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/3813","repository_url":"https://api.github.com/repos/mavlink/qgroundcontrol","labels_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/3813/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/3813/comments","events_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/3813/events","html_url":"https://github.com/mavlink/qgroundcontrol/pull/3813","id":165989101,"number":3813,"title":"Switch to exact conversion constants","user":{"login":"NaterGator","id":2575,"avatar_url":"https://avatars.githubusercontent.com/u/2575?v=3","gravatar_id":"","url":"https://api.github.com/users/NaterGator","html_url":"https://github.com/NaterGator","followers_url":"https://api.github.com/users/NaterGator/followers","following_url":"https://api.github.com/users/NaterGator/following{/other_user}","gists_url":"https://api.github.com/users/NaterGator/gists{/gist_id}","starred_url":"https://api.github.com/users/NaterGator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaterGator/subscriptions","organizations_url":"https://api.github.com/users/NaterGator/orgs","repos_url":"https://api.github.com/users/NaterGator/repos","events_url":"https://api.github.com/users/NaterGator/events{/privacy}","received_events_url":"https://api.github.com/users/NaterGator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/milestones/10","html_url":"https://github.com/mavlink/qgroundcontrol/milestones/Release%20v3.0","labels_url":"https://api.github.com/repos/mavlink/qgroundcontrol/milestones/10/labels","id":1468848,"number":10,"title":"Release v3.0","description":null,"creator":{"login":"DonLakeFlyer","id":5876851,"avatar_url":"https://avatars.githubusercontent.com/u/5876851?v=3","gravatar_id":"","url":"https://api.github.com/users/DonLakeFlyer","html_url":"https://github.com/DonLakeFlyer","followers_url":"https://api.github.com/users/DonLakeFlyer/followers","following_url":"https://api.github.com/users/DonLakeFlyer/following{/other_user}","gists_url":"https://api.github.com/users/DonLakeFlyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DonLakeFlyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonLakeFlyer/subscriptions","organizations_url":"https://api.github.com/users/DonLakeFlyer/orgs","repos_url":"https://api.github.com/users/DonLakeFlyer/repos","events_url":"https://api.github.com/users/DonLakeFlyer/events{/privacy}","received_events_url":"https://api.github.com/users/DonLakeFlyer/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":376,"state":"open","created_at":"2015-12-21T02:29:14Z","updated_at":"2016-07-17T18:32:01Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-07-17T18:32:00Z","updated_at":"2016-07-17T19:01:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/pulls/3813","html_url":"https://github.com/mavlink/qgroundcontrol/pull/3813","diff_url":"https://github.com/mavlink/qgroundcontrol/pull/3813.diff","patch_url":"https://github.com/mavlink/qgroundcontrol/pull/3813.patch"},"body":"Use constant's inverse to ensure we don't accumulate error when converting back and forth"},"comment":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/comments/233197912","html_url":"https://github.com/mavlink/qgroundcontrol/pull/3813#issuecomment-233197912","issue_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/3813","id":233197912,"user":{"login":"NaterGator","id":2575,"avatar_url":"https://avatars.githubusercontent.com/u/2575?v=3","gravatar_id":"","url":"https://api.github.com/users/NaterGator","html_url":"https://github.com/NaterGator","followers_url":"https://api.github.com/users/NaterGator/followers","following_url":"https://api.github.com/users/NaterGator/following{/other_user}","gists_url":"https://api.github.com/users/NaterGator/gists{/gist_id}","starred_url":"https://api.github.com/users/NaterGator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaterGator/subscriptions","organizations_url":"https://api.github.com/users/NaterGator/orgs","repos_url":"https://api.github.com/users/NaterGator/repos","events_url":"https://api.github.com/users/NaterGator/events{/privacy}","received_events_url":"https://api.github.com/users/NaterGator/received_events","type":"User","site_admin":false},"created_at":"2016-07-17T19:01:51Z","updated_at":"2016-07-17T19:01:51Z","body":"Round is converting degrees to integral centidegrees, so that conversion should be precise regardless of the platform and never get close to the numeric limits of int. My thought is that the 100.0 literal for centidegree to degree will be the native platform floating point type, and the toReal() value will be native floating point representation of an integer which _should_ be precise regardless of the number of bits. I don't think there is any issue here... "}}
{"actor":{"display_login":"NaterGator"}}