{"action":"created","issue":{"url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/65","repository_url":"https://api.github.com/repos/Chantilly612Code/612-2016","labels_url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/65/comments","events_url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/65/events","html_url":"https://github.com/Chantilly612Code/612-2016/issues/65","id":131505922,"number":65,"title":"PassDefense command","user":{"login":"Ahmad-Bamba","id":5873587,"avatar_url":"https://avatars.githubusercontent.com/u/5873587?v=3","gravatar_id":"","url":"https://api.github.com/users/Ahmad-Bamba","html_url":"https://github.com/Ahmad-Bamba","followers_url":"https://api.github.com/users/Ahmad-Bamba/followers","following_url":"https://api.github.com/users/Ahmad-Bamba/following{/other_user}","gists_url":"https://api.github.com/users/Ahmad-Bamba/gists{/gist_id}","starred_url":"https://api.github.com/users/Ahmad-Bamba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ahmad-Bamba/subscriptions","organizations_url":"https://api.github.com/users/Ahmad-Bamba/orgs","repos_url":"https://api.github.com/users/Ahmad-Bamba/repos","events_url":"https://api.github.com/users/Ahmad-Bamba/events{/privacy}","received_events_url":"https://api.github.com/users/Ahmad-Bamba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Chantilly612Code/612-2016/labels/Difficult%20coding","name":"Difficult coding","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"domi-a-philip","id":13564850,"avatar_url":"https://avatars.githubusercontent.com/u/13564850?v=3","gravatar_id":"","url":"https://api.github.com/users/domi-a-philip","html_url":"https://github.com/domi-a-philip","followers_url":"https://api.github.com/users/domi-a-philip/followers","following_url":"https://api.github.com/users/domi-a-philip/following{/other_user}","gists_url":"https://api.github.com/users/domi-a-philip/gists{/gist_id}","starred_url":"https://api.github.com/users/domi-a-philip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domi-a-philip/subscriptions","organizations_url":"https://api.github.com/users/domi-a-philip/orgs","repos_url":"https://api.github.com/users/domi-a-philip/repos","events_url":"https://api.github.com/users/domi-a-philip/events{/privacy}","received_events_url":"https://api.github.com/users/domi-a-philip/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Chantilly612Code/612-2016/milestones/6","html_url":"https://github.com/Chantilly612Code/612-2016/milestones/Bag%20and%20Tag","labels_url":"https://api.github.com/repos/Chantilly612Code/612-2016/milestones/6/labels","id":1564639,"number":6,"title":"Bag and Tag","description":"","creator":{"login":"ChampD","id":5873592,"avatar_url":"https://avatars.githubusercontent.com/u/5873592?v=3","gravatar_id":"","url":"https://api.github.com/users/ChampD","html_url":"https://github.com/ChampD","followers_url":"https://api.github.com/users/ChampD/followers","following_url":"https://api.github.com/users/ChampD/following{/other_user}","gists_url":"https://api.github.com/users/ChampD/gists{/gist_id}","starred_url":"https://api.github.com/users/ChampD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChampD/subscriptions","organizations_url":"https://api.github.com/users/ChampD/orgs","repos_url":"https://api.github.com/users/ChampD/repos","events_url":"https://api.github.com/users/ChampD/events{/privacy}","received_events_url":"https://api.github.com/users/ChampD/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2016-02-04T23:34:43Z","updated_at":"2016-03-31T02:48:59Z","due_on":"2016-02-23T05:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-04T23:31:45Z","updated_at":"2016-03-31T02:48:59Z","closed_at":"2016-03-31T02:48:59Z","body":"For the code, we need a command that when a button on the driver is pressed, the robot can pass the defense in front of it. This requires a lot of vision and advanced level stuff, but the basics can still created now.\r\n\r\nFor this, a command needs to be made that, depending on the value of an enum, executes a different method to breech all the defenses. The enum values should be set to all the types of defenses. The methods in drivetrain would be the various ways to cross all the defenses. \r\n\r\n**This may render the BreachDefense commands obsolete.** Keep this in mind.\r\n\r\nEdit:\r\n\r\nThis is now **BreachAuto**\r\n1. Make enum Defenses in Robot.h\r\n2. In Execute of BreachAuto, make a switch statement for all values of Defenses including NONE\r\n3. The switch statements should call methods in Drivetrain. Those methods should be designed to pass the defenses.\r\n\r\nDefense list:\r\n* None\r\n* Portcullis\r\n* Cheval de Frise\r\n* Moat\r\n* Ramparts\r\n* Drawbridge\r\n* Sally Port\r\n* Rock Wall\r\n* Rough Terrain\r\n* Low Bar"},"comment":{"url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/comments/203726222","html_url":"https://github.com/Chantilly612Code/612-2016/issues/65#issuecomment-203726222","issue_url":"https://api.github.com/repos/Chantilly612Code/612-2016/issues/65","id":203726222,"user":{"login":"WardBenjamin","id":4739008,"avatar_url":"https://avatars.githubusercontent.com/u/4739008?v=3","gravatar_id":"","url":"https://api.github.com/users/WardBenjamin","html_url":"https://github.com/WardBenjamin","followers_url":"https://api.github.com/users/WardBenjamin/followers","following_url":"https://api.github.com/users/WardBenjamin/following{/other_user}","gists_url":"https://api.github.com/users/WardBenjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/WardBenjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WardBenjamin/subscriptions","organizations_url":"https://api.github.com/users/WardBenjamin/orgs","repos_url":"https://api.github.com/users/WardBenjamin/repos","events_url":"https://api.github.com/users/WardBenjamin/events{/privacy}","received_events_url":"https://api.github.com/users/WardBenjamin/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T02:48:59Z","updated_at":"2016-03-31T02:48:59Z","body":"This should be made a part of https://github.com/Chantilly612Code/612-2016/issues/176."}}