{"action":"created","issue":{"url":"https://api.github.com/repos/d-ronin/dRonin/issues/323","labels_url":"https://api.github.com/repos/d-ronin/dRonin/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/d-ronin/dRonin/issues/323/comments","events_url":"https://api.github.com/repos/d-ronin/dRonin/issues/323/events","html_url":"https://github.com/d-ronin/dRonin/issues/323","id":123186503,"number":323,"title":"Large amounts of jitter on Sparky2 OneShot outputs","user":{"login":"droidicus","id":6981482,"avatar_url":"https://avatars.githubusercontent.com/u/6981482?v=3","gravatar_id":"","url":"https://api.github.com/users/droidicus","html_url":"https://github.com/droidicus","followers_url":"https://api.github.com/users/droidicus/followers","following_url":"https://api.github.com/users/droidicus/following{/other_user}","gists_url":"https://api.github.com/users/droidicus/gists{/gist_id}","starred_url":"https://api.github.com/users/droidicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidicus/subscriptions","organizations_url":"https://api.github.com/users/droidicus/orgs","repos_url":"https://api.github.com/users/droidicus/repos","events_url":"https://api.github.com/users/droidicus/events{/privacy}","received_events_url":"https://api.github.com/users/droidicus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/d-ronin/dRonin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/d-ronin/dRonin/labels/flight","name":"flight","color":"fbca04"},{"url":"https://api.github.com/repos/d-ronin/dRonin/labels/status/requires-investigation","name":"status/requires-investigation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/d-ronin/dRonin/milestones/1","html_url":"https://github.com/d-ronin/dRonin/milestones/Renatus","labels_url":"https://api.github.com/repos/d-ronin/dRonin/milestones/1/labels","id":1430107,"number":1,"title":"Renatus","description":"First Public Release, going out end Jan/beginning Feb","creator":{"login":"tgreer","id":4996098,"avatar_url":"https://avatars.githubusercontent.com/u/4996098?v=3","gravatar_id":"","url":"https://api.github.com/users/tgreer","html_url":"https://github.com/tgreer","followers_url":"https://api.github.com/users/tgreer/followers","following_url":"https://api.github.com/users/tgreer/following{/other_user}","gists_url":"https://api.github.com/users/tgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/tgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgreer/subscriptions","organizations_url":"https://api.github.com/users/tgreer/orgs","repos_url":"https://api.github.com/users/tgreer/repos","events_url":"https://api.github.com/users/tgreer/events{/privacy}","received_events_url":"https://api.github.com/users/tgreer/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":89,"state":"open","created_at":"2015-11-25T21:40:12Z","updated_at":"2015-12-21T03:03:37Z","due_on":"2016-01-14T08:00:00Z","closed_at":null},"comments":7,"created_at":"2015-12-20T22:19:59Z","updated_at":"2015-12-21T16:30:42Z","closed_at":null,"body":"Attached are a few screenshots from an oscope, showing large variations in pulse-to-pulse spacing. The frequency of the oneshot pulses themselves is consistent, but the offset of some of the pulses seem to be variable in time.\r\n\r\n![scope_8](https://cloud.githubusercontent.com/assets/6981482/11920438/d50449b6-a73d-11e5-8f25-e300d0e37424.png)\r\n![scope_9](https://cloud.githubusercontent.com/assets/6981482/11920442/d505f66c-a73d-11e5-80f1-e1b9da46abb5.png)\r\n![scope_10](https://cloud.githubusercontent.com/assets/6981482/11920441/d504e646-a73d-11e5-8757-25dd7543cb0f.png)\r\n![scope_11](https://cloud.githubusercontent.com/assets/6981482/11920439/d5046b3a-a73d-11e5-8b87-8c28d1c0e3e8.png)\r\n![scope_12](https://cloud.githubusercontent.com/assets/6981482/11920440/d504ca08-a73d-11e5-8b58-d8418a77b061.png)\r\n"},"comment":{"url":"https://api.github.com/repos/d-ronin/dRonin/issues/comments/166351696","html_url":"https://github.com/d-ronin/dRonin/issues/323#issuecomment-166351696","issue_url":"https://api.github.com/repos/d-ronin/dRonin/issues/323","id":166351696,"user":{"login":"mlyle","id":90903,"avatar_url":"https://avatars.githubusercontent.com/u/90903?v=3","gravatar_id":"","url":"https://api.github.com/users/mlyle","html_url":"https://github.com/mlyle","followers_url":"https://api.github.com/users/mlyle/followers","following_url":"https://api.github.com/users/mlyle/following{/other_user}","gists_url":"https://api.github.com/users/mlyle/gists{/gist_id}","starred_url":"https://api.github.com/users/mlyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlyle/subscriptions","organizations_url":"https://api.github.com/users/mlyle/orgs","repos_url":"https://api.github.com/users/mlyle/repos","events_url":"https://api.github.com/users/mlyle/events{/privacy}","received_events_url":"https://api.github.com/users/mlyle/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:30:42Z","updated_at":"2015-12-21T16:30:42Z","body":"It certainly could make sense to more tightly integrate sensors and stabilization -- like we have on the F1 targets.\r\n\r\nWe used to have a pretty bad issue where sparky2 radio reinit was causing jitter, but @peabody124 has mostly fixed that.  The causes are probably slightly different due to drift between Tau/dR and LP, but probably this either relates to us doing something expensive with interrupts masked or a high priority task.  In dRonin right now, ManualControl, Stabilization, Actuator, and individual PiOS sensor tasks   are HIGHEST priority.  But sensors and attitude are HIGH.  So there's a lot of opportunities for something to run too long and create jitter."}}