{"action":"created","comment":{"url":"https://api.github.com/repos/KMC-70/kaos/pulls/comments/226006138","pull_request_review_id":165725978,"id":226006138,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjAwNjEzOA==","diff_hunk":"@@ -0,0 +1,86 @@\n+\"\"\"\n+This file defines a Sensor class. It represents a sensor object.\n+\n+Author: Team KMC-70.\n+\"\"\"\n+\n+from flask import Blueprint\n+\n+class Sensor(object):\n+    \"\"\"\n+    A Sensor object which represents a real-world sensor on a satellite.\n+    The attributes here are not set in stone and can change according to\n+    changes in the client's sensor models.\n+\n+    TODO: confirm these attribute descriptions. Most attribute descriptions can be found here:\n+    http://help.agi.com/stk/index.htm#stk/ObjectMap_Sensor.htm%3FTocPath%3DGetting%2520Started%7CBuild%2520a%2520Scenario%7CAdd%2520STK%2520Objects%7CObject%2520Properties%7CSensors%7C_____0\n+\n+    Attributes:\n+        sensor_id: unique sensor ID specifying the type of sensor.\n+        agile: TODO: what is this?\n+        beam_mode_type: TODO: what is this?\n+        center_boresight_pitch_angle: sensor pitch angle.\n+        center_boresight_roll_angle: sensor roll angle\n+        dollar_cost: cost of sensor in dollars. TODO: is this necessary?\n+        maneuver_speed: speed of sensor maneuverability.\n+        name: sensor name (manufacturer name)\n+        platform_id:\n+        pointing_conic_half_angle: half-angle of sensor's conic view\n+        pointing_horizontal_half_angle: The angle from the boresight (Z) direction to the\n+                                        edge of the sensor in the XZ plane of the sensor's coordinate system.\n+        pointing_vertical_half_angle: The angle from the boresight (Z) direction to the\n+                                        edge of the sensor in the YZ plane of the sensor's coordinate system.\n+        scene_duration: duration of viewing scene.\n+        sensor_pointing_type: pointing type of the sensor. E.g. 3D model, along vector, fixed etc.\n+        sensor_type: type of field of view of the sensor. E.g. Complex conic, custom, rectangular etc.\n+        stabilization_time:\n+        view_horizontal_half_angle: The angle from the boresight (Z) direction to the\n+                                    edge of the sensor in the XZ plane of the sensor's coordinate system.\n+        view_vertical_half_angle: The angle from the boresight (Z) direction to the\n+                                    edge of the sensor in the YZ plane of the sensor's coordinate system.\n+\n+    Example attribute string (Note that the attributes of this string are out of order with the above):\n+\n+    '831cf482-b37b-4468-83cd-659814256892',true,,'0','0','100','1',\n+    'WV110','41fe7f26-c557-49eb-aec8-dd658966f3a6','40.6','-1','-1','0',0,1,'1','2','0.6'\n+    \"\"\"\n+    def __init__(self,\n+                sensor_id,\n+                agile=True,\n+                beam_mode_type,\n+                center_boresight_pitch_angle,\n+                center_boresight_roll_angle,\n+                dollar_cost,\n+                maneuver_speed,\n+                name,\n+                platform_id,\n+                pointing_conic_half_angle,\n+                pointing_horizontal_half_angle,\n+                pointing_vertical_half_angle,\n+                scene_duration,\n+                sensor_pointing_type,\n+                sensor_type,\n+                stabilization_time,\n+                view_horizontal_half_angle,\n+                view_vertical_half_angle):\n+\n+        self.sensor_id                          = sensor_id","path":"kaos/sensors/sensor.py","position":67,"original_position":67,"commit_id":"002e773aa28d4b599d4a4cdced4403191751651a","original_commit_id":"002e773aa28d4b599d4a4cdced4403191751651a","user":{"login":"lsav","id":10180904,"node_id":"MDQ6VXNlcjEwMTgwOTA0","avatar_url":"https://avatars2.githubusercontent.com/u/10180904?v=4","gravatar_id":"","url":"https://api.github.com/users/lsav","html_url":"https://github.com/lsav","followers_url":"https://api.github.com/users/lsav/followers","following_url":"https://api.github.com/users/lsav/following{/other_user}","gists_url":"https://api.github.com/users/lsav/gists{/gist_id}","starred_url":"https://api.github.com/users/lsav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsav/subscriptions","organizations_url":"https://api.github.com/users/lsav/orgs","repos_url":"https://api.github.com/users/lsav/repos","events_url":"https://api.github.com/users/lsav/events{/privacy}","received_events_url":"https://api.github.com/users/lsav/received_events","type":"User","site_admin":false},"body":"Please don't align variable assignments. (makes more work in the future when changing/adding things)","created_at":"2018-10-17T16:32:17Z","updated_at":"2018-10-17T16:32:17Z","html_url":"https://github.com/KMC-70/kaos/pull/2#discussion_r226006138","pull_request_url":"https://api.github.com/repos/KMC-70/kaos/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/comments/226006138"},"html":{"href":"https://github.com/KMC-70/kaos/pull/2#discussion_r226006138"},"pull_request":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/KMC-70/kaos/pulls/2","id":223424536,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNDI0NTM2","html_url":"https://github.com/KMC-70/kaos/pull/2","diff_url":"https://github.com/KMC-70/kaos/pull/2.diff","patch_url":"https://github.com/KMC-70/kaos/pull/2.patch","issue_url":"https://api.github.com/repos/KMC-70/kaos/issues/2","number":2,"state":"open","locked":false,"title":"initial sensor model","user":{"login":"j-asefa","id":13409617,"node_id":"MDQ6VXNlcjEzNDA5NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/13409617?v=4","gravatar_id":"","url":"https://api.github.com/users/j-asefa","html_url":"https://github.com/j-asefa","followers_url":"https://api.github.com/users/j-asefa/followers","following_url":"https://api.github.com/users/j-asefa/following{/other_user}","gists_url":"https://api.github.com/users/j-asefa/gists{/gist_id}","starred_url":"https://api.github.com/users/j-asefa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-asefa/subscriptions","organizations_url":"https://api.github.com/users/j-asefa/orgs","repos_url":"https://api.github.com/users/j-asefa/repos","events_url":"https://api.github.com/users/j-asefa/events{/privacy}","received_events_url":"https://api.github.com/users/j-asefa/received_events","type":"User","site_admin":false},"body":"Initial model for a generic sensor based on the client's specs (check emails). Wanted to include it mostly for documentation. ","created_at":"2018-10-16T23:16:02Z","updated_at":"2018-10-17T16:32:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"134136bed081725f362255c081aca4be1fa8a252","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KMC-70/kaos/pulls/2/commits","review_comments_url":"https://api.github.com/repos/KMC-70/kaos/pulls/2/comments","review_comment_url":"https://api.github.com/repos/KMC-70/kaos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KMC-70/kaos/issues/2/comments","statuses_url":"https://api.github.com/repos/KMC-70/kaos/statuses/002e773aa28d4b599d4a4cdced4403191751651a","head":{"label":"KMC-70:sensors","ref":"sensors","sha":"002e773aa28d4b599d4a4cdced4403191751651a","user":{"login":"KMC-70","id":43869542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzODY5NTQy","avatar_url":"https://avatars2.githubusercontent.com/u/43869542?v=4","gravatar_id":"","url":"https://api.github.com/users/KMC-70","html_url":"https://github.com/KMC-70","followers_url":"https://api.github.com/users/KMC-70/followers","following_url":"https://api.github.com/users/KMC-70/following{/other_user}","gists_url":"https://api.github.com/users/KMC-70/gists{/gist_id}","starred_url":"https://api.github.com/users/KMC-70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KMC-70/subscriptions","organizations_url":"https://api.github.com/users/KMC-70/orgs","repos_url":"https://api.github.com/users/KMC-70/repos","events_url":"https://api.github.com/users/KMC-70/events{/privacy}","received_events_url":"https://api.github.com/users/KMC-70/received_events","type":"Organization","site_admin":false},"repo":{"id":151758240,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3NTgyNDA=","name":"kaos","full_name":"KMC-70/kaos","private":false,"owner":{"login":"KMC-70","id":43869542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzODY5NTQy","avatar_url":"https://avatars2.githubusercontent.com/u/43869542?v=4","gravatar_id":"","url":"https://api.github.com/users/KMC-70","html_url":"https://github.com/KMC-70","followers_url":"https://api.github.com/users/KMC-70/followers","following_url":"https://api.github.com/users/KMC-70/following{/other_user}","gists_url":"https://api.github.com/users/KMC-70/gists{/gist_id}","starred_url":"https://api.github.com/users/KMC-70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KMC-70/subscriptions","organizations_url":"https://api.github.com/users/KMC-70/orgs","repos_url":"https://api.github.com/users/KMC-70/repos","events_url":"https://api.github.com/users/KMC-70/events{/privacy}","received_events_url":"https://api.github.com/users/KMC-70/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/KMC-70/kaos","description":"KAOS: Kerbodyne Analytical Orbit System","fork":false,"url":"https://api.github.com/repos/KMC-70/kaos","forks_url":"https://api.github.com/repos/KMC-70/kaos/forks","keys_url":"https://api.github.com/repos/KMC-70/kaos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KMC-70/kaos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KMC-70/kaos/teams","hooks_url":"https://api.github.com/repos/KMC-70/kaos/hooks","issue_events_url":"https://api.github.com/repos/KMC-70/kaos/issues/events{/number}","events_url":"https://api.github.com/repos/KMC-70/kaos/events","assignees_url":"https://api.github.com/repos/KMC-70/kaos/assignees{/user}","branches_url":"https://api.github.com/repos/KMC-70/kaos/branches{/branch}","tags_url":"https://api.github.com/repos/KMC-70/kaos/tags","blobs_url":"https://api.github.com/repos/KMC-70/kaos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KMC-70/kaos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KMC-70/kaos/git/refs{/sha}","trees_url":"https://api.github.com/repos/KMC-70/kaos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KMC-70/kaos/statuses/{sha}","languages_url":"https://api.github.com/repos/KMC-70/kaos/languages","stargazers_url":"https://api.github.com/repos/KMC-70/kaos/stargazers","contributors_url":"https://api.github.com/repos/KMC-70/kaos/contributors","subscribers_url":"https://api.github.com/repos/KMC-70/kaos/subscribers","subscription_url":"https://api.github.com/repos/KMC-70/kaos/subscription","commits_url":"https://api.github.com/repos/KMC-70/kaos/commits{/sha}","git_commits_url":"https://api.github.com/repos/KMC-70/kaos/git/commits{/sha}","comments_url":"https://api.github.com/repos/KMC-70/kaos/comments{/number}","issue_comment_url":"https://api.github.com/repos/KMC-70/kaos/issues/comments{/number}","contents_url":"https://api.github.com/repos/KMC-70/kaos/contents/{+path}","compare_url":"https://api.github.com/repos/KMC-70/kaos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KMC-70/kaos/merges","archive_url":"https://api.github.com/repos/KMC-70/kaos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KMC-70/kaos/downloads","issues_url":"https://api.github.com/repos/KMC-70/kaos/issues{/number}","pulls_url":"https://api.github.com/repos/KMC-70/kaos/pulls{/number}","milestones_url":"https://api.github.com/repos/KMC-70/kaos/milestones{/number}","notifications_url":"https://api.github.com/repos/KMC-70/kaos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KMC-70/kaos/labels{/name}","releases_url":"https://api.github.com/repos/KMC-70/kaos/releases{/id}","deployments_url":"https://api.github.com/repos/KMC-70/kaos/deployments","created_at":"2018-10-05T17:50:45Z","updated_at":"2018-10-17T01:05:46Z","pushed_at":"2018-10-17T01:05:44Z","git_url":"git://github.com/KMC-70/kaos.git","ssh_url":"git@github.com:KMC-70/kaos.git","clone_url":"https://github.com/KMC-70/kaos.git","svn_url":"https://github.com/KMC-70/kaos","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KMC-70:master","ref":"master","sha":"229d40188ba92b15e00c39d97f2f54b5f5857e6f","user":{"login":"KMC-70","id":43869542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzODY5NTQy","avatar_url":"https://avatars2.githubusercontent.com/u/43869542?v=4","gravatar_id":"","url":"https://api.github.com/users/KMC-70","html_url":"https://github.com/KMC-70","followers_url":"https://api.github.com/users/KMC-70/followers","following_url":"https://api.github.com/users/KMC-70/following{/other_user}","gists_url":"https://api.github.com/users/KMC-70/gists{/gist_id}","starred_url":"https://api.github.com/users/KMC-70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KMC-70/subscriptions","organizations_url":"https://api.github.com/users/KMC-70/orgs","repos_url":"https://api.github.com/users/KMC-70/repos","events_url":"https://api.github.com/users/KMC-70/events{/privacy}","received_events_url":"https://api.github.com/users/KMC-70/received_events","type":"Organization","site_admin":false},"repo":{"id":151758240,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3NTgyNDA=","name":"kaos","full_name":"KMC-70/kaos","private":false,"owner":{"login":"KMC-70","id":43869542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzODY5NTQy","avatar_url":"https://avatars2.githubusercontent.com/u/43869542?v=4","gravatar_id":"","url":"https://api.github.com/users/KMC-70","html_url":"https://github.com/KMC-70","followers_url":"https://api.github.com/users/KMC-70/followers","following_url":"https://api.github.com/users/KMC-70/following{/other_user}","gists_url":"https://api.github.com/users/KMC-70/gists{/gist_id}","starred_url":"https://api.github.com/users/KMC-70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KMC-70/subscriptions","organizations_url":"https://api.github.com/users/KMC-70/orgs","repos_url":"https://api.github.com/users/KMC-70/repos","events_url":"https://api.github.com/users/KMC-70/events{/privacy}","received_events_url":"https://api.github.com/users/KMC-70/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/KMC-70/kaos","description":"KAOS: Kerbodyne Analytical Orbit System","fork":false,"url":"https://api.github.com/repos/KMC-70/kaos","forks_url":"https://api.github.com/repos/KMC-70/kaos/forks","keys_url":"https://api.github.com/repos/KMC-70/kaos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KMC-70/kaos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KMC-70/kaos/teams","hooks_url":"https://api.github.com/repos/KMC-70/kaos/hooks","issue_events_url":"https://api.github.com/repos/KMC-70/kaos/issues/events{/number}","events_url":"https://api.github.com/repos/KMC-70/kaos/events","assignees_url":"https://api.github.com/repos/KMC-70/kaos/assignees{/user}","branches_url":"https://api.github.com/repos/KMC-70/kaos/branches{/branch}","tags_url":"https://api.github.com/repos/KMC-70/kaos/tags","blobs_url":"https://api.github.com/repos/KMC-70/kaos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KMC-70/kaos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KMC-70/kaos/git/refs{/sha}","trees_url":"https://api.github.com/repos/KMC-70/kaos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KMC-70/kaos/statuses/{sha}","languages_url":"https://api.github.com/repos/KMC-70/kaos/languages","stargazers_url":"https://api.github.com/repos/KMC-70/kaos/stargazers","contributors_url":"https://api.github.com/repos/KMC-70/kaos/contributors","subscribers_url":"https://api.github.com/repos/KMC-70/kaos/subscribers","subscription_url":"https://api.github.com/repos/KMC-70/kaos/subscription","commits_url":"https://api.github.com/repos/KMC-70/kaos/commits{/sha}","git_commits_url":"https://api.github.com/repos/KMC-70/kaos/git/commits{/sha}","comments_url":"https://api.github.com/repos/KMC-70/kaos/comments{/number}","issue_comment_url":"https://api.github.com/repos/KMC-70/kaos/issues/comments{/number}","contents_url":"https://api.github.com/repos/KMC-70/kaos/contents/{+path}","compare_url":"https://api.github.com/repos/KMC-70/kaos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KMC-70/kaos/merges","archive_url":"https://api.github.com/repos/KMC-70/kaos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KMC-70/kaos/downloads","issues_url":"https://api.github.com/repos/KMC-70/kaos/issues{/number}","pulls_url":"https://api.github.com/repos/KMC-70/kaos/pulls{/number}","milestones_url":"https://api.github.com/repos/KMC-70/kaos/milestones{/number}","notifications_url":"https://api.github.com/repos/KMC-70/kaos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KMC-70/kaos/labels{/name}","releases_url":"https://api.github.com/repos/KMC-70/kaos/releases{/id}","deployments_url":"https://api.github.com/repos/KMC-70/kaos/deployments","created_at":"2018-10-05T17:50:45Z","updated_at":"2018-10-17T01:05:46Z","pushed_at":"2018-10-17T01:05:44Z","git_url":"git://github.com/KMC-70/kaos.git","ssh_url":"git@github.com:KMC-70/kaos.git","clone_url":"https://github.com/KMC-70/kaos.git","svn_url":"https://github.com/KMC-70/kaos","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/2"},"html":{"href":"https://github.com/KMC-70/kaos/pull/2"},"issue":{"href":"https://api.github.com/repos/KMC-70/kaos/issues/2"},"comments":{"href":"https://api.github.com/repos/KMC-70/kaos/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KMC-70/kaos/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/KMC-70/kaos/statuses/002e773aa28d4b599d4a4cdced4403191751651a"}},"author_association":"NONE"}}
{"actor":{"display_login":"lsav"}}