{"action":"created","comment":{"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments/49421184","id":49421184,"diff_hunk":"@@ -1,49 +1,47 @@\n package com.roboclub.robobuggy.ui;\n \n-import java.awt.Color;\n-import java.awt.GridLayout;\n-import javax.swing.BorderFactory;\n-import javax.swing.JPanel;\n+\n import com.roboclub.robobuggy.messages.SteeringMeasurement;\n import com.roboclub.robobuggy.ros.Message;\n import com.roboclub.robobuggy.ros.MessageListener;\n-import com.roboclub.robobuggy.ros.SensorChannel;\n+import com.roboclub.robobuggy.ros.NodeChannel;\n import com.roboclub.robobuggy.ros.Subscriber;\n \n-public class GraphPanel extends JPanel {\n+public class GraphPanel extends RoboBuggyGUIContainer {\n \tprivate static final long serialVersionUID = -5453262887347328140L;\n \n-\tprivate AngleGraph steering;\n-\tprivate AngleGraph roll;\n-\tprivate AngleGraph pitch;\n-\tprivate AngleGraph yaw;\n+\tprivate AngleGraph steeringGraph;\n+\tprivate AngleGraph rollGraph;\n+\tprivate AngleGraph pitchGraph;","path":"real_time/surface_src/java_src/Alice/src/main/java/com/roboclub/robobuggy/ui/GraphPanel.java","position":25,"original_position":25,"commit_id":"c65abad29fd0ec626514ae20409c974f75460625","original_commit_id":"c65abad29fd0ec626514ae20409c974f75460625","user":{"login":"TrevorDecker","id":3860985,"avatar_url":"https://avatars.githubusercontent.com/u/3860985?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorDecker","html_url":"https://github.com/TrevorDecker","followers_url":"https://api.github.com/users/TrevorDecker/followers","following_url":"https://api.github.com/users/TrevorDecker/following{/other_user}","gists_url":"https://api.github.com/users/TrevorDecker/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorDecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorDecker/subscriptions","organizations_url":"https://api.github.com/users/TrevorDecker/orgs","repos_url":"https://api.github.com/users/TrevorDecker/repos","events_url":"https://api.github.com/users/TrevorDecker/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorDecker/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [Perhaps 'pitchGraph' could be replaced by a local variable.](https://www.codacy.com/app/Mr-Trevor-Decker/RoboBuggy/file/1760190878/issues/source?bid=2938665&fileBranchId=3059924#l15)","created_at":"2016-01-12T07:06:57Z","updated_at":"2016-01-12T07:06:57Z","html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276#discussion_r49421184","pull_request_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276","_links":{"self":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments/49421184"},"html":{"href":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276#discussion_r49421184"},"pull_request":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276"}}},"pull_request":{"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276","id":55560376,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276","diff_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276.diff","patch_url":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276.patch","issue_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/276","number":276,"state":"open","locked":false,"title":"Trevor gui cleanup","user":{"login":"TrevorDecker","id":3860985,"avatar_url":"https://avatars.githubusercontent.com/u/3860985?v=3","gravatar_id":"","url":"https://api.github.com/users/TrevorDecker","html_url":"https://github.com/TrevorDecker","followers_url":"https://api.github.com/users/TrevorDecker/followers","following_url":"https://api.github.com/users/TrevorDecker/following{/other_user}","gists_url":"https://api.github.com/users/TrevorDecker/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorDecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorDecker/subscriptions","organizations_url":"https://api.github.com/users/TrevorDecker/orgs","repos_url":"https://api.github.com/users/TrevorDecker/repos","events_url":"https://api.github.com/users/TrevorDecker/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorDecker/received_events","type":"User","site_admin":false},"body":"Re wrote the gui so that it will be much easier to modify in the future, I also added a message console to the gui ","created_at":"2016-01-10T08:12:06Z","updated_at":"2016-01-12T07:06:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92d0d0c9e34d630c6334326d1120388cfde54d78","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276/commits","review_comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276/comments","review_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/276/comments","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/c65abad29fd0ec626514ae20409c974f75460625","head":{"label":"CMU-Robotics-Club:trevor-cleanup","ref":"trevor-cleanup","sha":"c65abad29fd0ec626514ae20409c974f75460625","user":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"repo":{"id":23744385,"name":"RoboBuggy","full_name":"CMU-Robotics-Club/RoboBuggy","owner":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","description":"99 problems, but a driver ain't one. (Push code, not buggies)","fork":false,"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy","forks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/forks","keys_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/teams","hooks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/hooks","issue_events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/events{/number}","events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/events","assignees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/assignees{/user}","branches_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/branches{/branch}","tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/tags","blobs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/{sha}","languages_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/languages","stargazers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/stargazers","contributors_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contributors","subscribers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscribers","subscription_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscription","commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contents/{+path}","compare_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/merges","archive_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/downloads","issues_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues{/number}","pulls_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls{/number}","milestones_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/milestones{/number}","notifications_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/labels{/name}","releases_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/releases{/id}","created_at":"2014-09-06T20:20:03Z","updated_at":"2016-01-11T18:32:35Z","pushed_at":"2016-01-12T04:19:36Z","git_url":"git://github.com/CMU-Robotics-Club/RoboBuggy.git","ssh_url":"git@github.com:CMU-Robotics-Club/RoboBuggy.git","clone_url":"https://github.com/CMU-Robotics-Club/RoboBuggy.git","svn_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","homepage":"","size":158483,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":77,"forks":2,"open_issues":77,"watchers":7,"default_branch":"master"}},"base":{"label":"CMU-Robotics-Club:master","ref":"master","sha":"c0769cfd7de3d4d0c470ef781e6178353e30f801","user":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"repo":{"id":23744385,"name":"RoboBuggy","full_name":"CMU-Robotics-Club/RoboBuggy","owner":{"login":"CMU-Robotics-Club","id":5898082,"avatar_url":"https://avatars.githubusercontent.com/u/5898082?v=3","gravatar_id":"","url":"https://api.github.com/users/CMU-Robotics-Club","html_url":"https://github.com/CMU-Robotics-Club","followers_url":"https://api.github.com/users/CMU-Robotics-Club/followers","following_url":"https://api.github.com/users/CMU-Robotics-Club/following{/other_user}","gists_url":"https://api.github.com/users/CMU-Robotics-Club/gists{/gist_id}","starred_url":"https://api.github.com/users/CMU-Robotics-Club/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMU-Robotics-Club/subscriptions","organizations_url":"https://api.github.com/users/CMU-Robotics-Club/orgs","repos_url":"https://api.github.com/users/CMU-Robotics-Club/repos","events_url":"https://api.github.com/users/CMU-Robotics-Club/events{/privacy}","received_events_url":"https://api.github.com/users/CMU-Robotics-Club/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","description":"99 problems, but a driver ain't one. (Push code, not buggies)","fork":false,"url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy","forks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/forks","keys_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/teams","hooks_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/hooks","issue_events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/events{/number}","events_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/events","assignees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/assignees{/user}","branches_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/branches{/branch}","tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/tags","blobs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/{sha}","languages_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/languages","stargazers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/stargazers","contributors_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contributors","subscribers_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscribers","subscription_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/subscription","commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/contents/{+path}","compare_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/merges","archive_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/downloads","issues_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues{/number}","pulls_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls{/number}","milestones_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/milestones{/number}","notifications_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/labels{/name}","releases_url":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/releases{/id}","created_at":"2014-09-06T20:20:03Z","updated_at":"2016-01-11T18:32:35Z","pushed_at":"2016-01-12T04:19:36Z","git_url":"git://github.com/CMU-Robotics-Club/RoboBuggy.git","ssh_url":"git@github.com:CMU-Robotics-Club/RoboBuggy.git","clone_url":"https://github.com/CMU-Robotics-Club/RoboBuggy.git","svn_url":"https://github.com/CMU-Robotics-Club/RoboBuggy","homepage":"","size":158483,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":77,"forks":2,"open_issues":77,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276"},"html":{"href":"https://github.com/CMU-Robotics-Club/RoboBuggy/pull/276"},"issue":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/276"},"comments":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/issues/276/comments"},"review_comments":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276/comments"},"review_comment":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/pulls/276/commits"},"statuses":{"href":"https://api.github.com/repos/CMU-Robotics-Club/RoboBuggy/statuses/c65abad29fd0ec626514ae20409c974f75460625"}}}}