{"action":"created","issue":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/414","labels_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/414/comments","events_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/414/events","html_url":"https://github.com/RoboJackets/robocup-software/issues/414","id":103943570,"number":414,"title":"Refactor motion commands","user":{"login":"justbuchanan","id":115131,"avatar_url":"https://avatars.githubusercontent.com/u/115131?v=3","gravatar_id":"","url":"https://api.github.com/users/justbuchanan","html_url":"https://github.com/justbuchanan","followers_url":"https://api.github.com/users/justbuchanan/followers","following_url":"https://api.github.com/users/justbuchanan/following{/other_user}","gists_url":"https://api.github.com/users/justbuchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/justbuchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbuchanan/subscriptions","organizations_url":"https://api.github.com/users/justbuchanan/orgs","repos_url":"https://api.github.com/users/justbuchanan/repos","events_url":"https://api.github.com/users/justbuchanan/events{/privacy}","received_events_url":"https://api.github.com/users/justbuchanan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RoboJackets/robocup-software/labels/motion%20control","name":"motion control","color":"eb6420"},{"url":"https://api.github.com/repos/RoboJackets/robocup-software/labels/soccer","name":"soccer","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"ashaw596","id":2037510,"avatar_url":"https://avatars.githubusercontent.com/u/2037510?v=3","gravatar_id":"","url":"https://api.github.com/users/ashaw596","html_url":"https://github.com/ashaw596","followers_url":"https://api.github.com/users/ashaw596/followers","following_url":"https://api.github.com/users/ashaw596/following{/other_user}","gists_url":"https://api.github.com/users/ashaw596/gists{/gist_id}","starred_url":"https://api.github.com/users/ashaw596/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashaw596/subscriptions","organizations_url":"https://api.github.com/users/ashaw596/orgs","repos_url":"https://api.github.com/users/ashaw596/repos","events_url":"https://api.github.com/users/ashaw596/events{/privacy}","received_events_url":"https://api.github.com/users/ashaw596/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-30T20:16:32Z","updated_at":"2015-08-31T23:52:11Z","closed_at":null,"body":"As discussed at the meeting, we'll have something like this:\r\n\r\n~~~{.cpp}\r\n\r\nenum class AngleCommandType {\r\n    FacePoint,\r\n    FaceGlobalAngle,\r\n    None\r\n};\r\n\r\n\r\nstruct AngleCommand {\r\n    AngleCommandType type();\r\n\r\n    float maxSpeed;\r\n    float maxAccel;\r\n};\r\n\r\n\r\nenum class MotionCommandType {\r\n    TargetPath,\r\n    TargetPos,\r\n    TargetVel,\r\n    // CaptureBall,\r\n    None\r\n};\r\n\r\n\r\n\r\nstruct MotionCommand {\r\n    MotionCommandType type();\r\n\r\n    /// Default values come from config values\r\n    float maxSpeed;\r\n    float maxAccel;\r\n};\r\n\r\n~~~"},"comment":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/comments/136530169","html_url":"https://github.com/RoboJackets/robocup-software/issues/414#issuecomment-136530169","issue_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/414","id":136530169,"user":{"login":"ashaw596","id":2037510,"avatar_url":"https://avatars.githubusercontent.com/u/2037510?v=3","gravatar_id":"","url":"https://api.github.com/users/ashaw596","html_url":"https://github.com/ashaw596","followers_url":"https://api.github.com/users/ashaw596/followers","following_url":"https://api.github.com/users/ashaw596/following{/other_user}","gists_url":"https://api.github.com/users/ashaw596/gists{/gist_id}","starred_url":"https://api.github.com/users/ashaw596/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashaw596/subscriptions","organizations_url":"https://api.github.com/users/ashaw596/orgs","repos_url":"https://api.github.com/users/ashaw596/repos","events_url":"https://api.github.com/users/ashaw596/events{/privacy}","received_events_url":"https://api.github.com/users/ashaw596/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T23:52:11Z","updated_at":"2015-08-31T23:52:11Z","body":"Actually yeah maybe subclass would be best. lets see."}}