{"action":"created","issue":{"url":"https://api.github.com/repos/jagracar/grafica/issues/11","repository_url":"https://api.github.com/repos/jagracar/grafica","labels_url":"https://api.github.com/repos/jagracar/grafica/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jagracar/grafica/issues/11/comments","events_url":"https://api.github.com/repos/jagracar/grafica/issues/11/events","html_url":"https://github.com/jagracar/grafica/issues/11","id":386579665,"node_id":"MDU6SXNzdWUzODY1Nzk2NjU=","number":11,"title":"Graph is influenced by frame rate","user":{"login":"retiutut","id":25914123,"node_id":"MDQ6VXNlcjI1OTE0MTIz","avatar_url":"https://avatars1.githubusercontent.com/u/25914123?v=4","gravatar_id":"","url":"https://api.github.com/users/retiutut","html_url":"https://github.com/retiutut","followers_url":"https://api.github.com/users/retiutut/followers","following_url":"https://api.github.com/users/retiutut/following{/other_user}","gists_url":"https://api.github.com/users/retiutut/gists{/gist_id}","starred_url":"https://api.github.com/users/retiutut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retiutut/subscriptions","organizations_url":"https://api.github.com/users/retiutut/orgs","repos_url":"https://api.github.com/users/retiutut/repos","events_url":"https://api.github.com/users/retiutut/events{/privacy}","received_events_url":"https://api.github.com/users/retiutut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-12-02T17:17:50Z","updated_at":"2018-12-04T00:32:57Z","closed_at":null,"author_association":"NONE","body":"Working on the accelerometer widget in the OpenBCI GUI to resolve this issue: https://github.com/OpenBCI/OpenBCI_GUI/issues/410\r\n\r\nI copied the conventions already in place for data buffers, and I have a serious problem. For some reason, the new Gplot I put in place is affected by the app's framerate!!! \r\n\r\nFor all graphs` nPoints = numSeconds*sampleRate`. This algorithm was copied to the new gPlot but it doesn't behave the same at all. The sample rate for the accelerometer data is 25Hz. Changing the framerate makes the graph update faster or slower.\r\n![screen recording 2018-12-02 at 11 14 58 am 2018-12-02 11_16_50](https://user-images.githubusercontent.com/25914123/49342671-d0131580-f623-11e8-89fd-dbe434c7280f.gif)\r\n\r\n![screen recording 2018-12-01 at 2 29 14 pm 2018-12-01 14_34_29](https://user-images.githubusercontent.com/25914123/49342527-24b59100-f622-11e8-8a32-14e6150d5b37.gif)\r\n\r\nTo confirm this is the problem, changing the sample rate to line up exactly with frameCount makes it \"look\" right, but this is not good and not accurate.\r\n\r\nI would expect a graph to run at the rate I have specified and not be affected by framerate. Any help would be appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/jagracar/grafica/issues/comments/443923942","html_url":"https://github.com/jagracar/grafica/issues/11#issuecomment-443923942","issue_url":"https://api.github.com/repos/jagracar/grafica/issues/11","id":443923942,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzkyMzk0Mg==","user":{"login":"retiutut","id":25914123,"node_id":"MDQ6VXNlcjI1OTE0MTIz","avatar_url":"https://avatars1.githubusercontent.com/u/25914123?v=4","gravatar_id":"","url":"https://api.github.com/users/retiutut","html_url":"https://github.com/retiutut","followers_url":"https://api.github.com/users/retiutut/followers","following_url":"https://api.github.com/users/retiutut/following{/other_user}","gists_url":"https://api.github.com/users/retiutut/gists{/gist_id}","starred_url":"https://api.github.com/users/retiutut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retiutut/subscriptions","organizations_url":"https://api.github.com/users/retiutut/orgs","repos_url":"https://api.github.com/users/retiutut/repos","events_url":"https://api.github.com/users/retiutut/events{/privacy}","received_events_url":"https://api.github.com/users/retiutut/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T00:32:57Z","updated_at":"2018-12-04T00:32:57Z","author_association":"NONE","body":"Yes, it updates properly."}}
{"actor":{"display_login":"retiutut"}}