{"pull_request":{"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/e0111ec54e2ff06c4661eda1a0585f9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e0111ec54e2ff06c4661eda1a0585f9f","url":"https://api.github.com/users/robn","login":"robn","id":130670},"deletions":427,"merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/e0111ec54e2ff06c4661eda1a0585f9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e0111ec54e2ff06c4661eda1a0585f9f","url":"https://api.github.com/users/robn","login":"robn","id":130670},"updated_at":"2011-11-11T02:55:17Z","comments":0,"base":{"ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/0e33109a8fba33cbf66e04a5f63428c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"0e33109a8fba33cbf66e04a5f63428c3","url":"https://api.github.com/users/pioneerspacesim","login":"pioneerspacesim","id":719820},"repo":{"name":"pioneer","master_branch":null,"pushed_at":"2011-11-11T02:55:10Z","fork":false,"clone_url":"https://github.com/pioneerspacesim/pioneer.git","open_issues":181,"homepage":"http://pioneerspacesim.net/","updated_at":"2011-11-11T02:55:10Z","language":"C","private":false,"svn_url":"https://svn.github.com/pioneerspacesim/pioneer","forks":33,"url":"https://api.github.com/repos/pioneerspacesim/pioneer","owner":{"avatar_url":"https://secure.gravatar.com/avatar/0e33109a8fba33cbf66e04a5f63428c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"0e33109a8fba33cbf66e04a5f63428c3","url":"https://api.github.com/users/pioneerspacesim","login":"pioneerspacesim","id":719820},"html_url":"https://github.com/pioneerspacesim/pioneer","description":"space simulation adventure game","size":3684,"id":1593053,"git_url":"git://github.com/pioneerspacesim/pioneer.git","watchers":48,"created_at":"2011-04-09T22:17:05Z","ssh_url":"git@github.com:pioneerspacesim/pioneer.git"},"label":"pioneerspacesim:master","sha":"8c1789cc0bbd0f20d03cb2f762b43f040405fb56"},"diff_url":"https://github.com/pioneerspacesim/pioneer/pull/789.diff","closed_at":"2011-11-11T02:55:16Z","commits":44,"head":{"ref":"autopilot","user":{"avatar_url":"https://secure.gravatar.com/avatar/e0111ec54e2ff06c4661eda1a0585f9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e0111ec54e2ff06c4661eda1a0585f9f","url":"https://api.github.com/users/robn","login":"robn","id":130670},"repo":{"name":"pioneer","master_branch":null,"pushed_at":"2011-11-11T02:54:49Z","fork":true,"clone_url":"https://github.com/robn/pioneer.git","open_issues":0,"homepage":"http://pioneerspacesim.net/","updated_at":"2011-11-11T02:54:49Z","language":"C","private":false,"svn_url":"https://svn.github.com/robn/pioneer","forks":1,"url":"https://api.github.com/repos/robn/pioneer","owner":{"avatar_url":"https://secure.gravatar.com/avatar/e0111ec54e2ff06c4661eda1a0585f9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e0111ec54e2ff06c4661eda1a0585f9f","url":"https://api.github.com/users/robn","login":"robn","id":130670},"html_url":"https://github.com/robn/pioneer","description":"space simulation adventure game","size":308,"id":1315421,"git_url":"git://github.com/robn/pioneer.git","watchers":9,"created_at":"2011-02-01T08:04:43Z","ssh_url":"git@github.com:robn/pioneer.git"},"label":"robn:autopilot","sha":"e6470ec3387888bb8f31c5fece9acd1ab50edf56"},"url":"https://api.github.com/repos/pioneerspacesim/pioneer/pulls/789","additions":673,"merged":true,"merged_at":"2011-11-11T02:55:16Z","body":"@jaj22's rewritten autopilot. Needs testing in lots of different situations:\r\n\r\n```\r\n08:24 < robn> how should it be tested? just try a few different scenarios and make sure it appears to do the right thing?\r\n\r\n08:25 < JohnJ> Well, different people fly in different ways to what I do :-)\r\n08:25 < JohnJ> I tested every sol station at various time accelerations with an Eagle.\r\n08:25 < JohnJ> And some orbits.\r\n08:27 < JohnJ> I need to do some non-Eagle testing really, after clearing up the error reporting.\r\n08:27 < JohnJ> But otherwise you're mostly looking for weird systems where it breaks.\r\n\r\n08:32 < JohnJ> Oh yeah, any general \"feel\" complaints about how the autopilot acts are welcome too.\r\n08:32 < JohnJ> I get too used to things :-)\r\n```\r\n\r\nIt has some error reporting stuff that needs hooking up. The basic gist is that when the autopilot completes its current command, it sets a message to note why it succeeded or failed. We need to call `Ship::AIMessage()` to get that code, and then output appropriate text to the message/scanner area. This message should also be exposed to Lua (presumably via `onAICompleted`).","issue_url":"https://github.com/pioneerspacesim/pioneer/issues/789","review_comments":0,"html_url":"https://github.com/pioneerspacesim/pioneer/pull/789","_links":{"comments":{"href":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/789/comments"},"html":{"href":"https://github.com/pioneerspacesim/pioneer/pull/789"},"review_comments":{"href":"https://api.github.com/repos/pioneerspacesim/pioneer/pulls/789/comments"},"self":{"href":"https://api.github.com/repos/pioneerspacesim/pioneer/pulls/789"}},"title":"Autopilot v2","number":789,"mergeable":true,"id":480938,"patch_url":"https://github.com/pioneerspacesim/pioneer/pull/789.patch","changed_files":21,"created_at":"2011-11-10T05:08:41Z"},"action":"closed","number":789}