{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/2271","labels_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2271/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2271/comments","events_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2271/events","html_url":"https://github.com/diydrones/ardupilot/pull/2271","id":74823211,"number":2271,"title":"Accel calib - fix calculation of AHRS_TRIM for non-zero AHRS_ORIENTATION","user":{"login":"brad112358","id":5572369,"avatar_url":"https://avatars.githubusercontent.com/u/5572369?v=3","gravatar_id":"","url":"https://api.github.com/users/brad112358","html_url":"https://github.com/brad112358","followers_url":"https://api.github.com/users/brad112358/followers","following_url":"https://api.github.com/users/brad112358/following{/other_user}","gists_url":"https://api.github.com/users/brad112358/gists{/gist_id}","starred_url":"https://api.github.com/users/brad112358/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brad112358/subscriptions","organizations_url":"https://api.github.com/users/brad112358/orgs","repos_url":"https://api.github.com/users/brad112358/repos","events_url":"https://api.github.com/users/brad112358/events{/privacy}","received_events_url":"https://api.github.com/users/brad112358/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diydrones/ardupilot/labels/AllVehicles","name":"AllVehicles","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"tridge","id":831867,"avatar_url":"https://avatars.githubusercontent.com/u/831867?v=3","gravatar_id":"","url":"https://api.github.com/users/tridge","html_url":"https://github.com/tridge","followers_url":"https://api.github.com/users/tridge/followers","following_url":"https://api.github.com/users/tridge/following{/other_user}","gists_url":"https://api.github.com/users/tridge/gists{/gist_id}","starred_url":"https://api.github.com/users/tridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tridge/subscriptions","organizations_url":"https://api.github.com/users/tridge/orgs","repos_url":"https://api.github.com/users/tridge/repos","events_url":"https://api.github.com/users/tridge/events{/privacy}","received_events_url":"https://api.github.com/users/tridge/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-10T03:53:10Z","updated_at":"2015-05-14T12:55:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/diydrones/ardupilot/pulls/2271","html_url":"https://github.com/diydrones/ardupilot/pull/2271","diff_url":"https://github.com/diydrones/ardupilot/pull/2271.diff","patch_url":"https://github.com/diydrones/ardupilot/pull/2271.patch"},"body":"When the body frame is rotated from the controller, the rotation was being applied at the wrong time with respect to scaling and offset.\r\nThis caused incorrect values for AHRS_TRIM_X and AHRS_TRIM_Y when calibrating the accelerometer.\r\nfixes #2266\r\n"},"comment":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/comments/102028329","html_url":"https://github.com/diydrones/ardupilot/pull/2271#issuecomment-102028329","issue_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2271","id":102028329,"user":{"login":"R-Lefebvre","id":3228111,"avatar_url":"https://avatars.githubusercontent.com/u/3228111?v=3","gravatar_id":"","url":"https://api.github.com/users/R-Lefebvre","html_url":"https://github.com/R-Lefebvre","followers_url":"https://api.github.com/users/R-Lefebvre/followers","following_url":"https://api.github.com/users/R-Lefebvre/following{/other_user}","gists_url":"https://api.github.com/users/R-Lefebvre/gists{/gist_id}","starred_url":"https://api.github.com/users/R-Lefebvre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R-Lefebvre/subscriptions","organizations_url":"https://api.github.com/users/R-Lefebvre/orgs","repos_url":"https://api.github.com/users/R-Lefebvre/repos","events_url":"https://api.github.com/users/R-Lefebvre/events{/privacy}","received_events_url":"https://api.github.com/users/R-Lefebvre/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T12:55:47Z","updated_at":"2015-05-14T12:55:47Z","body":"Sorry about the pings, thought we could assign multiple people.  I'd like Paul and Jon to have a look at this.  I think it may be affecting me.  I'm using Orientation 16, and getting accelerometer values not equal on both IMU's when sitting on the table.\r\n"}}