{"action":"created","issue":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1287","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1287/labels{/name}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1287/comments","events_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1287/events","html_url":"https://github.com/cleanflight/cleanflight/pull/1287","id":104958626,"number":1287,"title":"Flight mode dependent ACC on/off switching","user":{"login":"ProDrone","id":7206988,"avatar_url":"https://avatars.githubusercontent.com/u/7206988?v=3","gravatar_id":"","url":"https://api.github.com/users/ProDrone","html_url":"https://github.com/ProDrone","followers_url":"https://api.github.com/users/ProDrone/followers","following_url":"https://api.github.com/users/ProDrone/following{/other_user}","gists_url":"https://api.github.com/users/ProDrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ProDrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProDrone/subscriptions","organizations_url":"https://api.github.com/users/ProDrone/orgs","repos_url":"https://api.github.com/users/ProDrone/repos","events_url":"https://api.github.com/users/ProDrone/events{/privacy}","received_events_url":"https://api.github.com/users/ProDrone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-09-04T19:49:55Z","updated_at":"2015-09-07T18:03:08Z","closed_at":"2015-09-05T09:30:09Z","pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1287","html_url":"https://github.com/cleanflight/cleanflight/pull/1287","diff_url":"https://github.com/cleanflight/cleanflight/pull/1287.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/1287.patch"},"body":"This PR aims to have best of both world:\r\n\r\nWhen entering the armed state in acro mode the ACC sensor will be hidden (disabled).\r\nIn any other state/mode the ACC sensor will be visible (enabled).\r\n\r\nThis is required to:\r\n\r\na) be capable of doing a failsafe landing in level mode.\r\nb) have arming protection when angle > 25 degree.\r\nc) fly in level/horizon mode.\r\nd) have a fast looptime while flying acro.\r\n\r\nIt is still experimental and needs field testing.\r\n\r\n__EDIT : Closed because this approach will not work.__\r\n"},"comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/comments/138350280","html_url":"https://github.com/cleanflight/cleanflight/pull/1287#issuecomment-138350280","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1287","id":138350280,"user":{"login":"ProDrone","id":7206988,"avatar_url":"https://avatars.githubusercontent.com/u/7206988?v=3","gravatar_id":"","url":"https://api.github.com/users/ProDrone","html_url":"https://github.com/ProDrone","followers_url":"https://api.github.com/users/ProDrone/followers","following_url":"https://api.github.com/users/ProDrone/following{/other_user}","gists_url":"https://api.github.com/users/ProDrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ProDrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProDrone/subscriptions","organizations_url":"https://api.github.com/users/ProDrone/orgs","repos_url":"https://api.github.com/users/ProDrone/repos","events_url":"https://api.github.com/users/ProDrone/events{/privacy}","received_events_url":"https://api.github.com/users/ProDrone/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T18:03:08Z","updated_at":"2015-09-07T18:03:08Z","body":"@joshuabardwell Yes, thanks, that is about what i had in mind for a second phase, if primary tests were looking good. __The problem is: it looks already fantastic!__\r\n\r\nThis is no big surprise, since the cycle time is on average 6 times faster (against default 3500) and the samples taken are 1 out of 9. This has a similar effect as a loop time of 5250 in the old situation.\r\n\r\n@borisbstyle I currently have no flying quad with tuned PID settings for real life testing. Can you try if level mode works adequate with this modification combined with Betaflight? I have to do more work to make it cleaner."}}