{"action":"created","comment":{"url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/comments/24548666","id":24548666,"diff_hunk":"@@ -23,16 +30,16 @@\n \n     public static void setup() {\n \n-//        FloatInputPoll encoder = Igneous.makeEncoder(10, 11, false);\n-        FloatInputPoll encoder = FloatMixing.always(0.0f);\n-        //FloatOutput speedControl = Igneous.makeTalonMotor(2, Igneous.MOTOR_REVERSE, 0.1f);\n+        FloatInputPoll encoder = Igneous.makeEncoder(10, 11, false);\n         ExtendedMotor clampCAN = Igneous.makeCANTalon(1);\n-        FloatOutput speedControl;\n+        FloatOutput f = new FloatStatus();\n         try {\n-            speedControl = clampCAN.asMode(ExtendedMotor.OutputControlMode.VOLTAGE_FRACTIONAL);\n+            f = clampCAN.asMode(ExtendedMotor.OutputControlMode.VOLTAGE_FRACTIONAL);\n         } catch (ExtendedMotorFailureException e) {\n-            throw new RuntimeException(e);\n+            Logger.log(LogLevel.SEVERE, \"Exception throw when creating clamp motor: \", e);\n         }\n+        \n+        final FloatOutput speedControl = f;","path":"QuasarHelios2015/src/org/team1540/quasarhelios/Clamp.java","position":45,"original_position":45,"commit_id":"e9975a5ae0abd476c1ef0c0a1185197a33f25787","original_commit_id":"e9975a5ae0abd476c1ef0c0a1185197a33f25787","user":{"login":"col6y","id":5056099,"avatar_url":"https://avatars.githubusercontent.com/u/5056099?v=3","gravatar_id":"","url":"https://api.github.com/users/col6y","html_url":"https://github.com/col6y","followers_url":"https://api.github.com/users/col6y/followers","following_url":"https://api.github.com/users/col6y/following{/other_user}","gists_url":"https://api.github.com/users/col6y/gists{/gist_id}","starred_url":"https://api.github.com/users/col6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/col6y/subscriptions","organizations_url":"https://api.github.com/users/col6y/orgs","repos_url":"https://api.github.com/users/col6y/repos","events_url":"https://api.github.com/users/col6y/events{/privacy}","received_events_url":"https://api.github.com/users/col6y/received_events","type":"User","site_admin":false},"body":"`f` should probably still have a better name than that.","created_at":"2015-02-12T00:30:50Z","updated_at":"2015-02-12T00:30:50Z","html_url":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55#discussion_r24548666","pull_request_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/comments/24548666"},"html":{"href":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55#discussion_r24548666"},"pull_request":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55","id":29141467,"html_url":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55","diff_url":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55.diff","patch_url":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55.patch","issue_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/55","number":55,"state":"open","locked":false,"title":"Robustify","user":{"login":"vincent-miller","id":10442769,"avatar_url":"https://avatars.githubusercontent.com/u/10442769?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-miller","html_url":"https://github.com/vincent-miller","followers_url":"https://api.github.com/users/vincent-miller/followers","following_url":"https://api.github.com/users/vincent-miller/following{/other_user}","gists_url":"https://api.github.com/users/vincent-miller/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-miller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-miller/subscriptions","organizations_url":"https://api.github.com/users/vincent-miller/orgs","repos_url":"https://api.github.com/users/vincent-miller/repos","events_url":"https://api.github.com/users/vincent-miller/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-miller/received_events","type":"User","site_admin":false},"body":"Made elevator stop automatically after an adjustable period of time, and added another control mode to Clamp where the stick bypasses PID and controls the speed of the motor directly.","created_at":"2015-02-12T00:09:28Z","updated_at":"2015-02-12T00:30:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca1a131fff4e1f9fd5930a9ae4e1385f2f778070","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55/commits","review_comments_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55/comments","review_comment_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/comments/{number}","comments_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/55/comments","statuses_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/statuses/e9975a5ae0abd476c1ef0c0a1185197a33f25787","head":{"label":"flamingchickens1540:robustify","ref":"robustify","sha":"e9975a5ae0abd476c1ef0c0a1185197a33f25787","user":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars.githubusercontent.com/u/5280254?v=3","gravatar_id":"","url":"https://api.github.com/users/flamingchickens1540","html_url":"https://github.com/flamingchickens1540","followers_url":"https://api.github.com/users/flamingchickens1540/followers","following_url":"https://api.github.com/users/flamingchickens1540/following{/other_user}","gists_url":"https://api.github.com/users/flamingchickens1540/gists{/gist_id}","starred_url":"https://api.github.com/users/flamingchickens1540/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamingchickens1540/subscriptions","organizations_url":"https://api.github.com/users/flamingchickens1540/orgs","repos_url":"https://api.github.com/users/flamingchickens1540/repos","events_url":"https://api.github.com/users/flamingchickens1540/events{/privacy}","received_events_url":"https://api.github.com/users/flamingchickens1540/received_events","type":"Organization","site_admin":false},"repo":{"id":28941570,"name":"quasar-helios-2015","full_name":"flamingchickens1540/quasar-helios-2015","owner":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars.githubusercontent.com/u/5280254?v=3","gravatar_id":"","url":"https://api.github.com/users/flamingchickens1540","html_url":"https://github.com/flamingchickens1540","followers_url":"https://api.github.com/users/flamingchickens1540/followers","following_url":"https://api.github.com/users/flamingchickens1540/following{/other_user}","gists_url":"https://api.github.com/users/flamingchickens1540/gists{/gist_id}","starred_url":"https://api.github.com/users/flamingchickens1540/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamingchickens1540/subscriptions","organizations_url":"https://api.github.com/users/flamingchickens1540/orgs","repos_url":"https://api.github.com/users/flamingchickens1540/repos","events_url":"https://api.github.com/users/flamingchickens1540/events{/privacy}","received_events_url":"https://api.github.com/users/flamingchickens1540/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flamingchickens1540/quasar-helios-2015","description":"Quasar and Helios code for Team 1540's 2015 season code","fork":false,"url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015","forks_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/forks","keys_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/teams","hooks_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/hooks","issue_events_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/events{/number}","events_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/events","assignees_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/assignees{/user}","branches_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/branches{/branch}","tags_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/tags","blobs_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/languages","stargazers_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/stargazers","contributors_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/contributors","subscribers_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/subscribers","subscription_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/subscription","commits_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/comments/{number}","contents_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/contents/{+path}","compare_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/merges","archive_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/downloads","issues_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues{/number}","pulls_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/labels{/name}","releases_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/releases{/id}","created_at":"2015-01-08T00:50:37Z","updated_at":"2015-02-12T00:27:22Z","pushed_at":"2015-02-12T00:28:25Z","git_url":"git://github.com/flamingchickens1540/quasar-helios-2015.git","ssh_url":"git@github.com:flamingchickens1540/quasar-helios-2015.git","clone_url":"https://github.com/flamingchickens1540/quasar-helios-2015.git","svn_url":"https://github.com/flamingchickens1540/quasar-helios-2015","homepage":null,"size":4684,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"flamingchickens1540:master","ref":"master","sha":"c1091b7ba48e9d66a7479179284c8afc360e621d","user":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars.githubusercontent.com/u/5280254?v=3","gravatar_id":"","url":"https://api.github.com/users/flamingchickens1540","html_url":"https://github.com/flamingchickens1540","followers_url":"https://api.github.com/users/flamingchickens1540/followers","following_url":"https://api.github.com/users/flamingchickens1540/following{/other_user}","gists_url":"https://api.github.com/users/flamingchickens1540/gists{/gist_id}","starred_url":"https://api.github.com/users/flamingchickens1540/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamingchickens1540/subscriptions","organizations_url":"https://api.github.com/users/flamingchickens1540/orgs","repos_url":"https://api.github.com/users/flamingchickens1540/repos","events_url":"https://api.github.com/users/flamingchickens1540/events{/privacy}","received_events_url":"https://api.github.com/users/flamingchickens1540/received_events","type":"Organization","site_admin":false},"repo":{"id":28941570,"name":"quasar-helios-2015","full_name":"flamingchickens1540/quasar-helios-2015","owner":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars.githubusercontent.com/u/5280254?v=3","gravatar_id":"","url":"https://api.github.com/users/flamingchickens1540","html_url":"https://github.com/flamingchickens1540","followers_url":"https://api.github.com/users/flamingchickens1540/followers","following_url":"https://api.github.com/users/flamingchickens1540/following{/other_user}","gists_url":"https://api.github.com/users/flamingchickens1540/gists{/gist_id}","starred_url":"https://api.github.com/users/flamingchickens1540/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamingchickens1540/subscriptions","organizations_url":"https://api.github.com/users/flamingchickens1540/orgs","repos_url":"https://api.github.com/users/flamingchickens1540/repos","events_url":"https://api.github.com/users/flamingchickens1540/events{/privacy}","received_events_url":"https://api.github.com/users/flamingchickens1540/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flamingchickens1540/quasar-helios-2015","description":"Quasar and Helios code for Team 1540's 2015 season code","fork":false,"url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015","forks_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/forks","keys_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/teams","hooks_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/hooks","issue_events_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/events{/number}","events_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/events","assignees_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/assignees{/user}","branches_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/branches{/branch}","tags_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/tags","blobs_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/languages","stargazers_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/stargazers","contributors_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/contributors","subscribers_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/subscribers","subscription_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/subscription","commits_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/comments/{number}","contents_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/contents/{+path}","compare_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/merges","archive_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/downloads","issues_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues{/number}","pulls_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/labels{/name}","releases_url":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/releases{/id}","created_at":"2015-01-08T00:50:37Z","updated_at":"2015-02-12T00:27:22Z","pushed_at":"2015-02-12T00:28:25Z","git_url":"git://github.com/flamingchickens1540/quasar-helios-2015.git","ssh_url":"git@github.com:flamingchickens1540/quasar-helios-2015.git","clone_url":"https://github.com/flamingchickens1540/quasar-helios-2015.git","svn_url":"https://github.com/flamingchickens1540/quasar-helios-2015","homepage":null,"size":4684,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55"},"html":{"href":"https://github.com/flamingchickens1540/quasar-helios-2015/pull/55"},"issue":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/55"},"comments":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/flamingchickens1540/quasar-helios-2015/statuses/e9975a5ae0abd476c1ef0c0a1185197a33f25787"}}}}