{"action":"created","issue":{"url":"https://api.github.com/repos/brumster/EDTracker2/issues/10","repository_url":"https://api.github.com/repos/brumster/EDTracker2","labels_url":"https://api.github.com/repos/brumster/EDTracker2/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/brumster/EDTracker2/issues/10/comments","events_url":"https://api.github.com/repos/brumster/EDTracker2/issues/10/events","html_url":"https://github.com/brumster/EDTracker2/issues/10","id":385077670,"node_id":"MDU6SXNzdWUzODUwNzc2NzA=","number":10,"title":"Startup failure only on a \"cold start\"","user":{"login":"manoukianv","id":10980775,"node_id":"MDQ6VXNlcjEwOTgwNzc1","avatar_url":"https://avatars3.githubusercontent.com/u/10980775?v=4","gravatar_id":"","url":"https://api.github.com/users/manoukianv","html_url":"https://github.com/manoukianv","followers_url":"https://api.github.com/users/manoukianv/followers","following_url":"https://api.github.com/users/manoukianv/following{/other_user}","gists_url":"https://api.github.com/users/manoukianv/gists{/gist_id}","starred_url":"https://api.github.com/users/manoukianv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manoukianv/subscriptions","organizations_url":"https://api.github.com/users/manoukianv/orgs","repos_url":"https://api.github.com/users/manoukianv/repos","events_url":"https://api.github.com/users/manoukianv/events{/privacy}","received_events_url":"https://api.github.com/users/manoukianv/received_events","type":"User","site_admin":false},"labels":[{"id":226859382,"node_id":"MDU6TGFiZWwyMjY4NTkzODI=","url":"https://api.github.com/repos/brumster/EDTracker2/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"brumster","id":7078951,"node_id":"MDQ6VXNlcjcwNzg5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7078951?v=4","gravatar_id":"","url":"https://api.github.com/users/brumster","html_url":"https://github.com/brumster","followers_url":"https://api.github.com/users/brumster/followers","following_url":"https://api.github.com/users/brumster/following{/other_user}","gists_url":"https://api.github.com/users/brumster/gists{/gist_id}","starred_url":"https://api.github.com/users/brumster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brumster/subscriptions","organizations_url":"https://api.github.com/users/brumster/orgs","repos_url":"https://api.github.com/users/brumster/repos","events_url":"https://api.github.com/users/brumster/events{/privacy}","received_events_url":"https://api.github.com/users/brumster/received_events","type":"User","site_admin":false},"assignees":[{"login":"brumster","id":7078951,"node_id":"MDQ6VXNlcjcwNzg5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7078951?v=4","gravatar_id":"","url":"https://api.github.com/users/brumster","html_url":"https://github.com/brumster","followers_url":"https://api.github.com/users/brumster/followers","following_url":"https://api.github.com/users/brumster/following{/other_user}","gists_url":"https://api.github.com/users/brumster/gists{/gist_id}","starred_url":"https://api.github.com/users/brumster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brumster/subscriptions","organizations_url":"https://api.github.com/users/brumster/orgs","repos_url":"https://api.github.com/users/brumster/repos","events_url":"https://api.github.com/users/brumster/events{/privacy}","received_events_url":"https://api.github.com/users/brumster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-11-28T02:50:29Z","updated_at":"2018-11-29T09:13:22Z","closed_at":"2018-11-29T09:13:22Z","author_association":"NONE","body":"Hi,\r\n\r\nFirst of all, thanks for this amazing EDTracker !\r\n\r\ni have an issue on start EdTracker with 4.0.5 and 4.1.0\r\nIt's happened only with a \"cold start\" : when i flash the firmware, the edtracker is detected and can be monitored, but, il i plug the device a second time, it doesn't work.\r\n\r\nthe startup is failed because the 9250 never trigger the INT, so a unlimited while wait...\r\n```\r\n  //Loop until MPU interrupts us with a reading\r\n  while (!new_gyro)\r\n    ;\r\n```\r\n\r\ni update the 4.1.0 version with a \"dirty\" delay in the setup method to wait that all the device are \"wake\" and it fixed the issue : \r\n![image](https://user-images.githubusercontent.com/10980775/49125457-75df2100-f2c0-11e8-89be-b8ae21229c86.png)\r\n\r\nI hope this will help.\r\n\r\nVincent"},"comment":{"url":"https://api.github.com/repos/brumster/EDTracker2/issues/comments/442760359","html_url":"https://github.com/brumster/EDTracker2/issues/10#issuecomment-442760359","issue_url":"https://api.github.com/repos/brumster/EDTracker2/issues/10","id":442760359,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjc2MDM1OQ==","user":{"login":"brumster","id":7078951,"node_id":"MDQ6VXNlcjcwNzg5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7078951?v=4","gravatar_id":"","url":"https://api.github.com/users/brumster","html_url":"https://github.com/brumster","followers_url":"https://api.github.com/users/brumster/followers","following_url":"https://api.github.com/users/brumster/following{/other_user}","gists_url":"https://api.github.com/users/brumster/gists{/gist_id}","starred_url":"https://api.github.com/users/brumster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brumster/subscriptions","organizations_url":"https://api.github.com/users/brumster/orgs","repos_url":"https://api.github.com/users/brumster/repos","events_url":"https://api.github.com/users/brumster/events{/privacy}","received_events_url":"https://api.github.com/users/brumster/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T09:13:22Z","updated_at":"2018-11-29T09:13:22Z","author_association":"OWNER","body":"Great stuff, many thanks for your efforts! I'll adopt this in. Just to explain my thinking for the record - obviously the majority of people don't see this problem but there does seem to be a small portion of DIY EDTracker builds out there in the wild that exhibit strange behaviour when built with MPU9250s. While I can't prove it, I suspect there are slight differences in quality control between 9250 devices or breakout boards :). I think a 500ms delay incorporated into the startup isn't going to cause anyone an issue ;)..."}}
{"actor":{"display_login":"brumster"}}