{"action":"created","issue":{"url":"https://api.github.com/repos/iNavFlight/inav/issues/871","repository_url":"https://api.github.com/repos/iNavFlight/inav","labels_url":"https://api.github.com/repos/iNavFlight/inav/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/iNavFlight/inav/issues/871/comments","events_url":"https://api.github.com/repos/iNavFlight/inav/issues/871/events","html_url":"https://github.com/iNavFlight/inav/pull/871","id":193786613,"number":871,"title":"Initial cut on servo autotrim feature","user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"labels":[{"id":418071877,"url":"https://api.github.com/repos/iNavFlight/inav/labels/Don't%20merge","name":"Don't merge","color":"e11d21","default":false},{"id":359931997,"url":"https://api.github.com/repos/iNavFlight/inav/labels/Experimental","name":"Experimental","color":"1d76db","default":false},{"id":463672894,"url":"https://api.github.com/repos/iNavFlight/inav/labels/Feedback%20required","name":"Feedback required","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iNavFlight/inav/milestones/9","html_url":"https://github.com/iNavFlight/inav/milestones/1.5%20%22Happy%20New%20Year%22","labels_url":"https://api.github.com/repos/iNavFlight/inav/milestones/9/labels","id":2126625,"number":9,"title":"1.5 \"Happy New Year\"","description":"","creator":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":38,"state":"open","created_at":"2016-11-10T09:15:17Z","updated_at":"2016-12-06T14:31:27Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-12-06T14:31:27Z","updated_at":"2016-12-06T14:50:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iNavFlight/inav/pulls/871","html_url":"https://github.com/iNavFlight/inav/pull/871","diff_url":"https://github.com/iNavFlight/inav/pull/871.diff","patch_url":"https://github.com/iNavFlight/inav/pull/871.patch"},"body":"Ok, this is some initial work on https://github.com/iNavFlight/inav/issues/821\r\n\r\nLogic:\r\n\r\n1. Fly\r\n2. Enable `SERVO AUTOTRIM` mode\r\n3. Firmware will collect data for 1 second, compude average servo position for `SERVO_ELEVATOR`, `SERVO_FLAPPERON_1`, `SERVO_FLAPPERON_2` and `SERVO_RUDDER` and set that as a new servo middles. Change takes effect instantly.\r\n4. If you are not happy with results - disable `SERVO AUTOTRIM` mode, original midpoints will be restored.\r\n\r\nThis feature does not save configuration to EEPROM. If you are happy with the results you'll have to land, disarm without disbaling `SERVO AUTOTRIM` and save manually."},"comment":{"url":"https://api.github.com/repos/iNavFlight/inav/issues/comments/265168733","html_url":"https://github.com/iNavFlight/inav/pull/871#issuecomment-265168733","issue_url":"https://api.github.com/repos/iNavFlight/inav/issues/871","id":265168733,"user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T14:50:37Z","updated_at":"2016-12-06T14:50:37Z","body":"@flounderscore we probably want to constrain it to `ACRO`. `ANGLE` and `PASSTHROUGH` only. No point in doing auto-trimming in any other mode."}}
{"actor":{"display_login":"digitalentity"}}