{"action":"created","issue":{"url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/310","repository_url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3","labels_url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/310/comments","events_url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/310/events","html_url":"https://github.com/ROBOTIS-GIT/turtlebot3/issues/310","id":359353463,"node_id":"MDU6SXNzdWUzNTkzNTM0NjM=","number":310,"title":"turtlebot3_follower does not work, and always return with 'empty'","user":{"login":"kfr2tom","id":37163489,"node_id":"MDQ6VXNlcjM3MTYzNDg5","avatar_url":"https://avatars3.githubusercontent.com/u/37163489?v=4","gravatar_id":"","url":"https://api.github.com/users/kfr2tom","html_url":"https://github.com/kfr2tom","followers_url":"https://api.github.com/users/kfr2tom/followers","following_url":"https://api.github.com/users/kfr2tom/following{/other_user}","gists_url":"https://api.github.com/users/kfr2tom/gists{/gist_id}","starred_url":"https://api.github.com/users/kfr2tom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfr2tom/subscriptions","organizations_url":"https://api.github.com/users/kfr2tom/orgs","repos_url":"https://api.github.com/users/kfr2tom/repos","events_url":"https://api.github.com/users/kfr2tom/events{/privacy}","received_events_url":"https://api.github.com/users/kfr2tom/received_events","type":"User","site_admin":false},"labels":[{"id":395999129,"node_id":"MDU6TGFiZWwzOTU5OTkxMjk=","url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/labels/question","name":"question","color":"fbca04","default":true},{"id":894972763,"node_id":"MDU6TGFiZWw4OTQ5NzI3NjM=","url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/labels/waiting%20for%20reply","name":"waiting for reply","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"kijongGil","id":17861812,"node_id":"MDQ6VXNlcjE3ODYxODEy","avatar_url":"https://avatars2.githubusercontent.com/u/17861812?v=4","gravatar_id":"","url":"https://api.github.com/users/kijongGil","html_url":"https://github.com/kijongGil","followers_url":"https://api.github.com/users/kijongGil/followers","following_url":"https://api.github.com/users/kijongGil/following{/other_user}","gists_url":"https://api.github.com/users/kijongGil/gists{/gist_id}","starred_url":"https://api.github.com/users/kijongGil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kijongGil/subscriptions","organizations_url":"https://api.github.com/users/kijongGil/orgs","repos_url":"https://api.github.com/users/kijongGil/repos","events_url":"https://api.github.com/users/kijongGil/events{/privacy}","received_events_url":"https://api.github.com/users/kijongGil/received_events","type":"User","site_admin":false},"assignees":[{"login":"kijongGil","id":17861812,"node_id":"MDQ6VXNlcjE3ODYxODEy","avatar_url":"https://avatars2.githubusercontent.com/u/17861812?v=4","gravatar_id":"","url":"https://api.github.com/users/kijongGil","html_url":"https://github.com/kijongGil","followers_url":"https://api.github.com/users/kijongGil/followers","following_url":"https://api.github.com/users/kijongGil/following{/other_user}","gists_url":"https://api.github.com/users/kijongGil/gists{/gist_id}","starred_url":"https://api.github.com/users/kijongGil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kijongGil/subscriptions","organizations_url":"https://api.github.com/users/kijongGil/orgs","repos_url":"https://api.github.com/users/kijongGil/repos","events_url":"https://api.github.com/users/kijongGil/events{/privacy}","received_events_url":"https://api.github.com/users/kijongGil/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-09-12T07:41:44Z","updated_at":"2018-09-30T04:43:42Z","closed_at":null,"author_association":"NONE","body":"Hello, we use Turtlebot3 with **Kinetic on Ubuntu 16.04**.\r\n\r\n```\r\n## Predict the position\r\n[x for (x , y) in self.labels.iteritems() if y == self.clf2.predict(laser_data_set) ] \r\nprint 'check_people return x:',x\r\nprint 'check_people return y:',y\r\n```\r\n```\r\n[x for (x , y) in self.labels.iteritems() if y == self.clf.predict(data_test_set) ] \r\nprint 'laser_scan return x:',x\r\nreturn x\r\n```\r\n\r\nwe have add some print to output the “x” and “y” from the function [check_people(self)](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/follower.py#L39-L47) and [laser_scan(self)](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/follower.py#L67), But all of them are \"empty\", as following list.\r\n\r\n> check_people return x: empty\r\n> check_people return y: 7\r\n> laser_scan return x: empty\r\n> check_people return x: empty\r\n> check_people return y: 7\r\n> laser_scan return x: empty\r\n\r\nAnd we found a strange point, the value of [ret](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/follower.py#L41-L47) in **check_people(self)** is always 1, it means the node always consider check_people successfully. Is it wrong?\r\n  \r\nCan you explain how to use the [clf](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/clf) and [clf2](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/clf2) to achieve [laser_scan(self)](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/follower.py#L49) and [check_people(self)](https://github.com/ROBOTIS-GIT/turtlebot3_applications/blob/kinetic-devel/turtlebot3_follower/scripts/follower.py#L19) correctly? Or how to implement the forecasting process? Thanks for read first!"},"comment":{"url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/comments/425694335","html_url":"https://github.com/ROBOTIS-GIT/turtlebot3/issues/310#issuecomment-425694335","issue_url":"https://api.github.com/repos/ROBOTIS-GIT/turtlebot3/issues/310","id":425694335,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY5NDMzNQ==","user":{"login":"robotpilot","id":2698667,"node_id":"MDQ6VXNlcjI2OTg2Njc=","avatar_url":"https://avatars0.githubusercontent.com/u/2698667?v=4","gravatar_id":"","url":"https://api.github.com/users/robotpilot","html_url":"https://github.com/robotpilot","followers_url":"https://api.github.com/users/robotpilot/followers","following_url":"https://api.github.com/users/robotpilot/following{/other_user}","gists_url":"https://api.github.com/users/robotpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/robotpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotpilot/subscriptions","organizations_url":"https://api.github.com/users/robotpilot/orgs","repos_url":"https://api.github.com/users/robotpilot/repos","events_url":"https://api.github.com/users/robotpilot/events{/privacy}","received_events_url":"https://api.github.com/users/robotpilot/received_events","type":"User","site_admin":false},"created_at":"2018-09-30T04:43:42Z","updated_at":"2018-09-30T04:43:42Z","author_association":"MEMBER","body":"This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks."}}
{"actor":{"display_login":"robotpilot"}}