{"pull_request":{"state":"open","deletions":419,"merged_by":null,"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},"updated_at":"2011-11-10T05:08:41Z","base":{"ref":"master","repo":{"name":"pioneer","fork":false,"master_branch":null,"pushed_at":"2011-11-08T15:51:30Z","clone_url":"https://github.com/pioneerspacesim/pioneer.git","updated_at":"2011-11-09T23:06:32Z","open_issues":180,"homepage":"http://pioneerspacesim.net/","svn_url":"https://svn.github.com/pioneerspacesim/pioneer","forks":33,"private":false,"language":"C","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":3648,"id":1593053,"watchers":46,"git_url":"git://github.com/pioneerspacesim/pioneer.git","created_at":"2011-04-09T22:17:05Z","ssh_url":"git@github.com:pioneerspacesim/pioneer.git"},"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},"label":"pioneerspacesim:master","sha":"df6a6b1b0e9b96f2a8f4dead6c88602b8f1f4f90"},"commits":32,"comments":0,"closed_at":null,"diff_url":"https://github.com/pioneerspacesim/pioneer/pull/789.diff","merged":false,"head":{"ref":"autopilot","repo":{"name":"pioneer","fork":true,"master_branch":null,"pushed_at":"2011-11-10T04:52:36Z","clone_url":"https://github.com/robn/pioneer.git","updated_at":"2011-11-10T04:52:36Z","open_issues":0,"homepage":"http://pioneerspacesim.net/","svn_url":"https://svn.github.com/robn/pioneer","forks":1,"private":false,"language":"C","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":356,"id":1315421,"watchers":9,"git_url":"git://github.com/robn/pioneer.git","created_at":"2011-02-01T08:04:43Z","ssh_url":"git@github.com:robn/pioneer.git"},"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},"label":"robn:autopilot","sha":"50665549eb886c085326073b1f8863011563a9df"},"url":"https://api.github.com/repos/pioneerspacesim/pioneer/pulls/789","additions":600,"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`).","merged_at":null,"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"}},"issue_url":"https://github.com/pioneerspacesim/pioneer/issues/789","review_comments":0,"title":"Autopilot v2","number":789,"mergeable":null,"id":480938,"patch_url":"https://github.com/pioneerspacesim/pioneer/pull/789.patch","changed_files":14,"created_at":"2011-11-10T05:08:41Z"},"action":"opened","number":789}