{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/2922","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/2922/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/2922/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/2922/events","html_url":"https://github.com/PX4/Firmware/pull/2922","id":108567781,"number":2922,"title":"[WIP] Geofence Actions","user":{"login":"dagar","id":84712,"avatar_url":"https://avatars.githubusercontent.com/u/84712?v=3","gravatar_id":"","url":"https://api.github.com/users/dagar","html_url":"https://github.com/dagar","followers_url":"https://api.github.com/users/dagar/followers","following_url":"https://api.github.com/users/dagar/following{/other_user}","gists_url":"https://api.github.com/users/dagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagar/subscriptions","organizations_url":"https://api.github.com/users/dagar/orgs","repos_url":"https://api.github.com/users/dagar/repos","events_url":"https://api.github.com/users/dagar/events{/privacy}","received_events_url":"https://api.github.com/users/dagar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PX4/Firmware/labels/testflights_fixedwing","name":"testflights_fixedwing","color":"fbca04"},{"url":"https://api.github.com/repos/PX4/Firmware/labels/testflights_multicopter","name":"testflights_multicopter","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/PX4/Firmware/milestones/8","html_url":"https://github.com/PX4/Firmware/milestones/Release%20v1.1.0","labels_url":"https://api.github.com/repos/PX4/Firmware/milestones/8/labels","id":1183652,"number":8,"title":"Release v1.1.0","description":"This release should add functionality currently held back like the unified sensor fault detection facility and delta angles for the EKF.","creator":{"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},"open_issues":31,"closed_issues":28,"state":"open","created_at":"2015-06-27T14:09:11Z","updated_at":"2015-10-24T20:33:04Z","due_on":"2015-10-29T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-09-27T23:35:24Z","updated_at":"2015-10-25T20:56:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/2922","html_url":"https://github.com/PX4/Firmware/pull/2922","diff_url":"https://github.com/PX4/Firmware/pull/2922.diff","patch_url":"https://github.com/PX4/Firmware/pull/2922.patch"},"body":"Here's a basic version of geofence violation -> RTL. I'm opening this PR now to discuss the desired behaviour.\r\n\r\nThis satisfies the basic functionality I want, but what does everyone else want or need? So far this just kicks you into RTL once you violate the geofence. You can escape by changing any switch.\r\n\r\n**Ideas/Questions**\r\n - should we first warn and then only take control if still outside?\r\n - param to select either warning or RTL\r\n - param to choose between RTL or LOITER\r\n - ability to retake control without changing mode switches (like touching the sticks)\r\n - ability to retake control while still outside of the geofence\r\n    - would the geofence then kick in again if you're still outside after a given time period?\r\n - more sophisticated fixed wing behaviour (similar to APM)\r\n - qgroundcontrol gui support?\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/150968223","html_url":"https://github.com/PX4/Firmware/pull/2922#issuecomment-150968223","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/2922","id":150968223,"user":{"login":"dagar","id":84712,"avatar_url":"https://avatars.githubusercontent.com/u/84712?v=3","gravatar_id":"","url":"https://api.github.com/users/dagar","html_url":"https://github.com/dagar","followers_url":"https://api.github.com/users/dagar/followers","following_url":"https://api.github.com/users/dagar/following{/other_user}","gists_url":"https://api.github.com/users/dagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagar/subscriptions","organizations_url":"https://api.github.com/users/dagar/orgs","repos_url":"https://api.github.com/users/dagar/repos","events_url":"https://api.github.com/users/dagar/events{/privacy}","received_events_url":"https://api.github.com/users/dagar/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T20:56:42Z","updated_at":"2015-10-25T20:56:42Z","body":"I tested this today and it mostly works, but retaking control with the sticks is way too sensitive."}}