{"action":"created","issue":{"url":"https://api.github.com/repos/morse-simulator/morse/issues/683","repository_url":"https://api.github.com/repos/morse-simulator/morse","labels_url":"https://api.github.com/repos/morse-simulator/morse/issues/683/labels{/name}","comments_url":"https://api.github.com/repos/morse-simulator/morse/issues/683/comments","events_url":"https://api.github.com/repos/morse-simulator/morse/issues/683/events","html_url":"https://github.com/morse-simulator/morse/issues/683","id":125915727,"number":683,"title":"Real-time mode and fps > 60 does not work very well","user":{"login":"adegroote","id":377715,"avatar_url":"https://avatars.githubusercontent.com/u/377715?v=3","gravatar_id":"","url":"https://api.github.com/users/adegroote","html_url":"https://github.com/adegroote","followers_url":"https://api.github.com/users/adegroote/followers","following_url":"https://api.github.com/users/adegroote/following{/other_user}","gists_url":"https://api.github.com/users/adegroote/gists{/gist_id}","starred_url":"https://api.github.com/users/adegroote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adegroote/subscriptions","organizations_url":"https://api.github.com/users/adegroote/orgs","repos_url":"https://api.github.com/users/adegroote/repos","events_url":"https://api.github.com/users/adegroote/events{/privacy}","received_events_url":"https://api.github.com/users/adegroote/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/morse-simulator/morse/labels/!BUGS!","name":"!BUGS!","color":"e11d21"},{"url":"https://api.github.com/repos/morse-simulator/morse/labels/core","name":"core","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"adegroote","id":377715,"avatar_url":"https://avatars.githubusercontent.com/u/377715?v=3","gravatar_id":"","url":"https://api.github.com/users/adegroote","html_url":"https://github.com/adegroote","followers_url":"https://api.github.com/users/adegroote/followers","following_url":"https://api.github.com/users/adegroote/following{/other_user}","gists_url":"https://api.github.com/users/adegroote/gists{/gist_id}","starred_url":"https://api.github.com/users/adegroote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adegroote/subscriptions","organizations_url":"https://api.github.com/users/adegroote/orgs","repos_url":"https://api.github.com/users/adegroote/repos","events_url":"https://api.github.com/users/adegroote/events{/privacy}","received_events_url":"https://api.github.com/users/adegroote/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/morse-simulator/morse/milestones/8","html_url":"https://github.com/morse-simulator/morse/milestones/1.4","labels_url":"https://api.github.com/repos/morse-simulator/morse/milestones/8/labels","id":350289,"number":8,"title":"1.4","description":"","creator":{"login":"severin-lemaignan","id":385379,"avatar_url":"https://avatars.githubusercontent.com/u/385379?v=3","gravatar_id":"","url":"https://api.github.com/users/severin-lemaignan","html_url":"https://github.com/severin-lemaignan","followers_url":"https://api.github.com/users/severin-lemaignan/followers","following_url":"https://api.github.com/users/severin-lemaignan/following{/other_user}","gists_url":"https://api.github.com/users/severin-lemaignan/gists{/gist_id}","starred_url":"https://api.github.com/users/severin-lemaignan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severin-lemaignan/subscriptions","organizations_url":"https://api.github.com/users/severin-lemaignan/orgs","repos_url":"https://api.github.com/users/severin-lemaignan/repos","events_url":"https://api.github.com/users/severin-lemaignan/events{/privacy}","received_events_url":"https://api.github.com/users/severin-lemaignan/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":8,"state":"open","created_at":"2013-06-07T07:21:55Z","updated_at":"2016-02-03T16:38:33Z","due_on":"2016-01-31T00:00:00Z","closed_at":null},"comments":11,"created_at":"2016-01-11T10:35:53Z","updated_at":"2016-02-03T16:38:33Z","closed_at":"2016-02-03T16:38:33Z","body":"When specifying 120 fps (for example, but it simplifies a lot the demonstration), an user expects to have sensor update every 8.33 ms, but it is not what happens at all. In fact, it gets:\r\n\r\n- update\r\n- ~1ms & update\r\n- ~15ms & update\r\n- ~ 1ms & update\r\n- ~15ms & update\r\n\r\nbecause the bge is mainly scheduled around the graphic update (which always runs at 60 fps). Basically, it does:\r\n  - run all the physics / logic steps as fast as possible (but with the good \"physical timestep\")\r\n  - run the display update\r\n  - sleeps until the next iteration\r\n\r\nA possible work-around is to put some sleep at the end or beginning of each logic step, through it is a bit difficult to compute the right duration of sleep (one need to recompute the internal blender logic to put some sleep only in the non-display update). Moreover, the sleep duration may vary in the time, depending computer load, so we may need an automatic adjustment policy"},"comment":{"url":"https://api.github.com/repos/morse-simulator/morse/issues/comments/179331724","html_url":"https://github.com/morse-simulator/morse/issues/683#issuecomment-179331724","issue_url":"https://api.github.com/repos/morse-simulator/morse/issues/683","id":179331724,"user":{"login":"adegroote","id":377715,"avatar_url":"https://avatars.githubusercontent.com/u/377715?v=3","gravatar_id":"","url":"https://api.github.com/users/adegroote","html_url":"https://github.com/adegroote","followers_url":"https://api.github.com/users/adegroote/followers","following_url":"https://api.github.com/users/adegroote/following{/other_user}","gists_url":"https://api.github.com/users/adegroote/gists{/gist_id}","starred_url":"https://api.github.com/users/adegroote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adegroote/subscriptions","organizations_url":"https://api.github.com/users/adegroote/orgs","repos_url":"https://api.github.com/users/adegroote/repos","events_url":"https://api.github.com/users/adegroote/events{/privacy}","received_events_url":"https://api.github.com/users/adegroote/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T16:38:33Z","updated_at":"2016-02-03T16:38:33Z","body":"Definitely closed by 75a8fb0. Github is not smart enough :D"}}