{"action":"created","comment":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments/58180689","id":58180689,"diff_hunk":"@@ -39,6 +42,34 @@ typedef struct {\n } ephemeris_xyz_t;\n \n typedef struct {\n+  /*u8 m;*/     /* string number */\n+  /*u8 B;*/     /* unhealthy SV indication, should be stored in ephemeris_t */\n+  /*u8 n;*/     /* SV id , should be stored in ephemeris_t*/\n+  /*u8 l;*/     /* unhealthy SV indication, should be stored in ephemeris_t */\n+  /*u8 P;*/     /* SV operation mode in respect of time parameters TODO: decide is we need to store it */\n+\n+  u8 tk_hours;            /* Current frame start time since beginning of day */\n+  u8 tk_minutes;          /* Not needed in ephemeris. TODO: decide if it needs to be stored here. */\n+  u8 tk_half_minutes;\n+\n+  u16 tb;                 /* Index of the time interval within current day */\n+  u8 sv_type;             /* Coded as word M in broadcasted ephemeris */\n+  double gamma;\n+  double tau;\n+  double pos[3];          /* Position of the SV at tb in PZ-90.02 coordinates system, km */\n+  double vel[3];          /* Velocity vector of the SV at tb in PZ-90.02 coordinates system, km/s */\n+  double acc[3];          /* Acceleration vector of the SV at tb in PZ-90.02 coordinates system, km/s/s */\n+  u16 NT;                 /* Current date, coded */\n+  u16 accuracy;           /* User range accuracy coded in Ft word, meters */\n+  double delta_tau;       /* Time difference between L1 and L2 signals */\n+  u8 age;                 /* Age of the information. Time since calculation till tb in days. */\n+  u8 P1;                  /* Size of a time interval for index tb, minutes */\n+  u8 P2;                  /* Oddness (\"1\") or evenness (\"0\") of the value of tb for intervals 30 or 60 minutes */\n+  u8 P3;                  /* A number of almanacs in given frame. \"1\" - for 5 SVs, \"0\" - for 4 SVs */","path":"include/libswiftnav/ephemeris.h","position":37,"original_position":37,"commit_id":"72a7a4b80ee956ee0597cebea8d3e915713a6ce6","original_commit_id":"72a7a4b80ee956ee0597cebea8d3e915713a6ce6","user":{"login":"rge-exafore","id":16404161,"avatar_url":"https://avatars.githubusercontent.com/u/16404161?v=3","gravatar_id":"","url":"https://api.github.com/users/rge-exafore","html_url":"https://github.com/rge-exafore","followers_url":"https://api.github.com/users/rge-exafore/followers","following_url":"https://api.github.com/users/rge-exafore/following{/other_user}","gists_url":"https://api.github.com/users/rge-exafore/gists{/gist_id}","starred_url":"https://api.github.com/users/rge-exafore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rge-exafore/subscriptions","organizations_url":"https://api.github.com/users/rge-exafore/orgs","repos_url":"https://api.github.com/users/rge-exafore/repos","events_url":"https://api.github.com/users/rge-exafore/events{/privacy}","received_events_url":"https://api.github.com/users/rge-exafore/received_events","type":"User","site_admin":false},"body":"ok, removed.","created_at":"2016-04-01T09:13:06Z","updated_at":"2016-04-01T09:13:06Z","html_url":"https://github.com/swift-nav/libswiftnav/pull/320#discussion_r58180689","pull_request_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320","_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments/58180689"},"html":{"href":"https://github.com/swift-nav/libswiftnav/pull/320#discussion_r58180689"},"pull_request":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320"}}},"pull_request":{"url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320","id":64809376,"html_url":"https://github.com/swift-nav/libswiftnav/pull/320","diff_url":"https://github.com/swift-nav/libswiftnav/pull/320.diff","patch_url":"https://github.com/swift-nav/libswiftnav/pull/320.patch","issue_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/320","number":320,"state":"open","locked":false,"title":"WIP: Add GLO ephemeris","user":{"login":"rge-exafore","id":16404161,"avatar_url":"https://avatars.githubusercontent.com/u/16404161?v=3","gravatar_id":"","url":"https://api.github.com/users/rge-exafore","html_url":"https://github.com/rge-exafore","followers_url":"https://api.github.com/users/rge-exafore/followers","following_url":"https://api.github.com/users/rge-exafore/following{/other_user}","gists_url":"https://api.github.com/users/rge-exafore/gists{/gist_id}","starred_url":"https://api.github.com/users/rge-exafore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rge-exafore/subscriptions","organizations_url":"https://api.github.com/users/rge-exafore/orgs","repos_url":"https://api.github.com/users/rge-exafore/repos","events_url":"https://api.github.com/users/rge-exafore/events{/privacy}","received_events_url":"https://api.github.com/users/rge-exafore/received_events","type":"User","site_admin":false},"body":"This commit adds definition of Glonass ephemeris data structure.","created_at":"2016-03-31T15:26:47Z","updated_at":"2016-04-01T09:13:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7980b07bbf7a042c0d3dca58bd684777efb276bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320/commits","review_comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320/comments","review_comment_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/320/comments","statuses_url":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/72a7a4b80ee956ee0597cebea8d3e915713a6ce6","head":{"label":"rge-exafore:i102-glo-ephe","ref":"i102-glo-ephe","sha":"72a7a4b80ee956ee0597cebea8d3e915713a6ce6","user":{"login":"rge-exafore","id":16404161,"avatar_url":"https://avatars.githubusercontent.com/u/16404161?v=3","gravatar_id":"","url":"https://api.github.com/users/rge-exafore","html_url":"https://github.com/rge-exafore","followers_url":"https://api.github.com/users/rge-exafore/followers","following_url":"https://api.github.com/users/rge-exafore/following{/other_user}","gists_url":"https://api.github.com/users/rge-exafore/gists{/gist_id}","starred_url":"https://api.github.com/users/rge-exafore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rge-exafore/subscriptions","organizations_url":"https://api.github.com/users/rge-exafore/orgs","repos_url":"https://api.github.com/users/rge-exafore/repos","events_url":"https://api.github.com/users/rge-exafore/events{/privacy}","received_events_url":"https://api.github.com/users/rge-exafore/received_events","type":"User","site_admin":false},"repo":{"id":54095229,"name":"libswiftnav","full_name":"rge-exafore/libswiftnav","owner":{"login":"rge-exafore","id":16404161,"avatar_url":"https://avatars.githubusercontent.com/u/16404161?v=3","gravatar_id":"","url":"https://api.github.com/users/rge-exafore","html_url":"https://github.com/rge-exafore","followers_url":"https://api.github.com/users/rge-exafore/followers","following_url":"https://api.github.com/users/rge-exafore/following{/other_user}","gists_url":"https://api.github.com/users/rge-exafore/gists{/gist_id}","starred_url":"https://api.github.com/users/rge-exafore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rge-exafore/subscriptions","organizations_url":"https://api.github.com/users/rge-exafore/orgs","repos_url":"https://api.github.com/users/rge-exafore/repos","events_url":"https://api.github.com/users/rge-exafore/events{/privacy}","received_events_url":"https://api.github.com/users/rge-exafore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rge-exafore/libswiftnav","description":"A portable C library implementing GNSS related functions and algorithms.","fork":true,"url":"https://api.github.com/repos/rge-exafore/libswiftnav","forks_url":"https://api.github.com/repos/rge-exafore/libswiftnav/forks","keys_url":"https://api.github.com/repos/rge-exafore/libswiftnav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rge-exafore/libswiftnav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rge-exafore/libswiftnav/teams","hooks_url":"https://api.github.com/repos/rge-exafore/libswiftnav/hooks","issue_events_url":"https://api.github.com/repos/rge-exafore/libswiftnav/issues/events{/number}","events_url":"https://api.github.com/repos/rge-exafore/libswiftnav/events","assignees_url":"https://api.github.com/repos/rge-exafore/libswiftnav/assignees{/user}","branches_url":"https://api.github.com/repos/rge-exafore/libswiftnav/branches{/branch}","tags_url":"https://api.github.com/repos/rge-exafore/libswiftnav/tags","blobs_url":"https://api.github.com/repos/rge-exafore/libswiftnav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rge-exafore/libswiftnav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rge-exafore/libswiftnav/git/refs{/sha}","trees_url":"https://api.github.com/repos/rge-exafore/libswiftnav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rge-exafore/libswiftnav/statuses/{sha}","languages_url":"https://api.github.com/repos/rge-exafore/libswiftnav/languages","stargazers_url":"https://api.github.com/repos/rge-exafore/libswiftnav/stargazers","contributors_url":"https://api.github.com/repos/rge-exafore/libswiftnav/contributors","subscribers_url":"https://api.github.com/repos/rge-exafore/libswiftnav/subscribers","subscription_url":"https://api.github.com/repos/rge-exafore/libswiftnav/subscription","commits_url":"https://api.github.com/repos/rge-exafore/libswiftnav/commits{/sha}","git_commits_url":"https://api.github.com/repos/rge-exafore/libswiftnav/git/commits{/sha}","comments_url":"https://api.github.com/repos/rge-exafore/libswiftnav/comments{/number}","issue_comment_url":"https://api.github.com/repos/rge-exafore/libswiftnav/issues/comments{/number}","contents_url":"https://api.github.com/repos/rge-exafore/libswiftnav/contents/{+path}","compare_url":"https://api.github.com/repos/rge-exafore/libswiftnav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rge-exafore/libswiftnav/merges","archive_url":"https://api.github.com/repos/rge-exafore/libswiftnav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rge-exafore/libswiftnav/downloads","issues_url":"https://api.github.com/repos/rge-exafore/libswiftnav/issues{/number}","pulls_url":"https://api.github.com/repos/rge-exafore/libswiftnav/pulls{/number}","milestones_url":"https://api.github.com/repos/rge-exafore/libswiftnav/milestones{/number}","notifications_url":"https://api.github.com/repos/rge-exafore/libswiftnav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rge-exafore/libswiftnav/labels{/name}","releases_url":"https://api.github.com/repos/rge-exafore/libswiftnav/releases{/id}","deployments_url":"https://api.github.com/repos/rge-exafore/libswiftnav/deployments","created_at":"2016-03-17T06:47:53Z","updated_at":"2016-03-17T06:48:06Z","pushed_at":"2016-03-31T15:25:46Z","git_url":"git://github.com/rge-exafore/libswiftnav.git","ssh_url":"git@github.com:rge-exafore/libswiftnav.git","clone_url":"https://github.com/rge-exafore/libswiftnav.git","svn_url":"https://github.com/rge-exafore/libswiftnav","homepage":"","size":8729,"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":"d4033fc8a02de3af4716145db1ff52f54a3f704e","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":7901696,"name":"libswiftnav","full_name":"swift-nav/libswiftnav","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/libswiftnav","description":"A portable C library implementing GNSS related functions and algorithms.","fork":false,"url":"https://api.github.com/repos/swift-nav/libswiftnav","forks_url":"https://api.github.com/repos/swift-nav/libswiftnav/forks","keys_url":"https://api.github.com/repos/swift-nav/libswiftnav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swift-nav/libswiftnav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swift-nav/libswiftnav/teams","hooks_url":"https://api.github.com/repos/swift-nav/libswiftnav/hooks","issue_events_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/events{/number}","events_url":"https://api.github.com/repos/swift-nav/libswiftnav/events","assignees_url":"https://api.github.com/repos/swift-nav/libswiftnav/assignees{/user}","branches_url":"https://api.github.com/repos/swift-nav/libswiftnav/branches{/branch}","tags_url":"https://api.github.com/repos/swift-nav/libswiftnav/tags","blobs_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/refs{/sha}","trees_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/{sha}","languages_url":"https://api.github.com/repos/swift-nav/libswiftnav/languages","stargazers_url":"https://api.github.com/repos/swift-nav/libswiftnav/stargazers","contributors_url":"https://api.github.com/repos/swift-nav/libswiftnav/contributors","subscribers_url":"https://api.github.com/repos/swift-nav/libswiftnav/subscribers","subscription_url":"https://api.github.com/repos/swift-nav/libswiftnav/subscription","commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/commits{/sha}","git_commits_url":"https://api.github.com/repos/swift-nav/libswiftnav/git/commits{/sha}","comments_url":"https://api.github.com/repos/swift-nav/libswiftnav/comments{/number}","issue_comment_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues/comments{/number}","contents_url":"https://api.github.com/repos/swift-nav/libswiftnav/contents/{+path}","compare_url":"https://api.github.com/repos/swift-nav/libswiftnav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swift-nav/libswiftnav/merges","archive_url":"https://api.github.com/repos/swift-nav/libswiftnav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swift-nav/libswiftnav/downloads","issues_url":"https://api.github.com/repos/swift-nav/libswiftnav/issues{/number}","pulls_url":"https://api.github.com/repos/swift-nav/libswiftnav/pulls{/number}","milestones_url":"https://api.github.com/repos/swift-nav/libswiftnav/milestones{/number}","notifications_url":"https://api.github.com/repos/swift-nav/libswiftnav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swift-nav/libswiftnav/labels{/name}","releases_url":"https://api.github.com/repos/swift-nav/libswiftnav/releases{/id}","deployments_url":"https://api.github.com/repos/swift-nav/libswiftnav/deployments","created_at":"2013-01-29T21:32:13Z","updated_at":"2016-03-23T06:54:41Z","pushed_at":"2016-04-01T07:55:19Z","git_url":"git://github.com/swift-nav/libswiftnav.git","ssh_url":"git@github.com:swift-nav/libswiftnav.git","clone_url":"https://github.com/swift-nav/libswiftnav.git","svn_url":"https://github.com/swift-nav/libswiftnav","homepage":"","size":9959,"stargazers_count":49,"watchers_count":49,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":82,"forks":64,"open_issues":82,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320"},"html":{"href":"https://github.com/swift-nav/libswiftnav/pull/320"},"issue":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/issues/320"},"comments":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/issues/320/comments"},"review_comments":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320/comments"},"review_comment":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/pulls/320/commits"},"statuses":{"href":"https://api.github.com/repos/swift-nav/libswiftnav/statuses/72a7a4b80ee956ee0597cebea8d3e915713a6ce6"}}}}