{"action":"created","issue":{"url":"https://api.github.com/repos/dronekit/dronekit-python/issues/72","labels_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/72/comments","events_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/72/events","html_url":"https://github.com/dronekit/dronekit-python/issues/72","id":71770658,"number":72,"title":"Move channel_override examples out of simple_goto and small_demo","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/dronekit/dronekit-python/labels/[docs]%20bug","name":"[docs] bug","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-29T03:51:13Z","updated_at":"2015-11-07T05:34:33Z","closed_at":"2015-11-07T01:54:21Z","body":"According to @tridge overriding channels is intended for simulating user input (ie in autotest) or for implementing joystick behaviour. It should not be used to directly drive a vehicle, except as a last resort. Instead the appropriate mavlink commands should be used.\r\n\r\nThe following examples set the channel_override in  a way that we would not recommend:\r\n\r\n* https://github.com/diydrones/dronekit-python/blob/master/example/small_demo/small_demo.py#L80\r\n> https://github.com/diydrones/dronekit-python/blob/master/example/simple_goto/simple_goto.py#L26\r\n\r\nI propose that we:\r\n\r\n* strip this from small_demo and simple_goto, and create a small independent demo that shows just this behaviour. \r\n* add a warning in the new example's code and docs about this use case\r\n* replace the throttle setting in the simple_goto with a more appropriate command for setting the throttle.\r\n"},"comment":{"url":"https://api.github.com/repos/dronekit/dronekit-python/issues/comments/154626152","html_url":"https://github.com/dronekit/dronekit-python/issues/72#issuecomment-154626152","issue_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/72","id":154626152,"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-11-07T05:34:33Z","updated_at":"2015-11-07T05:34:33Z","body":"Yes, this was done ages ago :-)"}}