{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/dronekit-python/issues/133","labels_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/133/comments","events_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/133/events","html_url":"https://github.com/diydrones/dronekit-python/issues/133","id":79293500,"number":133,"title":"Methods to get distance to target and from home","user":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diydrones/dronekit-python/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mrpollo","id":317648,"avatar_url":"https://avatars.githubusercontent.com/u/317648?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpollo","html_url":"https://github.com/mrpollo","followers_url":"https://api.github.com/users/mrpollo/followers","following_url":"https://api.github.com/users/mrpollo/following{/other_user}","gists_url":"https://api.github.com/users/mrpollo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpollo/subscriptions","organizations_url":"https://api.github.com/users/mrpollo/orgs","repos_url":"https://api.github.com/users/mrpollo/repos","events_url":"https://api.github.com/users/mrpollo/events{/privacy}","received_events_url":"https://api.github.com/users/mrpollo/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-22T05:19:06Z","updated_at":"2015-06-05T07:13:07Z","closed_at":null,"body":"It is useful to be able to perform actions based on distance to target or distance from home. It would also be useful to be able to get a callback when the distance from target/home is a certain value.\r\n\r\nWhile the maths for determining distances is fairly straighforward, this is probably required often enough that providing an API makes sense."},"comment":{"url":"https://api.github.com/repos/diydrones/dronekit-python/issues/comments/109184715","html_url":"https://github.com/diydrones/dronekit-python/issues/133#issuecomment-109184715","issue_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/133","id":109184715,"user":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T07:13:06Z","updated_at":"2015-06-05T07:13:06Z","body":"@jmacgithu yes, they look very useful. @mrpollo thoughts - best way to integrate?"}}