{"action":"created","comment":{"url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/comments/63257096","id":63257096,"diff_hunk":"@@ -177,11 +173,10 @@ static void system_monitor_thread(void *arg)\n       llhdeg2rad(base_llh, tmp);\n       wgsllh2ecef(tmp, base_ecef);\n \n-      vector_subtract(3, base_ecef, position_solution.pos_ecef, tmp);\n-      base_distance = vector_norm(3, tmp);\n+      base_distance = vector_distance(3, base_ecef, position_solution.pos_ecef);\n \n       if (base_distance > BASE_STATION_DISTANCE_THRESHOLD) {\n-        log_warn(\"Invalid surveyed position coordinates\\n\");\n+        log_warn(\"Sending invalid surveyed position coordinates.\");","path":"src/system_monitor.c","position":27,"original_position":27,"commit_id":"5601f6b28eb2e91018ef55d19dcae366d84190c1","original_commit_id":"5601f6b28eb2e91018ef55d19dcae366d84190c1","user":{"login":"jacobmcnamee","id":4461703,"avatar_url":"https://avatars.githubusercontent.com/u/4461703?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmcnamee","html_url":"https://github.com/jacobmcnamee","followers_url":"https://api.github.com/users/jacobmcnamee/followers","following_url":"https://api.github.com/users/jacobmcnamee/following{/other_user}","gists_url":"https://api.github.com/users/jacobmcnamee/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmcnamee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmcnamee/subscriptions","organizations_url":"https://api.github.com/users/jacobmcnamee/orgs","repos_url":"https://api.github.com/users/jacobmcnamee/repos","events_url":"https://api.github.com/users/jacobmcnamee/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmcnamee/received_events","type":"User","site_admin":false},"body":"They won't actually be sent if this is printed, correct?","created_at":"2016-05-13T22:00:02Z","updated_at":"2016-05-13T22:00:02Z","html_url":"https://github.com/swift-nav/piksi_firmware/pull/651#discussion_r63257096","pull_request_url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651","_links":{"self":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/comments/63257096"},"html":{"href":"https://github.com/swift-nav/piksi_firmware/pull/651#discussion_r63257096"},"pull_request":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651"}}},"pull_request":{"url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651","id":67411917,"html_url":"https://github.com/swift-nav/piksi_firmware/pull/651","diff_url":"https://github.com/swift-nav/piksi_firmware/pull/651.diff","patch_url":"https://github.com/swift-nav/piksi_firmware/pull/651.patch","issue_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/651","number":651,"state":"open","locked":false,"title":"Final CORS fix PR ","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"body":"Squashing into two commits to save time and get it ready for @denniszollo to start testing it ASAP.","created_at":"2016-04-21T19:51:17Z","updated_at":"2016-05-13T22:00:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6eea926e72c1b78232792baec6259c9d8d9716f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651/commits","review_comments_url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651/comments","review_comment_url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/651/comments","statuses_url":"https://api.github.com/repos/swift-nav/piksi_firmware/statuses/5601f6b28eb2e91018ef55d19dcae366d84190c1","head":{"label":"ljbade:time-jump-final","ref":"time-jump-final","sha":"5601f6b28eb2e91018ef55d19dcae366d84190c1","user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"repo":{"id":14010375,"name":"piksi_firmware","full_name":"ljbade/piksi_firmware","owner":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ljbade/piksi_firmware","description":"Firmware for the Piksi GNSS receiver.","fork":true,"url":"https://api.github.com/repos/ljbade/piksi_firmware","forks_url":"https://api.github.com/repos/ljbade/piksi_firmware/forks","keys_url":"https://api.github.com/repos/ljbade/piksi_firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ljbade/piksi_firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ljbade/piksi_firmware/teams","hooks_url":"https://api.github.com/repos/ljbade/piksi_firmware/hooks","issue_events_url":"https://api.github.com/repos/ljbade/piksi_firmware/issues/events{/number}","events_url":"https://api.github.com/repos/ljbade/piksi_firmware/events","assignees_url":"https://api.github.com/repos/ljbade/piksi_firmware/assignees{/user}","branches_url":"https://api.github.com/repos/ljbade/piksi_firmware/branches{/branch}","tags_url":"https://api.github.com/repos/ljbade/piksi_firmware/tags","blobs_url":"https://api.github.com/repos/ljbade/piksi_firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ljbade/piksi_firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ljbade/piksi_firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/ljbade/piksi_firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ljbade/piksi_firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/ljbade/piksi_firmware/languages","stargazers_url":"https://api.github.com/repos/ljbade/piksi_firmware/stargazers","contributors_url":"https://api.github.com/repos/ljbade/piksi_firmware/contributors","subscribers_url":"https://api.github.com/repos/ljbade/piksi_firmware/subscribers","subscription_url":"https://api.github.com/repos/ljbade/piksi_firmware/subscription","commits_url":"https://api.github.com/repos/ljbade/piksi_firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/ljbade/piksi_firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/ljbade/piksi_firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/ljbade/piksi_firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/ljbade/piksi_firmware/contents/{+path}","compare_url":"https://api.github.com/repos/ljbade/piksi_firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ljbade/piksi_firmware/merges","archive_url":"https://api.github.com/repos/ljbade/piksi_firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ljbade/piksi_firmware/downloads","issues_url":"https://api.github.com/repos/ljbade/piksi_firmware/issues{/number}","pulls_url":"https://api.github.com/repos/ljbade/piksi_firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/ljbade/piksi_firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/ljbade/piksi_firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ljbade/piksi_firmware/labels{/name}","releases_url":"https://api.github.com/repos/ljbade/piksi_firmware/releases{/id}","deployments_url":"https://api.github.com/repos/ljbade/piksi_firmware/deployments","created_at":"2013-10-31T07:35:29Z","updated_at":"2016-01-07T23:49:50Z","pushed_at":"2016-05-13T04:19:07Z","git_url":"git://github.com/ljbade/piksi_firmware.git","ssh_url":"git@github.com:ljbade/piksi_firmware.git","clone_url":"https://github.com/ljbade/piksi_firmware.git","svn_url":"https://github.com/ljbade/piksi_firmware","homepage":"swift-nav.com","size":4352,"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":"swift-nav:master","ref":"master","sha":"bfc5dbbd1e9ddfac7666bbbede97078985eac081","user":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"repo":{"id":2464156,"name":"piksi_firmware","full_name":"swift-nav/piksi_firmware","owner":{"login":"swift-nav","id":1069835,"avatar_url":"https://avatars.githubusercontent.com/u/1069835?v=3","gravatar_id":"","url":"https://api.github.com/users/swift-nav","html_url":"https://github.com/swift-nav","followers_url":"https://api.github.com/users/swift-nav/followers","following_url":"https://api.github.com/users/swift-nav/following{/other_user}","gists_url":"https://api.github.com/users/swift-nav/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-nav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-nav/subscriptions","organizations_url":"https://api.github.com/users/swift-nav/orgs","repos_url":"https://api.github.com/users/swift-nav/repos","events_url":"https://api.github.com/users/swift-nav/events{/privacy}","received_events_url":"https://api.github.com/users/swift-nav/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swift-nav/piksi_firmware","description":"Firmware for the Piksi GNSS receiver.","fork":false,"url":"https://api.github.com/repos/swift-nav/piksi_firmware","forks_url":"https://api.github.com/repos/swift-nav/piksi_firmware/forks","keys_url":"https://api.github.com/repos/swift-nav/piksi_firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/piksi_firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/piksi_firmware/teams","hooks_url":"https://api.github.com/repos/swift-nav/piksi_firmware/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/piksi_firmware/events","assignees_url":"https://api.github.com/repos/swift-nav/piksi_firmware/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/piksi_firmware/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/piksi_firmware/tags","blobs_url":"https://api.github.com/repos/swift-nav/piksi_firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/piksi_firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/piksi_firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/piksi_firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/piksi_firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/piksi_firmware/languages","stargazers_url":"https://api.github.com/repos/swift-nav/piksi_firmware/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/piksi_firmware/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/piksi_firmware/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/piksi_firmware/subscription","commits_url":"https://api.github.com/repos/swift-nav/piksi_firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/piksi_firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/piksi_firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/piksi_firmware/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/piksi_firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/piksi_firmware/merges","archive_url":"https://api.github.com/repos/swift-nav/piksi_firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/piksi_firmware/downloads","issues_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/piksi_firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/piksi_firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/piksi_firmware/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/piksi_firmware/releases{/id}","deployments_url":"https://api.github.com/repos/swift-nav/piksi_firmware/deployments","created_at":"2011-09-26T23:35:50Z","updated_at":"2016-05-09T19:28:20Z","pushed_at":"2016-05-13T13:35:51Z","git_url":"git://github.com/swift-nav/piksi_firmware.git","ssh_url":"git@github.com:swift-nav/piksi_firmware.git","clone_url":"https://github.com/swift-nav/piksi_firmware.git","svn_url":"https://github.com/swift-nav/piksi_firmware","homepage":"swift-nav.com","size":6072,"stargazers_count":69,"watchers_count":69,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":131,"forks":85,"open_issues":131,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651"},"html":{"href":"https://github.com/swift-nav/piksi_firmware/pull/651"},"issue":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/651"},"comments":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/651/comments"},"review_comments":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651/comments"},"review_comment":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/pulls/651/commits"},"statuses":{"href":"https://api.github.com/repos/swift-nav/piksi_firmware/statuses/5601f6b28eb2e91018ef55d19dcae366d84190c1"}}}}