{"action":"created","comment":{"url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/comments/179980709","pull_request_review_id":110321207,"id":179980709,"diff_hunk":"@@ -78,34 +93,166 @@ public void robotInit() {\n     zeroElevator.setRunWhenDisabled(true);\n     SmartDashboard.putData(zeroElevator);\n \n-    UsbCamera camera = CameraServer.getInstance().startAutomaticCapture(Tuning.camID);\n-    camera.setResolution(128, 73);\n-    camera.setFPS(30);\n+    Command zeroDrivetrain = new SimpleCommand(\"[Drivetrain] Zero Drivetrain\", drivetrain::zeroEncoders);\n+    zeroDrivetrain.setRunWhenDisabled(true);\n+    SmartDashboard.putData(zeroDrivetrain);\n+\n+    UsbCamera overheadCam = CameraServer.getInstance().startAutomaticCapture(Tuning.overheadCamID);\n+    overheadCam.setResolution(128, 73);\n+    overheadCam.setFPS(30);\n+\n+    UsbCamera turretCam = CameraServer.getInstance().startAutomaticCapture(Tuning.turretCamID);\n+    turretCam.setResolution(128, 73);\n+    overheadCam.setFPS(30);\n+\n+\n+    Command refreshProfiles = new SimpleCommand(\"[MotionP] Refresh Motion Profiles\",\n+        () -> profiles = new CSVProfileManager(new File(\"/home/lvuser/profiles\")));\n+    refreshProfiles.setRunWhenDisabled(true);\n+    SmartDashboard.putData(refreshProfiles);\n \n     // initialize profiles\n     // unlike other static fields, initialized here because there's a high likelihood of it throwing\n     // an exception and exceptions thrown during static initialization are not fun.\n     profiles = new CSVProfileManager(new File(\"/home/lvuser/profiles\"));\n+\n+    SmartDashboard.putData(drivetrain);\n+    SmartDashboard.putData(PowerManager.getInstance());\n   }\n \n   @Override\n   public void disabledInit() {\n+    Robot.drivetrain.configTalonsForVelocity();\n+    if (autoCommand != null) {\n+      autoCommand.cancel();\n+    }\n   }\n \n+  @SuppressWarnings(\"Duplicates\")\n   @Override\n   public void autonomousInit() {","path":"src/main/java/org/team1540/robot2018/Robot.java","position":110,"original_position":110,"commit_id":"26c5e352707c307dcae29521f36e4d355e25f412","original_commit_id":"26c5e352707c307dcae29521f36e4d355e25f412","user":{"login":"edelmanjm","id":19657807,"avatar_url":"https://avatars0.githubusercontent.com/u/19657807?v=4","gravatar_id":"","url":"https://api.github.com/users/edelmanjm","html_url":"https://github.com/edelmanjm","followers_url":"https://api.github.com/users/edelmanjm/followers","following_url":"https://api.github.com/users/edelmanjm/following{/other_user}","gists_url":"https://api.github.com/users/edelmanjm/gists{/gist_id}","starred_url":"https://api.github.com/users/edelmanjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edelmanjm/subscriptions","organizations_url":"https://api.github.com/users/edelmanjm/orgs","repos_url":"https://api.github.com/users/edelmanjm/repos","events_url":"https://api.github.com/users/edelmanjm/events{/privacy}","received_events_url":"https://api.github.com/users/edelmanjm/received_events","type":"User","site_admin":false},"body":"Surely this could be made way, way, way nicer using enums and methods around those?","created_at":"2018-04-09T03:36:03Z","updated_at":"2018-04-09T03:44:26Z","html_url":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31#discussion_r179980709","pull_request_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/comments/179980709"},"html":{"href":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31#discussion_r179980709"},"pull_request":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31","id":180203184,"html_url":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31","diff_url":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31.diff","patch_url":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31.patch","issue_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/31","number":31,"state":"open","locked":false,"title":"Changes During PNW Champs","user":{"login":"RobinsonZ","id":22688576,"avatar_url":"https://avatars3.githubusercontent.com/u/22688576?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinsonZ","html_url":"https://github.com/RobinsonZ","followers_url":"https://api.github.com/users/RobinsonZ/followers","following_url":"https://api.github.com/users/RobinsonZ/following{/other_user}","gists_url":"https://api.github.com/users/RobinsonZ/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinsonZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinsonZ/subscriptions","organizations_url":"https://api.github.com/users/RobinsonZ/orgs","repos_url":"https://api.github.com/users/RobinsonZ/repos","events_url":"https://api.github.com/users/RobinsonZ/events{/privacy}","received_events_url":"https://api.github.com/users/RobinsonZ/received_events","type":"User","site_admin":false},"body":"that's what this is","created_at":"2018-04-09T03:30:51Z","updated_at":"2018-04-09T03:44:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17de9c00c5e4e9ec5a75bbead99d05b35bbb7a20","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31/commits","review_comments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31/comments","review_comment_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/31/comments","statuses_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/statuses/26c5e352707c307dcae29521f36e4d355e25f412","head":{"label":"flamingchickens1540:pnw-champs","ref":"pnw-champs","sha":"26c5e352707c307dcae29521f36e4d355e25f412","user":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars2.githubusercontent.com/u/5280254?v=4","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":116212833,"name":"pandora-titan-2018","full_name":"flamingchickens1540/pandora-titan-2018","owner":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars2.githubusercontent.com/u/5280254?v=4","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/pandora-titan-2018","description":null,"fork":false,"url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018","forks_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/forks","keys_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/teams","hooks_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/hooks","issue_events_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/events{/number}","events_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/events","assignees_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/assignees{/user}","branches_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/branches{/branch}","tags_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/tags","blobs_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/languages","stargazers_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/stargazers","contributors_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/contributors","subscribers_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/subscribers","subscription_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/subscription","commits_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/contents/{+path}","compare_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/merges","archive_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/downloads","issues_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues{/number}","pulls_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/labels{/name}","releases_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/releases{/id}","deployments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/deployments","created_at":"2018-01-04T04:02:29Z","updated_at":"2018-03-22T18:31:40Z","pushed_at":"2018-04-09T03:30:52Z","git_url":"git://github.com/flamingchickens1540/pandora-titan-2018.git","ssh_url":"git@github.com:flamingchickens1540/pandora-titan-2018.git","clone_url":"https://github.com/flamingchickens1540/pandora-titan-2018.git","svn_url":"https://github.com/flamingchickens1540/pandora-titan-2018","homepage":null,"size":6985,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"flamingchickens1540:master","ref":"master","sha":"370d5837059adcdebb0c9c6bf76ef2b0db01dc11","user":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars2.githubusercontent.com/u/5280254?v=4","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":116212833,"name":"pandora-titan-2018","full_name":"flamingchickens1540/pandora-titan-2018","owner":{"login":"flamingchickens1540","id":5280254,"avatar_url":"https://avatars2.githubusercontent.com/u/5280254?v=4","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/pandora-titan-2018","description":null,"fork":false,"url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018","forks_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/forks","keys_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/teams","hooks_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/hooks","issue_events_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/events{/number}","events_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/events","assignees_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/assignees{/user}","branches_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/branches{/branch}","tags_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/tags","blobs_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/languages","stargazers_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/stargazers","contributors_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/contributors","subscribers_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/subscribers","subscription_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/subscription","commits_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/contents/{+path}","compare_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/merges","archive_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/downloads","issues_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues{/number}","pulls_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/labels{/name}","releases_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/releases{/id}","deployments_url":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/deployments","created_at":"2018-01-04T04:02:29Z","updated_at":"2018-03-22T18:31:40Z","pushed_at":"2018-04-09T03:30:52Z","git_url":"git://github.com/flamingchickens1540/pandora-titan-2018.git","ssh_url":"git@github.com:flamingchickens1540/pandora-titan-2018.git","clone_url":"https://github.com/flamingchickens1540/pandora-titan-2018.git","svn_url":"https://github.com/flamingchickens1540/pandora-titan-2018","homepage":null,"size":6985,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31"},"html":{"href":"https://github.com/flamingchickens1540/pandora-titan-2018/pull/31"},"issue":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/31"},"comments":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/flamingchickens1540/pandora-titan-2018/statuses/26c5e352707c307dcae29521f36e4d355e25f412"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"edelmanjm"}}