{"action":"created","issue":{"url":"https://api.github.com/repos/orbotix/sphero.js/issues/37","repository_url":"https://api.github.com/repos/orbotix/sphero.js","labels_url":"https://api.github.com/repos/orbotix/sphero.js/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/orbotix/sphero.js/issues/37/comments","events_url":"https://api.github.com/repos/orbotix/sphero.js/issues/37/events","html_url":"https://github.com/orbotix/sphero.js/issues/37","id":123925146,"number":37,"title":"SDK doesn't response after sending too much commands in a row / after losing connection for a moment.","user":{"login":"omeryagmurlu","id":8201544,"avatar_url":"https://avatars.githubusercontent.com/u/8201544?v=3","gravatar_id":"","url":"https://api.github.com/users/omeryagmurlu","html_url":"https://github.com/omeryagmurlu","followers_url":"https://api.github.com/users/omeryagmurlu/followers","following_url":"https://api.github.com/users/omeryagmurlu/following{/other_user}","gists_url":"https://api.github.com/users/omeryagmurlu/gists{/gist_id}","starred_url":"https://api.github.com/users/omeryagmurlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omeryagmurlu/subscriptions","organizations_url":"https://api.github.com/users/omeryagmurlu/orgs","repos_url":"https://api.github.com/users/omeryagmurlu/repos","events_url":"https://api.github.com/users/omeryagmurlu/events{/privacy}","received_events_url":"https://api.github.com/users/omeryagmurlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-26T11:10:45Z","updated_at":"2016-05-21T12:39:09Z","closed_at":null,"body":"With my Ollie, I am able connect and send/get data to/from Ollie but I have a problem. After noble loses connection with Ollie for a moment, ```commandQueue``` property of ```Sphero``` constructor fills up quickly and it gets stuck and new commands don't execute on time, (they execute after 1 or 2 min). And the queue is processed when a new command is sent ([line 177](https://github.com/orbotix/sphero.js/blob/master/lib/sphero.js#L177)), so it becomes a vicious circle with no end. One solution I found was to reduce the [```256``` limit](https://github.com/orbotix/sphero.js/blob/master/lib/sphero.js#L191) to 1, but it defeats the purpose of the queue."},"comment":{"url":"https://api.github.com/repos/orbotix/sphero.js/issues/comments/220775681","html_url":"https://github.com/orbotix/sphero.js/issues/37#issuecomment-220775681","issue_url":"https://api.github.com/repos/orbotix/sphero.js/issues/37","id":220775681,"user":{"login":"omeryagmurlu","id":8201544,"avatar_url":"https://avatars.githubusercontent.com/u/8201544?v=3","gravatar_id":"","url":"https://api.github.com/users/omeryagmurlu","html_url":"https://github.com/omeryagmurlu","followers_url":"https://api.github.com/users/omeryagmurlu/followers","following_url":"https://api.github.com/users/omeryagmurlu/following{/other_user}","gists_url":"https://api.github.com/users/omeryagmurlu/gists{/gist_id}","starred_url":"https://api.github.com/users/omeryagmurlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omeryagmurlu/subscriptions","organizations_url":"https://api.github.com/users/omeryagmurlu/orgs","repos_url":"https://api.github.com/users/omeryagmurlu/repos","events_url":"https://api.github.com/users/omeryagmurlu/events{/privacy}","received_events_url":"https://api.github.com/users/omeryagmurlu/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T12:39:09Z","updated_at":"2016-05-21T12:39:09Z","body":"@debu66er Sphero sleeps after (by default) 6 mins of inactivity. Are you sure that your bb8 is awake while you're sending commands?\r\n\r\n[Here](https://github.com/omeryagmurlu/ollie-controller)  is the program I was working on. I hadn't time to check if it still works, but if there hasn't been huge changes to the API, it should work. You can look at the code to see whether youre doing something wrong.\r\n\r\nBefore this repo supported BB8 (bzw. Ollie) I had made a repo to control them. It don't develop it anymore but you can give it a shot. It was working fine last time I checked.\r\n\r\nhttps://github.com/omeryagmurlu/olliejs"}}
{"actor":{"display_login":"omeryagmurlu"}}