{"action":"closed","issue":{"url":"https://api.github.com/repos/maxosprojects/open-dobot/issues/2","repository_url":"https://api.github.com/repos/maxosprojects/open-dobot","labels_url":"https://api.github.com/repos/maxosprojects/open-dobot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/maxosprojects/open-dobot/issues/2/comments","events_url":"https://api.github.com/repos/maxosprojects/open-dobot/issues/2/events","html_url":"https://github.com/maxosprojects/open-dobot/issues/2","id":143858593,"number":2,"title":"Feature request: support for limit switch/photointerrupter","user":{"login":"maxosprojects","id":7192573,"avatar_url":"https://avatars.githubusercontent.com/u/7192573?v=3","gravatar_id":"","url":"https://api.github.com/users/maxosprojects","html_url":"https://github.com/maxosprojects","followers_url":"https://api.github.com/users/maxosprojects/followers","following_url":"https://api.github.com/users/maxosprojects/following{/other_user}","gists_url":"https://api.github.com/users/maxosprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/maxosprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxosprojects/subscriptions","organizations_url":"https://api.github.com/users/maxosprojects/orgs","repos_url":"https://api.github.com/users/maxosprojects/repos","events_url":"https://api.github.com/users/maxosprojects/events{/privacy}","received_events_url":"https://api.github.com/users/maxosprojects/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/maxosprojects/open-dobot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/maxosprojects/open-dobot/milestones/3","html_url":"https://github.com/maxosprojects/open-dobot/milestones/0.5.0","labels_url":"https://api.github.com/repos/maxosprojects/open-dobot/milestones/3/labels","id":1675059,"number":3,"title":"0.5.0","description":null,"creator":{"login":"maxosprojects","id":7192573,"avatar_url":"https://avatars.githubusercontent.com/u/7192573?v=3","gravatar_id":"","url":"https://api.github.com/users/maxosprojects","html_url":"https://github.com/maxosprojects","followers_url":"https://api.github.com/users/maxosprojects/followers","following_url":"https://api.github.com/users/maxosprojects/following{/other_user}","gists_url":"https://api.github.com/users/maxosprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/maxosprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxosprojects/subscriptions","organizations_url":"https://api.github.com/users/maxosprojects/orgs","repos_url":"https://api.github.com/users/maxosprojects/repos","events_url":"https://api.github.com/users/maxosprojects/events{/privacy}","received_events_url":"https://api.github.com/users/maxosprojects/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-03-30T22:50:08Z","updated_at":"2016-04-02T19:46:01Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-03-27T22:57:13Z","updated_at":"2016-04-02T19:46:01Z","closed_at":"2016-04-02T19:46:01Z","body":"There are no sensors to enable completely automatic arm initialization.\r\nAs a simplest solution to that problem support for limit switch/photointerrupter is proposed.\r\n\r\nHere is an outline of a proposed solution:\r\n1. Add a command to start base rotation at specified speed that must automatically stop the arm upon a pin state change\r\n1.1. Desired end state change specified in the command\r\n1.2. Desired pin to be polled specified in the command out of predefined unused set of pins available on Arduino\r\n2. Add a command to poll for desired pin state to find when the the traverse finishes\r\n3. Add a command to cancel any traverse commands currently being executed"}}