{"action":"created","comment":{"url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/comments/195327502","pull_request_review_id":128671719,"id":195327502,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTMyNzUwMg==","diff_hunk":"@@ -0,0 +1,63 @@\n+/******************************************************************************\n+ * Copyright 2018 The Apollo Authors. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *****************************************************************************/\n+\n+/**\n+ * @file\n+ * @brief This file provides the implementation of the class \"LocalPath\".\n+ */\n+#include <vector>\n+\n+#include \"modules/planning/navi/common/local_path.h\"\n+\n+namespace apollo {\n+namespace planning {\n+\n+bool LocalPath::GetInitY(double &y) {\n+  if (points_.size() < 1) {","path":"modules/planning/navi/common/local_path.cc","position":29,"original_position":29,"commit_id":"a7d49b759f244a9dedc17d3e3142f4fb2df829bf","original_commit_id":"a7d49b759f244a9dedc17d3e3142f4fb2df829bf","user":{"login":"lianglia-apollo","id":29311964,"node_id":"MDQ6VXNlcjI5MzExOTY0","avatar_url":"https://avatars2.githubusercontent.com/u/29311964?v=4","gravatar_id":"","url":"https://api.github.com/users/lianglia-apollo","html_url":"https://github.com/lianglia-apollo","followers_url":"https://api.github.com/users/lianglia-apollo/followers","following_url":"https://api.github.com/users/lianglia-apollo/following{/other_user}","gists_url":"https://api.github.com/users/lianglia-apollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lianglia-apollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lianglia-apollo/subscriptions","organizations_url":"https://api.github.com/users/lianglia-apollo/orgs","repos_url":"https://api.github.com/users/lianglia-apollo/repos","events_url":"https://api.github.com/users/lianglia-apollo/events{/privacy}","received_events_url":"https://api.github.com/users/lianglia-apollo/received_events","type":"User","site_admin":false},"body":"points_.empty()?","created_at":"2018-06-14T07:41:12Z","updated_at":"2018-06-14T07:46:38Z","html_url":"https://github.com/ApolloAuto/apollo/pull/4533#discussion_r195327502","pull_request_url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/comments/195327502"},"html":{"href":"https://github.com/ApolloAuto/apollo/pull/4533#discussion_r195327502"},"pull_request":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533"}}},"pull_request":{"url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533","id":194802147,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0ODAyMTQ3","html_url":"https://github.com/ApolloAuto/apollo/pull/4533","diff_url":"https://github.com/ApolloAuto/apollo/pull/4533.diff","patch_url":"https://github.com/ApolloAuto/apollo/pull/4533.patch","issue_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/4533","number":4533,"state":"open","locked":false,"title":"planning:added a common class LocalPath forNaviPlanner","user":{"login":"lighton2012","id":33196931,"node_id":"MDQ6VXNlcjMzMTk2OTMx","avatar_url":"https://avatars2.githubusercontent.com/u/33196931?v=4","gravatar_id":"","url":"https://api.github.com/users/lighton2012","html_url":"https://github.com/lighton2012","followers_url":"https://api.github.com/users/lighton2012/followers","following_url":"https://api.github.com/users/lighton2012/following{/other_user}","gists_url":"https://api.github.com/users/lighton2012/gists{/gist_id}","starred_url":"https://api.github.com/users/lighton2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lighton2012/subscriptions","organizations_url":"https://api.github.com/users/lighton2012/orgs","repos_url":"https://api.github.com/users/lighton2012/repos","events_url":"https://api.github.com/users/lighton2012/events{/privacy}","received_events_url":"https://api.github.com/users/lighton2012/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-14T07:32:59Z","updated_at":"2018-06-14T07:46:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70380a233b69d8c04405e9a6424faa6ff1ae44a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533/commits","review_comments_url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533/comments","review_comment_url":"https://api.github.com/repos/ApolloAuto/apollo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/4533/comments","statuses_url":"https://api.github.com/repos/ApolloAuto/apollo/statuses/a7d49b759f244a9dedc17d3e3142f4fb2df829bf","head":{"label":"lighton2012:navi_planner","ref":"navi_planner","sha":"a7d49b759f244a9dedc17d3e3142f4fb2df829bf","user":{"login":"lighton2012","id":33196931,"node_id":"MDQ6VXNlcjMzMTk2OTMx","avatar_url":"https://avatars2.githubusercontent.com/u/33196931?v=4","gravatar_id":"","url":"https://api.github.com/users/lighton2012","html_url":"https://github.com/lighton2012","followers_url":"https://api.github.com/users/lighton2012/followers","following_url":"https://api.github.com/users/lighton2012/following{/other_user}","gists_url":"https://api.github.com/users/lighton2012/gists{/gist_id}","starred_url":"https://api.github.com/users/lighton2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lighton2012/subscriptions","organizations_url":"https://api.github.com/users/lighton2012/orgs","repos_url":"https://api.github.com/users/lighton2012/repos","events_url":"https://api.github.com/users/lighton2012/events{/privacy}","received_events_url":"https://api.github.com/users/lighton2012/received_events","type":"User","site_admin":false},"repo":{"id":136404898,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0MDQ4OTg=","name":"apollo","full_name":"lighton2012/apollo","owner":{"login":"lighton2012","id":33196931,"node_id":"MDQ6VXNlcjMzMTk2OTMx","avatar_url":"https://avatars2.githubusercontent.com/u/33196931?v=4","gravatar_id":"","url":"https://api.github.com/users/lighton2012","html_url":"https://github.com/lighton2012","followers_url":"https://api.github.com/users/lighton2012/followers","following_url":"https://api.github.com/users/lighton2012/following{/other_user}","gists_url":"https://api.github.com/users/lighton2012/gists{/gist_id}","starred_url":"https://api.github.com/users/lighton2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lighton2012/subscriptions","organizations_url":"https://api.github.com/users/lighton2012/orgs","repos_url":"https://api.github.com/users/lighton2012/repos","events_url":"https://api.github.com/users/lighton2012/events{/privacy}","received_events_url":"https://api.github.com/users/lighton2012/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lighton2012/apollo","description":"An open autonomous driving platform","fork":true,"url":"https://api.github.com/repos/lighton2012/apollo","forks_url":"https://api.github.com/repos/lighton2012/apollo/forks","keys_url":"https://api.github.com/repos/lighton2012/apollo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lighton2012/apollo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lighton2012/apollo/teams","hooks_url":"https://api.github.com/repos/lighton2012/apollo/hooks","issue_events_url":"https://api.github.com/repos/lighton2012/apollo/issues/events{/number}","events_url":"https://api.github.com/repos/lighton2012/apollo/events","assignees_url":"https://api.github.com/repos/lighton2012/apollo/assignees{/user}","branches_url":"https://api.github.com/repos/lighton2012/apollo/branches{/branch}","tags_url":"https://api.github.com/repos/lighton2012/apollo/tags","blobs_url":"https://api.github.com/repos/lighton2012/apollo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lighton2012/apollo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lighton2012/apollo/git/refs{/sha}","trees_url":"https://api.github.com/repos/lighton2012/apollo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lighton2012/apollo/statuses/{sha}","languages_url":"https://api.github.com/repos/lighton2012/apollo/languages","stargazers_url":"https://api.github.com/repos/lighton2012/apollo/stargazers","contributors_url":"https://api.github.com/repos/lighton2012/apollo/contributors","subscribers_url":"https://api.github.com/repos/lighton2012/apollo/subscribers","subscription_url":"https://api.github.com/repos/lighton2012/apollo/subscription","commits_url":"https://api.github.com/repos/lighton2012/apollo/commits{/sha}","git_commits_url":"https://api.github.com/repos/lighton2012/apollo/git/commits{/sha}","comments_url":"https://api.github.com/repos/lighton2012/apollo/comments{/number}","issue_comment_url":"https://api.github.com/repos/lighton2012/apollo/issues/comments{/number}","contents_url":"https://api.github.com/repos/lighton2012/apollo/contents/{+path}","compare_url":"https://api.github.com/repos/lighton2012/apollo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lighton2012/apollo/merges","archive_url":"https://api.github.com/repos/lighton2012/apollo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lighton2012/apollo/downloads","issues_url":"https://api.github.com/repos/lighton2012/apollo/issues{/number}","pulls_url":"https://api.github.com/repos/lighton2012/apollo/pulls{/number}","milestones_url":"https://api.github.com/repos/lighton2012/apollo/milestones{/number}","notifications_url":"https://api.github.com/repos/lighton2012/apollo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lighton2012/apollo/labels{/name}","releases_url":"https://api.github.com/repos/lighton2012/apollo/releases{/id}","deployments_url":"https://api.github.com/repos/lighton2012/apollo/deployments","created_at":"2018-06-07T01:26:51Z","updated_at":"2018-06-14T00:43:01Z","pushed_at":"2018-06-14T07:32:29Z","git_url":"git://github.com/lighton2012/apollo.git","ssh_url":"git@github.com:lighton2012/apollo.git","clone_url":"https://github.com/lighton2012/apollo.git","svn_url":"https://github.com/lighton2012/apollo","homepage":null,"size":407750,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ApolloAuto:master","ref":"master","sha":"cc04c229b163cd0881b592413dcb2be1713c7e42","user":{"login":"ApolloAuto","id":28768304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY4MzA0","avatar_url":"https://avatars1.githubusercontent.com/u/28768304?v=4","gravatar_id":"","url":"https://api.github.com/users/ApolloAuto","html_url":"https://github.com/ApolloAuto","followers_url":"https://api.github.com/users/ApolloAuto/followers","following_url":"https://api.github.com/users/ApolloAuto/following{/other_user}","gists_url":"https://api.github.com/users/ApolloAuto/gists{/gist_id}","starred_url":"https://api.github.com/users/ApolloAuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ApolloAuto/subscriptions","organizations_url":"https://api.github.com/users/ApolloAuto/orgs","repos_url":"https://api.github.com/users/ApolloAuto/repos","events_url":"https://api.github.com/users/ApolloAuto/events{/privacy}","received_events_url":"https://api.github.com/users/ApolloAuto/received_events","type":"Organization","site_admin":false},"repo":{"id":96246170,"node_id":"MDEwOlJlcG9zaXRvcnk5NjI0NjE3MA==","name":"apollo","full_name":"ApolloAuto/apollo","owner":{"login":"ApolloAuto","id":28768304,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzY4MzA0","avatar_url":"https://avatars1.githubusercontent.com/u/28768304?v=4","gravatar_id":"","url":"https://api.github.com/users/ApolloAuto","html_url":"https://github.com/ApolloAuto","followers_url":"https://api.github.com/users/ApolloAuto/followers","following_url":"https://api.github.com/users/ApolloAuto/following{/other_user}","gists_url":"https://api.github.com/users/ApolloAuto/gists{/gist_id}","starred_url":"https://api.github.com/users/ApolloAuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ApolloAuto/subscriptions","organizations_url":"https://api.github.com/users/ApolloAuto/orgs","repos_url":"https://api.github.com/users/ApolloAuto/repos","events_url":"https://api.github.com/users/ApolloAuto/events{/privacy}","received_events_url":"https://api.github.com/users/ApolloAuto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ApolloAuto/apollo","description":"An open autonomous driving platform","fork":false,"url":"https://api.github.com/repos/ApolloAuto/apollo","forks_url":"https://api.github.com/repos/ApolloAuto/apollo/forks","keys_url":"https://api.github.com/repos/ApolloAuto/apollo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ApolloAuto/apollo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ApolloAuto/apollo/teams","hooks_url":"https://api.github.com/repos/ApolloAuto/apollo/hooks","issue_events_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/events{/number}","events_url":"https://api.github.com/repos/ApolloAuto/apollo/events","assignees_url":"https://api.github.com/repos/ApolloAuto/apollo/assignees{/user}","branches_url":"https://api.github.com/repos/ApolloAuto/apollo/branches{/branch}","tags_url":"https://api.github.com/repos/ApolloAuto/apollo/tags","blobs_url":"https://api.github.com/repos/ApolloAuto/apollo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ApolloAuto/apollo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ApolloAuto/apollo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ApolloAuto/apollo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ApolloAuto/apollo/statuses/{sha}","languages_url":"https://api.github.com/repos/ApolloAuto/apollo/languages","stargazers_url":"https://api.github.com/repos/ApolloAuto/apollo/stargazers","contributors_url":"https://api.github.com/repos/ApolloAuto/apollo/contributors","subscribers_url":"https://api.github.com/repos/ApolloAuto/apollo/subscribers","subscription_url":"https://api.github.com/repos/ApolloAuto/apollo/subscription","commits_url":"https://api.github.com/repos/ApolloAuto/apollo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ApolloAuto/apollo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ApolloAuto/apollo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ApolloAuto/apollo/contents/{+path}","compare_url":"https://api.github.com/repos/ApolloAuto/apollo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ApolloAuto/apollo/merges","archive_url":"https://api.github.com/repos/ApolloAuto/apollo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ApolloAuto/apollo/downloads","issues_url":"https://api.github.com/repos/ApolloAuto/apollo/issues{/number}","pulls_url":"https://api.github.com/repos/ApolloAuto/apollo/pulls{/number}","milestones_url":"https://api.github.com/repos/ApolloAuto/apollo/milestones{/number}","notifications_url":"https://api.github.com/repos/ApolloAuto/apollo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ApolloAuto/apollo/labels{/name}","releases_url":"https://api.github.com/repos/ApolloAuto/apollo/releases{/id}","deployments_url":"https://api.github.com/repos/ApolloAuto/apollo/deployments","created_at":"2017-07-04T19:03:31Z","updated_at":"2018-06-14T07:40:04Z","pushed_at":"2018-06-14T07:40:15Z","git_url":"git://github.com/ApolloAuto/apollo.git","ssh_url":"git@github.com:ApolloAuto/apollo.git","clone_url":"https://github.com/ApolloAuto/apollo.git","svn_url":"https://github.com/ApolloAuto/apollo","homepage":null,"size":407747,"stargazers_count":9340,"watchers_count":9340,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2382,"mirror_url":null,"archived":false,"open_issues_count":268,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2382,"open_issues":268,"watchers":9340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533"},"html":{"href":"https://github.com/ApolloAuto/apollo/pull/4533"},"issue":{"href":"https://api.github.com/repos/ApolloAuto/apollo/issues/4533"},"comments":{"href":"https://api.github.com/repos/ApolloAuto/apollo/issues/4533/comments"},"review_comments":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533/comments"},"review_comment":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ApolloAuto/apollo/pulls/4533/commits"},"statuses":{"href":"https://api.github.com/repos/ApolloAuto/apollo/statuses/a7d49b759f244a9dedc17d3e3142f4fb2df829bf"}},"author_association":"NONE"}}
{"actor":{"display_login":"lianglia-apollo"}}