{"action":"opened","number":3812,"pull_request":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812","id":70964488,"html_url":"https://github.com/MarlinFirmware/Marlin/pull/3812","diff_url":"https://github.com/MarlinFirmware/Marlin/pull/3812.diff","patch_url":"https://github.com/MarlinFirmware/Marlin/pull/3812.patch","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3812","number":3812,"state":"open","locked":false,"title":"Two index finding functions for MBL","user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"body":"Background: MBL compensation relies on knowing which grid box a point lies inside. But `M421` relies on knowing which grid lines (i.e., probe point, or grid box corner) a point is closest to. These are two separate functions.\r\n\r\nThis PR adds `select_nearest_x_index` and `select_nearest_y_index` functions to the `mesh_bed_leveling` class for the use of `M421` to find the nearest probe point.\r\n\r\nReference: #3811","created_at":"2016-05-22T00:43:33Z","updated_at":"2016-05-22T00:43:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones/53","html_url":"https://github.com/MarlinFirmware/Marlin/milestones/1.1.0","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones/53/labels","id":1726554,"number":53,"title":"1.1.0","description":"","creator":{"login":"jbrazio","id":264365,"avatar_url":"https://avatars.githubusercontent.com/u/264365?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrazio","html_url":"https://github.com/jbrazio","followers_url":"https://api.github.com/users/jbrazio/followers","following_url":"https://api.github.com/users/jbrazio/following{/other_user}","gists_url":"https://api.github.com/users/jbrazio/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrazio/subscriptions","organizations_url":"https://api.github.com/users/jbrazio/orgs","repos_url":"https://api.github.com/users/jbrazio/repos","events_url":"https://api.github.com/users/jbrazio/events{/privacy}","received_events_url":"https://api.github.com/users/jbrazio/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":59,"state":"open","created_at":"2016-04-23T11:44:07Z","updated_at":"2016-05-22T00:43:33Z","due_on":"2016-05-31T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812/commits","review_comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812/comments","review_comment_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3812/comments","statuses_url":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/30894f721f64bd7c9e98f57d0f4f349981a78113","head":{"label":"thinkyhead:rc_mbl_index_finders","ref":"rc_mbl_index_finders","sha":"30894f721f64bd7c9e98f57d0f4f349981a78113","user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"repo":{"id":24809835,"name":"Marlin","full_name":"thinkyhead/Marlin","owner":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thinkyhead/Marlin","description":"This fork is a primary contributor to the MarlinFirmware/Marlin release branch, frequently pushing bug fixes, new features, and code cleanup. See the Wiki page for details. If any of the experimental branches here look interesting please contribute! Branches with \"i3_millie\" in the name include all the latest goodies, optimized for my RAMPS-based Prusa i3.","fork":true,"url":"https://api.github.com/repos/thinkyhead/Marlin","forks_url":"https://api.github.com/repos/thinkyhead/Marlin/forks","keys_url":"https://api.github.com/repos/thinkyhead/Marlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thinkyhead/Marlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thinkyhead/Marlin/teams","hooks_url":"https://api.github.com/repos/thinkyhead/Marlin/hooks","issue_events_url":"https://api.github.com/repos/thinkyhead/Marlin/issues/events{/number}","events_url":"https://api.github.com/repos/thinkyhead/Marlin/events","assignees_url":"https://api.github.com/repos/thinkyhead/Marlin/assignees{/user}","branches_url":"https://api.github.com/repos/thinkyhead/Marlin/branches{/branch}","tags_url":"https://api.github.com/repos/thinkyhead/Marlin/tags","blobs_url":"https://api.github.com/repos/thinkyhead/Marlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thinkyhead/Marlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thinkyhead/Marlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/thinkyhead/Marlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thinkyhead/Marlin/statuses/{sha}","languages_url":"https://api.github.com/repos/thinkyhead/Marlin/languages","stargazers_url":"https://api.github.com/repos/thinkyhead/Marlin/stargazers","contributors_url":"https://api.github.com/repos/thinkyhead/Marlin/contributors","subscribers_url":"https://api.github.com/repos/thinkyhead/Marlin/subscribers","subscription_url":"https://api.github.com/repos/thinkyhead/Marlin/subscription","commits_url":"https://api.github.com/repos/thinkyhead/Marlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/thinkyhead/Marlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/thinkyhead/Marlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/thinkyhead/Marlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/thinkyhead/Marlin/contents/{+path}","compare_url":"https://api.github.com/repos/thinkyhead/Marlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thinkyhead/Marlin/merges","archive_url":"https://api.github.com/repos/thinkyhead/Marlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thinkyhead/Marlin/downloads","issues_url":"https://api.github.com/repos/thinkyhead/Marlin/issues{/number}","pulls_url":"https://api.github.com/repos/thinkyhead/Marlin/pulls{/number}","milestones_url":"https://api.github.com/repos/thinkyhead/Marlin/milestones{/number}","notifications_url":"https://api.github.com/repos/thinkyhead/Marlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thinkyhead/Marlin/labels{/name}","releases_url":"https://api.github.com/repos/thinkyhead/Marlin/releases{/id}","deployments_url":"https://api.github.com/repos/thinkyhead/Marlin/deployments","created_at":"2014-10-05T06:17:14Z","updated_at":"2016-05-06T10:56:32Z","pushed_at":"2016-05-22T00:38:32Z","git_url":"git://github.com/thinkyhead/Marlin.git","ssh_url":"git@github.com:thinkyhead/Marlin.git","clone_url":"https://github.com/thinkyhead/Marlin.git","svn_url":"https://github.com/thinkyhead/Marlin","homepage":"http://www.thinkyhead.com/","size":30155,"stargazers_count":8,"watchers_count":8,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":8,"default_branch":"i3_millie_RC4"}},"base":{"label":"MarlinFirmware:RCBugFix","ref":"RCBugFix","sha":"03e44e0f83647e1ba7d8f09878d6c1c984c37b65","user":{"login":"MarlinFirmware","id":10418365,"avatar_url":"https://avatars.githubusercontent.com/u/10418365?v=3","gravatar_id":"","url":"https://api.github.com/users/MarlinFirmware","html_url":"https://github.com/MarlinFirmware","followers_url":"https://api.github.com/users/MarlinFirmware/followers","following_url":"https://api.github.com/users/MarlinFirmware/following{/other_user}","gists_url":"https://api.github.com/users/MarlinFirmware/gists{/gist_id}","starred_url":"https://api.github.com/users/MarlinFirmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarlinFirmware/subscriptions","organizations_url":"https://api.github.com/users/MarlinFirmware/orgs","repos_url":"https://api.github.com/users/MarlinFirmware/repos","events_url":"https://api.github.com/users/MarlinFirmware/events{/privacy}","received_events_url":"https://api.github.com/users/MarlinFirmware/received_events","type":"Organization","site_admin":false},"repo":{"id":2200856,"name":"Marlin","full_name":"MarlinFirmware/Marlin","owner":{"login":"MarlinFirmware","id":10418365,"avatar_url":"https://avatars.githubusercontent.com/u/10418365?v=3","gravatar_id":"","url":"https://api.github.com/users/MarlinFirmware","html_url":"https://github.com/MarlinFirmware","followers_url":"https://api.github.com/users/MarlinFirmware/followers","following_url":"https://api.github.com/users/MarlinFirmware/following{/other_user}","gists_url":"https://api.github.com/users/MarlinFirmware/gists{/gist_id}","starred_url":"https://api.github.com/users/MarlinFirmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarlinFirmware/subscriptions","organizations_url":"https://api.github.com/users/MarlinFirmware/orgs","repos_url":"https://api.github.com/users/MarlinFirmware/repos","events_url":"https://api.github.com/users/MarlinFirmware/events{/privacy}","received_events_url":"https://api.github.com/users/MarlinFirmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarlinFirmware/Marlin","description":"Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu","fork":false,"url":"https://api.github.com/repos/MarlinFirmware/Marlin","forks_url":"https://api.github.com/repos/MarlinFirmware/Marlin/forks","keys_url":"https://api.github.com/repos/MarlinFirmware/Marlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarlinFirmware/Marlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarlinFirmware/Marlin/teams","hooks_url":"https://api.github.com/repos/MarlinFirmware/Marlin/hooks","issue_events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/events{/number}","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/events","assignees_url":"https://api.github.com/repos/MarlinFirmware/Marlin/assignees{/user}","branches_url":"https://api.github.com/repos/MarlinFirmware/Marlin/branches{/branch}","tags_url":"https://api.github.com/repos/MarlinFirmware/Marlin/tags","blobs_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/{sha}","languages_url":"https://api.github.com/repos/MarlinFirmware/Marlin/languages","stargazers_url":"https://api.github.com/repos/MarlinFirmware/Marlin/stargazers","contributors_url":"https://api.github.com/repos/MarlinFirmware/Marlin/contributors","subscribers_url":"https://api.github.com/repos/MarlinFirmware/Marlin/subscribers","subscription_url":"https://api.github.com/repos/MarlinFirmware/Marlin/subscription","commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarlinFirmware/Marlin/contents/{+path}","compare_url":"https://api.github.com/repos/MarlinFirmware/Marlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarlinFirmware/Marlin/merges","archive_url":"https://api.github.com/repos/MarlinFirmware/Marlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarlinFirmware/Marlin/downloads","issues_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues{/number}","pulls_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls{/number}","milestones_url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones{/number}","notifications_url":"https://api.github.com/repos/MarlinFirmware/Marlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels{/name}","releases_url":"https://api.github.com/repos/MarlinFirmware/Marlin/releases{/id}","deployments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/deployments","created_at":"2011-08-13T08:07:20Z","updated_at":"2016-05-20T16:45:00Z","pushed_at":"2016-05-21T14:59:53Z","git_url":"git://github.com/MarlinFirmware/Marlin.git","ssh_url":"git@github.com:MarlinFirmware/Marlin.git","clone_url":"https://github.com/MarlinFirmware/Marlin.git","svn_url":"https://github.com/MarlinFirmware/Marlin","homepage":"","size":52734,"stargazers_count":1726,"watchers_count":1726,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3029,"mirror_url":null,"open_issues_count":61,"forks":3029,"open_issues":61,"watchers":1726,"default_branch":"RC"}},"_links":{"self":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812"},"html":{"href":"https://github.com/MarlinFirmware/Marlin/pull/3812"},"issue":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3812"},"comments":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3812/comments"},"review_comments":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812/comments"},"review_comment":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/3812/commits"},"statuses":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/30894f721f64bd7c9e98f57d0f4f349981a78113"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"thinkyhead"}}