{"action":"created","comment":{"url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/comments/213782731","pull_request_review_id":150690941,"id":213782731,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzc4MjczMQ==","diff_hunk":"@@ -0,0 +1,66 @@\n+package space.cougs.ground.utils;\n+\n+import java.util.Calendar;\n+import java.util.TimeZone;\n+\n+public final class Units {\n+\n+\tpublic static double rawToVoltage(long raw) {\n+\n+\t\treturn raw * 100.0e-6; // 100 �V/LSB\n+\t}\n+\n+\tpublic static double rawToCurrent(long raw) {\n+\n+\t\treturn raw * 150.0e-6; // 100 �A/LSB;\n+\t}\n+\n+\tpublic static double rawToPower(long raw) {\n+\n+\t\treturn raw * 250.0e-6; // 250 �W/LSB;\n+\t}\n+\n+\tpublic static int rawToEnergy(long raw) {\n+\n+\t\treturn (int) (raw * 500); // 500J/LSB\n+\t}\n+\n+\tpublic static double rawToGeographicCoordinate(long raw) {\n+\n+\t\treturn (int) raw * 10.0e-6 / 60.0; // 10 min/LSB","path":"CougSat1-Ground/src/space/cougs/ground/utils/Units.java","position":30,"original_position":30,"commit_id":"1f44d414997c55db6f8f54bc9c4b7082e638d349","original_commit_id":"47671102b9af3a061adb089a0bf1e679b1af06a8","user":{"login":"WattsUp","id":13396764,"node_id":"MDQ6VXNlcjEzMzk2NzY0","avatar_url":"https://avatars2.githubusercontent.com/u/13396764?v=4","gravatar_id":"","url":"https://api.github.com/users/WattsUp","html_url":"https://github.com/WattsUp","followers_url":"https://api.github.com/users/WattsUp/followers","following_url":"https://api.github.com/users/WattsUp/following{/other_user}","gists_url":"https://api.github.com/users/WattsUp/gists{/gist_id}","starred_url":"https://api.github.com/users/WattsUp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WattsUp/subscriptions","organizations_url":"https://api.github.com/users/WattsUp/orgs","repos_url":"https://api.github.com/users/WattsUp/repos","events_url":"https://api.github.com/users/WattsUp/events{/privacy}","received_events_url":"https://api.github.com/users/WattsUp/received_events","type":"User","site_admin":false},"body":"//10µmin/LSB","created_at":"2018-08-29T18:15:22Z","updated_at":"2018-08-29T18:15:22Z","html_url":"https://github.com/CougsInSpace/CougSat1-Software/pull/244#discussion_r213782731","pull_request_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/comments/213782731"},"html":{"href":"https://github.com/CougsInSpace/CougSat1-Software/pull/244#discussion_r213782731"},"pull_request":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244"}}},"pull_request":{"url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244","id":204706038,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NzA2MDM4","html_url":"https://github.com/CougsInSpace/CougSat1-Software/pull/244","diff_url":"https://github.com/CougsInSpace/CougSat1-Software/pull/244.diff","patch_url":"https://github.com/CougsInSpace/CougSat1-Software/pull/244.patch","issue_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/244","number":244,"state":"open","locked":false,"title":"Ground GUI and Telemetry Download","user":{"login":"JateNensvold","id":30514293,"node_id":"MDQ6VXNlcjMwNTE0Mjkz","avatar_url":"https://avatars0.githubusercontent.com/u/30514293?v=4","gravatar_id":"","url":"https://api.github.com/users/JateNensvold","html_url":"https://github.com/JateNensvold","followers_url":"https://api.github.com/users/JateNensvold/followers","following_url":"https://api.github.com/users/JateNensvold/following{/other_user}","gists_url":"https://api.github.com/users/JateNensvold/gists{/gist_id}","starred_url":"https://api.github.com/users/JateNensvold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JateNensvold/subscriptions","organizations_url":"https://api.github.com/users/JateNensvold/orgs","repos_url":"https://api.github.com/users/JateNensvold/repos","events_url":"https://api.github.com/users/JateNensvold/events{/privacy}","received_events_url":"https://api.github.com/users/JateNensvold/received_events","type":"User","site_admin":false},"body":"fixes #221 \r\nfixes #137 \r\nfixes #93 \r\nfixes #29 \r\nfixes #28 \r\nfixes #26 \r\nfixes #25 \r\nfixes #1 \r\n","created_at":"2018-07-30T06:30:30Z","updated_at":"2018-08-29T18:15:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbd0091896a7c9175e3fbdf30bb8d05226861d4d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244/commits","review_comments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244/comments","review_comment_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/244/comments","statuses_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/statuses/1f44d414997c55db6f8f54bc9c4b7082e638d349","head":{"label":"CougsInSpace:gui","ref":"gui","sha":"1f44d414997c55db6f8f54bc9c4b7082e638d349","user":{"login":"CougsInSpace","id":38141681,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTQxNjgx","avatar_url":"https://avatars2.githubusercontent.com/u/38141681?v=4","gravatar_id":"","url":"https://api.github.com/users/CougsInSpace","html_url":"https://github.com/CougsInSpace","followers_url":"https://api.github.com/users/CougsInSpace/followers","following_url":"https://api.github.com/users/CougsInSpace/following{/other_user}","gists_url":"https://api.github.com/users/CougsInSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/CougsInSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CougsInSpace/subscriptions","organizations_url":"https://api.github.com/users/CougsInSpace/orgs","repos_url":"https://api.github.com/users/CougsInSpace/repos","events_url":"https://api.github.com/users/CougsInSpace/events{/privacy}","received_events_url":"https://api.github.com/users/CougsInSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":128601685,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg2MDE2ODU=","name":"CougSat1-Software","full_name":"CougsInSpace/CougSat1-Software","owner":{"login":"CougsInSpace","id":38141681,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTQxNjgx","avatar_url":"https://avatars2.githubusercontent.com/u/38141681?v=4","gravatar_id":"","url":"https://api.github.com/users/CougsInSpace","html_url":"https://github.com/CougsInSpace","followers_url":"https://api.github.com/users/CougsInSpace/followers","following_url":"https://api.github.com/users/CougsInSpace/following{/other_user}","gists_url":"https://api.github.com/users/CougsInSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/CougsInSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CougsInSpace/subscriptions","organizations_url":"https://api.github.com/users/CougsInSpace/orgs","repos_url":"https://api.github.com/users/CougsInSpace/repos","events_url":"https://api.github.com/users/CougsInSpace/events{/privacy}","received_events_url":"https://api.github.com/users/CougsInSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CougsInSpace/CougSat1-Software","description":"All software written on CougSat-1 exists here","fork":false,"url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software","forks_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/forks","keys_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/teams","hooks_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/hooks","issue_events_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/events{/number}","events_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/events","assignees_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/assignees{/user}","branches_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/branches{/branch}","tags_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/tags","blobs_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/refs{/sha}","trees_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/statuses/{sha}","languages_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/languages","stargazers_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/stargazers","contributors_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/contributors","subscribers_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/subscribers","subscription_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/subscription","commits_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/commits{/sha}","git_commits_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/commits{/sha}","comments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/comments{/number}","issue_comment_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/comments{/number}","contents_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/contents/{+path}","compare_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/merges","archive_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/downloads","issues_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues{/number}","pulls_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls{/number}","milestones_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/milestones{/number}","notifications_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/labels{/name}","releases_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/releases{/id}","deployments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/deployments","created_at":"2018-04-08T05:30:35Z","updated_at":"2018-08-02T02:52:16Z","pushed_at":"2018-08-29T07:49:15Z","git_url":"git://github.com/CougsInSpace/CougSat1-Software.git","ssh_url":"git@github.com:CougsInSpace/CougSat1-Software.git","clone_url":"https://github.com/CougsInSpace/CougSat1-Software.git","svn_url":"https://github.com/CougsInSpace/CougSat1-Software","homepage":null,"size":108597,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":214,"license":null,"forks":0,"open_issues":214,"watchers":4,"default_branch":"master"}},"base":{"label":"CougsInSpace:master","ref":"master","sha":"84b1e1bdc4fdb17520860a746399e2517f5a694e","user":{"login":"CougsInSpace","id":38141681,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTQxNjgx","avatar_url":"https://avatars2.githubusercontent.com/u/38141681?v=4","gravatar_id":"","url":"https://api.github.com/users/CougsInSpace","html_url":"https://github.com/CougsInSpace","followers_url":"https://api.github.com/users/CougsInSpace/followers","following_url":"https://api.github.com/users/CougsInSpace/following{/other_user}","gists_url":"https://api.github.com/users/CougsInSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/CougsInSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CougsInSpace/subscriptions","organizations_url":"https://api.github.com/users/CougsInSpace/orgs","repos_url":"https://api.github.com/users/CougsInSpace/repos","events_url":"https://api.github.com/users/CougsInSpace/events{/privacy}","received_events_url":"https://api.github.com/users/CougsInSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":128601685,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg2MDE2ODU=","name":"CougSat1-Software","full_name":"CougsInSpace/CougSat1-Software","owner":{"login":"CougsInSpace","id":38141681,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MTQxNjgx","avatar_url":"https://avatars2.githubusercontent.com/u/38141681?v=4","gravatar_id":"","url":"https://api.github.com/users/CougsInSpace","html_url":"https://github.com/CougsInSpace","followers_url":"https://api.github.com/users/CougsInSpace/followers","following_url":"https://api.github.com/users/CougsInSpace/following{/other_user}","gists_url":"https://api.github.com/users/CougsInSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/CougsInSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CougsInSpace/subscriptions","organizations_url":"https://api.github.com/users/CougsInSpace/orgs","repos_url":"https://api.github.com/users/CougsInSpace/repos","events_url":"https://api.github.com/users/CougsInSpace/events{/privacy}","received_events_url":"https://api.github.com/users/CougsInSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CougsInSpace/CougSat1-Software","description":"All software written on CougSat-1 exists here","fork":false,"url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software","forks_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/forks","keys_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/teams","hooks_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/hooks","issue_events_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/events{/number}","events_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/events","assignees_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/assignees{/user}","branches_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/branches{/branch}","tags_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/tags","blobs_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/refs{/sha}","trees_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/statuses/{sha}","languages_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/languages","stargazers_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/stargazers","contributors_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/contributors","subscribers_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/subscribers","subscription_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/subscription","commits_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/commits{/sha}","git_commits_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/git/commits{/sha}","comments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/comments{/number}","issue_comment_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/comments{/number}","contents_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/contents/{+path}","compare_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/merges","archive_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/downloads","issues_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues{/number}","pulls_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls{/number}","milestones_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/milestones{/number}","notifications_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/labels{/name}","releases_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/releases{/id}","deployments_url":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/deployments","created_at":"2018-04-08T05:30:35Z","updated_at":"2018-08-02T02:52:16Z","pushed_at":"2018-08-29T07:49:15Z","git_url":"git://github.com/CougsInSpace/CougSat1-Software.git","ssh_url":"git@github.com:CougsInSpace/CougSat1-Software.git","clone_url":"https://github.com/CougsInSpace/CougSat1-Software.git","svn_url":"https://github.com/CougsInSpace/CougSat1-Software","homepage":null,"size":108597,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":214,"license":null,"forks":0,"open_issues":214,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244"},"html":{"href":"https://github.com/CougsInSpace/CougSat1-Software/pull/244"},"issue":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/244"},"comments":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/CougsInSpace/CougSat1-Software/statuses/1f44d414997c55db6f8f54bc9c4b7082e638d349"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"WattsUp"}}