{"action":"created","comment":{"url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/comments/170428251","pull_request_review_id":99119322,"id":170428251,"diff_hunk":"@@ -0,0 +1,374 @@\n+#!/usr/bin/env python\n+# -*- coding: utf-8 -*-\n+#\n+# Copyright (c) 2018 Universidad de Costa Rica, Autonomous Robots\n+# and Cognitive Systems Laboratory (ARCOS-lab)\n+# Author: Daniel Garcia-Vaglio <degv364@gmail.com>\n+#\n+# This program is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program. If not, see <http://www.gnu.org/licenses/>.\n+\"\"\"This creates a scene logger.\n+\n+Opens the same ports required for visualization\n+but it logs the info instead of drawing it.\n+\"\"\"\n+from __future__ import print_function\n+\n+from builtins import zip\n+from builtins import str\n+from builtins import map\n+from builtins import range\n+import time\n+import sys\n+import signal\n+import yarp\n+import optparse\n+import pickle\n+from numpy import array\n+\n+from arcospyu.control.control_loop import Controlloop\n+\n+sys.path.append('../hand_cart')\n+sys.path.append('../config_data/lwr')","path":"vis_sink.py","position":42,"original_position":42,"commit_id":"45bb94d867a102cce7f2076ecd3f6a9e34b92f31","original_commit_id":"45bb94d867a102cce7f2076ecd3f6a9e34b92f31","user":{"login":"jcrono","id":11580951,"avatar_url":"https://avatars3.githubusercontent.com/u/11580951?v=4","gravatar_id":"","url":"https://api.github.com/users/jcrono","html_url":"https://github.com/jcrono","followers_url":"https://api.github.com/users/jcrono/followers","following_url":"https://api.github.com/users/jcrono/following{/other_user}","gists_url":"https://api.github.com/users/jcrono/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrono/subscriptions","organizations_url":"https://api.github.com/users/jcrono/orgs","repos_url":"https://api.github.com/users/jcrono/repos","events_url":"https://api.github.com/users/jcrono/events{/privacy}","received_events_url":"https://api.github.com/users/jcrono/received_events","type":"User","site_admin":false},"body":"Same as above","created_at":"2018-02-24T18:21:45Z","updated_at":"2018-02-24T18:50:06Z","html_url":"https://github.com/arcoslab/pyrovito/pull/6#discussion_r170428251","pull_request_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/comments/170428251"},"html":{"href":"https://github.com/arcoslab/pyrovito/pull/6#discussion_r170428251"},"pull_request":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6","id":171164138,"html_url":"https://github.com/arcoslab/pyrovito/pull/6","diff_url":"https://github.com/arcoslab/pyrovito/pull/6.diff","patch_url":"https://github.com/arcoslab/pyrovito/pull/6.patch","issue_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/6","number":6,"state":"open","locked":false,"title":"Headless exec","user":{"login":"degv364","id":12023207,"avatar_url":"https://avatars2.githubusercontent.com/u/12023207?v=4","gravatar_id":"","url":"https://api.github.com/users/degv364","html_url":"https://github.com/degv364","followers_url":"https://api.github.com/users/degv364/followers","following_url":"https://api.github.com/users/degv364/following{/other_user}","gists_url":"https://api.github.com/users/degv364/gists{/gist_id}","starred_url":"https://api.github.com/users/degv364/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degv364/subscriptions","organizations_url":"https://api.github.com/users/degv364/orgs","repos_url":"https://api.github.com/users/degv364/repos","events_url":"https://api.github.com/users/degv364/events{/privacy}","received_events_url":"https://api.github.com/users/degv364/received_events","type":"User","site_admin":false},"body":"@arcoslab/simulator-coordinators  This fixes #4 \r\n\r\nThis also includes the futurization done by @liewhnic \r\n\r\nI am adding a new script that opens the same ports as pyrovito, but instead of creeating the visualization, it logs waht it gets from the ports. ","created_at":"2018-02-24T06:17:56Z","updated_at":"2018-02-24T18:50:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c18b9142f8679c9e9f60d1de73b79052f920f61","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":34952305,"url":"https://api.github.com/repos/arcoslab/pyrovito/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6/commits","review_comments_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6/comments","review_comment_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/6/comments","statuses_url":"https://api.github.com/repos/arcoslab/pyrovito/statuses/45bb94d867a102cce7f2076ecd3f6a9e34b92f31","head":{"label":"arcoslab:headless-exec","ref":"headless-exec","sha":"45bb94d867a102cce7f2076ecd3f6a9e34b92f31","user":{"login":"arcoslab","id":3848062,"avatar_url":"https://avatars2.githubusercontent.com/u/3848062?v=4","gravatar_id":"","url":"https://api.github.com/users/arcoslab","html_url":"https://github.com/arcoslab","followers_url":"https://api.github.com/users/arcoslab/followers","following_url":"https://api.github.com/users/arcoslab/following{/other_user}","gists_url":"https://api.github.com/users/arcoslab/gists{/gist_id}","starred_url":"https://api.github.com/users/arcoslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcoslab/subscriptions","organizations_url":"https://api.github.com/users/arcoslab/orgs","repos_url":"https://api.github.com/users/arcoslab/repos","events_url":"https://api.github.com/users/arcoslab/events{/privacy}","received_events_url":"https://api.github.com/users/arcoslab/received_events","type":"Organization","site_admin":false},"repo":{"id":9281062,"name":"pyrovito","full_name":"arcoslab/pyrovito","owner":{"login":"arcoslab","id":3848062,"avatar_url":"https://avatars2.githubusercontent.com/u/3848062?v=4","gravatar_id":"","url":"https://api.github.com/users/arcoslab","html_url":"https://github.com/arcoslab","followers_url":"https://api.github.com/users/arcoslab/followers","following_url":"https://api.github.com/users/arcoslab/following{/other_user}","gists_url":"https://api.github.com/users/arcoslab/gists{/gist_id}","starred_url":"https://api.github.com/users/arcoslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcoslab/subscriptions","organizations_url":"https://api.github.com/users/arcoslab/orgs","repos_url":"https://api.github.com/users/arcoslab/repos","events_url":"https://api.github.com/users/arcoslab/events{/privacy}","received_events_url":"https://api.github.com/users/arcoslab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arcoslab/pyrovito","description":"Pyrovito: Python-Yarp robot visualization tool.","fork":false,"url":"https://api.github.com/repos/arcoslab/pyrovito","forks_url":"https://api.github.com/repos/arcoslab/pyrovito/forks","keys_url":"https://api.github.com/repos/arcoslab/pyrovito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arcoslab/pyrovito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arcoslab/pyrovito/teams","hooks_url":"https://api.github.com/repos/arcoslab/pyrovito/hooks","issue_events_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/events{/number}","events_url":"https://api.github.com/repos/arcoslab/pyrovito/events","assignees_url":"https://api.github.com/repos/arcoslab/pyrovito/assignees{/user}","branches_url":"https://api.github.com/repos/arcoslab/pyrovito/branches{/branch}","tags_url":"https://api.github.com/repos/arcoslab/pyrovito/tags","blobs_url":"https://api.github.com/repos/arcoslab/pyrovito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arcoslab/pyrovito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arcoslab/pyrovito/git/refs{/sha}","trees_url":"https://api.github.com/repos/arcoslab/pyrovito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arcoslab/pyrovito/statuses/{sha}","languages_url":"https://api.github.com/repos/arcoslab/pyrovito/languages","stargazers_url":"https://api.github.com/repos/arcoslab/pyrovito/stargazers","contributors_url":"https://api.github.com/repos/arcoslab/pyrovito/contributors","subscribers_url":"https://api.github.com/repos/arcoslab/pyrovito/subscribers","subscription_url":"https://api.github.com/repos/arcoslab/pyrovito/subscription","commits_url":"https://api.github.com/repos/arcoslab/pyrovito/commits{/sha}","git_commits_url":"https://api.github.com/repos/arcoslab/pyrovito/git/commits{/sha}","comments_url":"https://api.github.com/repos/arcoslab/pyrovito/comments{/number}","issue_comment_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/comments{/number}","contents_url":"https://api.github.com/repos/arcoslab/pyrovito/contents/{+path}","compare_url":"https://api.github.com/repos/arcoslab/pyrovito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arcoslab/pyrovito/merges","archive_url":"https://api.github.com/repos/arcoslab/pyrovito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arcoslab/pyrovito/downloads","issues_url":"https://api.github.com/repos/arcoslab/pyrovito/issues{/number}","pulls_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls{/number}","milestones_url":"https://api.github.com/repos/arcoslab/pyrovito/milestones{/number}","notifications_url":"https://api.github.com/repos/arcoslab/pyrovito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arcoslab/pyrovito/labels{/name}","releases_url":"https://api.github.com/repos/arcoslab/pyrovito/releases{/id}","deployments_url":"https://api.github.com/repos/arcoslab/pyrovito/deployments","created_at":"2013-04-07T18:25:16Z","updated_at":"2018-02-02T21:51:50Z","pushed_at":"2018-02-24T17:29:27Z","git_url":"git://github.com/arcoslab/pyrovito.git","ssh_url":"git@github.com:arcoslab/pyrovito.git","clone_url":"https://github.com/arcoslab/pyrovito.git","svn_url":"https://github.com/arcoslab/pyrovito","homepage":"","size":45,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"arcoslab:master","ref":"master","sha":"ec156321f078fbc52a71e40d7882c607baeb6b06","user":{"login":"arcoslab","id":3848062,"avatar_url":"https://avatars2.githubusercontent.com/u/3848062?v=4","gravatar_id":"","url":"https://api.github.com/users/arcoslab","html_url":"https://github.com/arcoslab","followers_url":"https://api.github.com/users/arcoslab/followers","following_url":"https://api.github.com/users/arcoslab/following{/other_user}","gists_url":"https://api.github.com/users/arcoslab/gists{/gist_id}","starred_url":"https://api.github.com/users/arcoslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcoslab/subscriptions","organizations_url":"https://api.github.com/users/arcoslab/orgs","repos_url":"https://api.github.com/users/arcoslab/repos","events_url":"https://api.github.com/users/arcoslab/events{/privacy}","received_events_url":"https://api.github.com/users/arcoslab/received_events","type":"Organization","site_admin":false},"repo":{"id":9281062,"name":"pyrovito","full_name":"arcoslab/pyrovito","owner":{"login":"arcoslab","id":3848062,"avatar_url":"https://avatars2.githubusercontent.com/u/3848062?v=4","gravatar_id":"","url":"https://api.github.com/users/arcoslab","html_url":"https://github.com/arcoslab","followers_url":"https://api.github.com/users/arcoslab/followers","following_url":"https://api.github.com/users/arcoslab/following{/other_user}","gists_url":"https://api.github.com/users/arcoslab/gists{/gist_id}","starred_url":"https://api.github.com/users/arcoslab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcoslab/subscriptions","organizations_url":"https://api.github.com/users/arcoslab/orgs","repos_url":"https://api.github.com/users/arcoslab/repos","events_url":"https://api.github.com/users/arcoslab/events{/privacy}","received_events_url":"https://api.github.com/users/arcoslab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arcoslab/pyrovito","description":"Pyrovito: Python-Yarp robot visualization tool.","fork":false,"url":"https://api.github.com/repos/arcoslab/pyrovito","forks_url":"https://api.github.com/repos/arcoslab/pyrovito/forks","keys_url":"https://api.github.com/repos/arcoslab/pyrovito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arcoslab/pyrovito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arcoslab/pyrovito/teams","hooks_url":"https://api.github.com/repos/arcoslab/pyrovito/hooks","issue_events_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/events{/number}","events_url":"https://api.github.com/repos/arcoslab/pyrovito/events","assignees_url":"https://api.github.com/repos/arcoslab/pyrovito/assignees{/user}","branches_url":"https://api.github.com/repos/arcoslab/pyrovito/branches{/branch}","tags_url":"https://api.github.com/repos/arcoslab/pyrovito/tags","blobs_url":"https://api.github.com/repos/arcoslab/pyrovito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arcoslab/pyrovito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arcoslab/pyrovito/git/refs{/sha}","trees_url":"https://api.github.com/repos/arcoslab/pyrovito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arcoslab/pyrovito/statuses/{sha}","languages_url":"https://api.github.com/repos/arcoslab/pyrovito/languages","stargazers_url":"https://api.github.com/repos/arcoslab/pyrovito/stargazers","contributors_url":"https://api.github.com/repos/arcoslab/pyrovito/contributors","subscribers_url":"https://api.github.com/repos/arcoslab/pyrovito/subscribers","subscription_url":"https://api.github.com/repos/arcoslab/pyrovito/subscription","commits_url":"https://api.github.com/repos/arcoslab/pyrovito/commits{/sha}","git_commits_url":"https://api.github.com/repos/arcoslab/pyrovito/git/commits{/sha}","comments_url":"https://api.github.com/repos/arcoslab/pyrovito/comments{/number}","issue_comment_url":"https://api.github.com/repos/arcoslab/pyrovito/issues/comments{/number}","contents_url":"https://api.github.com/repos/arcoslab/pyrovito/contents/{+path}","compare_url":"https://api.github.com/repos/arcoslab/pyrovito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arcoslab/pyrovito/merges","archive_url":"https://api.github.com/repos/arcoslab/pyrovito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arcoslab/pyrovito/downloads","issues_url":"https://api.github.com/repos/arcoslab/pyrovito/issues{/number}","pulls_url":"https://api.github.com/repos/arcoslab/pyrovito/pulls{/number}","milestones_url":"https://api.github.com/repos/arcoslab/pyrovito/milestones{/number}","notifications_url":"https://api.github.com/repos/arcoslab/pyrovito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arcoslab/pyrovito/labels{/name}","releases_url":"https://api.github.com/repos/arcoslab/pyrovito/releases{/id}","deployments_url":"https://api.github.com/repos/arcoslab/pyrovito/deployments","created_at":"2013-04-07T18:25:16Z","updated_at":"2018-02-02T21:51:50Z","pushed_at":"2018-02-24T17:29:27Z","git_url":"git://github.com/arcoslab/pyrovito.git","ssh_url":"git@github.com:arcoslab/pyrovito.git","clone_url":"https://github.com/arcoslab/pyrovito.git","svn_url":"https://github.com/arcoslab/pyrovito","homepage":"","size":45,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6"},"html":{"href":"https://github.com/arcoslab/pyrovito/pull/6"},"issue":{"href":"https://api.github.com/repos/arcoslab/pyrovito/issues/6"},"comments":{"href":"https://api.github.com/repos/arcoslab/pyrovito/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arcoslab/pyrovito/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/arcoslab/pyrovito/statuses/45bb94d867a102cce7f2076ecd3f6a9e34b92f31"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jcrono"}}