{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/3320","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/3320/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/3320/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/3320/events","html_url":"https://github.com/PX4/Firmware/issues/3320","id":120368984,"number":3320,"title":"jMAVSIM: Unstable with SITL","user":{"login":"tumbili","id":7610489,"avatar_url":"https://avatars.githubusercontent.com/u/7610489?v=3","gravatar_id":"","url":"https://api.github.com/users/tumbili","html_url":"https://github.com/tumbili","followers_url":"https://api.github.com/users/tumbili/followers","following_url":"https://api.github.com/users/tumbili/following{/other_user}","gists_url":"https://api.github.com/users/tumbili/gists{/gist_id}","starred_url":"https://api.github.com/users/tumbili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tumbili/subscriptions","organizations_url":"https://api.github.com/users/tumbili/orgs","repos_url":"https://api.github.com/users/tumbili/repos","events_url":"https://api.github.com/users/tumbili/events{/privacy}","received_events_url":"https://api.github.com/users/tumbili/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-04T09:58:12Z","updated_at":"2016-01-07T06:03:03Z","closed_at":"2016-01-06T08:28:23Z","body":"@mcharleb \r\nI still have the issue that SITL becomes unstable when using jMAVSim.\r\nI can fly for about 1 - 2 minutes but then it starts oscillating and crashes. During this the cpu load increases massively on all cores. I've tried to stop logging and reduced the mavlink streams to the bare minimum but the problem also occurs then.\r\n\r\nI've also conducted some experiments in the simulator module:\r\nI've measured the time differences between the imu messages received from jmavsim.\r\nWhen the simulation is stable I get a delta t of around 4ms. As soon as  the simulation gets unstable I see values like 0.1 ms which is not really realistic anymore.\r\n\r\nHow can this be explained? Could it be that the hrt_timer does not work properly anymore because there is a busy loop somewhere?"},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/169563958","html_url":"https://github.com/PX4/Firmware/issues/3320#issuecomment-169563958","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/3320","id":169563958,"user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T06:03:03Z","updated_at":"2016-01-07T06:03:03Z","body":"PWM min and max values. The need for lockstep remains."}}