{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/2101","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/2101/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/2101/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/2101/events","html_url":"https://github.com/PX4/Firmware/pull/2101","id":71583950,"number":2101,"title":"Esc calibration","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":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T13:07:15Z","updated_at":"2015-04-29T05:19:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/2101","html_url":"https://github.com/PX4/Firmware/pull/2101","diff_url":"https://github.com/PX4/Firmware/pull/2101.diff","patch_url":"https://github.com/PX4/Firmware/pull/2101.patch"},"body":"Enables esc calibration via QGroundControl.\r\n@DonLakeFlyer The command for starting the calibration is MAV_CMD_PREFLIGHT_CALIBRATION with param7==1.\r\nThen once the user has pressed the button for esc_calibration and the command has been accepted by the autopilot the user should have the option to press another button which is used to switch from high to low pwm (that is MAV_CMD_PREFLIGHT_CALIBRATION with param7 == 2 ).\r\nThe system is designed such that even if the user does not press the second button the system will switch from high to low pwm after 5 seconds. But we don't know if this timeout is ok for every esc and therefore, we should give the user this option."},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/97309300","html_url":"https://github.com/PX4/Firmware/pull/2101#issuecomment-97309300","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/2101","id":97309300,"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},"created_at":"2015-04-29T05:19:33Z","updated_at":"2015-04-29T05:19:33Z","body":"This is tested with a Pixhawk having the motors connected to the IO."}}