{"action":"closed","issue":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/8018","repository_url":"https://api.github.com/repos/ArduPilot/ardupilot","labels_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/8018/labels{/name}","comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/8018/comments","events_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/8018/events","html_url":"https://github.com/ArduPilot/ardupilot/issues/8018","id":308801246,"number":8018,"title":"Copter: move get_default_auto_yaw_mode from mode_auto.cpp to mode.cpp.","user":{"login":"rmackay9","id":1498098,"avatar_url":"https://avatars2.githubusercontent.com/u/1498098?v=4","gravatar_id":"","url":"https://api.github.com/users/rmackay9","html_url":"https://github.com/rmackay9","followers_url":"https://api.github.com/users/rmackay9/followers","following_url":"https://api.github.com/users/rmackay9/following{/other_user}","gists_url":"https://api.github.com/users/rmackay9/gists{/gist_id}","starred_url":"https://api.github.com/users/rmackay9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmackay9/subscriptions","organizations_url":"https://api.github.com/users/rmackay9/orgs","repos_url":"https://api.github.com/users/rmackay9/repos","events_url":"https://api.github.com/users/rmackay9/events{/privacy}","received_events_url":"https://api.github.com/users/rmackay9/received_events","type":"User","site_admin":false},"labels":[{"id":24269224,"url":"https://api.github.com/repos/ArduPilot/ardupilot/labels/Copter","name":"Copter","color":"02e10c","default":false},{"id":782457039,"url":"https://api.github.com/repos/ArduPilot/ardupilot/labels/good%20first%20issue","name":"good first issue","color":"d639c3","default":true}],"state":"closed","locked":false,"assignee":{"login":"peterbarker","id":7077857,"avatar_url":"https://avatars0.githubusercontent.com/u/7077857?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbarker","html_url":"https://github.com/peterbarker","followers_url":"https://api.github.com/users/peterbarker/followers","following_url":"https://api.github.com/users/peterbarker/following{/other_user}","gists_url":"https://api.github.com/users/peterbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbarker/subscriptions","organizations_url":"https://api.github.com/users/peterbarker/orgs","repos_url":"https://api.github.com/users/peterbarker/repos","events_url":"https://api.github.com/users/peterbarker/events{/privacy}","received_events_url":"https://api.github.com/users/peterbarker/received_events","type":"User","site_admin":false},"assignees":[{"login":"peterbarker","id":7077857,"avatar_url":"https://avatars0.githubusercontent.com/u/7077857?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbarker","html_url":"https://github.com/peterbarker","followers_url":"https://api.github.com/users/peterbarker/followers","following_url":"https://api.github.com/users/peterbarker/following{/other_user}","gists_url":"https://api.github.com/users/peterbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbarker/subscriptions","organizations_url":"https://api.github.com/users/peterbarker/orgs","repos_url":"https://api.github.com/users/peterbarker/repos","events_url":"https://api.github.com/users/peterbarker/events{/privacy}","received_events_url":"https://api.github.com/users/peterbarker/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-27T02:38:02Z","updated_at":"2018-04-30T09:57:09Z","closed_at":"2018-04-30T09:57:09Z","author_association":"CONTRIBUTOR","body":"At the very [bottom of mode_auto.cpp](https://github.com/ArduPilot/ardupilot/blob/master/ArduCopter/mode_auto.cpp#L1882) we have a few functions that are part of the Copter class than we should be able to move to the Mode class (i.e mode.h, mode.cpp) or move to Attitude.cpp (@peterbarker do you know where they belong?).\r\n\r\n- get_default_auto_yaw_mode\r\n- set_auto_yaw_mode\r\n- set_auto_yaw_rate\r\n- get_auto_heading\r\n- get_auto_yaw_rate_cds\r\n\r\n- set_auto_yaw_look_at_heading  <-- called from GCS_MAVLink.cpp\r\n- set_auto_yaw_roi <-- called from GCS_Mavlink.cpp"}}
{"actor":{"display_login":"peterbarker"}}