{"action":"created","issue":{"url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/80","repository_url":"https://api.github.com/repos/roboticslab-uc3m/vision","labels_url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/80/comments","events_url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/80/events","html_url":"https://github.com/roboticslab-uc3m/vision/issues/80","id":296780643,"number":80,"title":"Drop multipleDump, recommend yarpdatadumper","user":{"login":"jgvictores","id":4448588,"avatar_url":"https://avatars1.githubusercontent.com/u/4448588?v=4","gravatar_id":"","url":"https://api.github.com/users/jgvictores","html_url":"https://github.com/jgvictores","followers_url":"https://api.github.com/users/jgvictores/followers","following_url":"https://api.github.com/users/jgvictores/following{/other_user}","gists_url":"https://api.github.com/users/jgvictores/gists{/gist_id}","starred_url":"https://api.github.com/users/jgvictores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgvictores/subscriptions","organizations_url":"https://api.github.com/users/jgvictores/orgs","repos_url":"https://api.github.com/users/jgvictores/repos","events_url":"https://api.github.com/users/jgvictores/events{/privacy}","received_events_url":"https://api.github.com/users/jgvictores/received_events","type":"User","site_admin":false},"labels":[{"id":551620668,"url":"https://api.github.com/repos/roboticslab-uc3m/vision/labels/announcement","name":"announcement","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"jgvictores","id":4448588,"avatar_url":"https://avatars1.githubusercontent.com/u/4448588?v=4","gravatar_id":"","url":"https://api.github.com/users/jgvictores","html_url":"https://github.com/jgvictores","followers_url":"https://api.github.com/users/jgvictores/followers","following_url":"https://api.github.com/users/jgvictores/following{/other_user}","gists_url":"https://api.github.com/users/jgvictores/gists{/gist_id}","starred_url":"https://api.github.com/users/jgvictores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgvictores/subscriptions","organizations_url":"https://api.github.com/users/jgvictores/orgs","repos_url":"https://api.github.com/users/jgvictores/repos","events_url":"https://api.github.com/users/jgvictores/events{/privacy}","received_events_url":"https://api.github.com/users/jgvictores/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgvictores","id":4448588,"avatar_url":"https://avatars1.githubusercontent.com/u/4448588?v=4","gravatar_id":"","url":"https://api.github.com/users/jgvictores","html_url":"https://github.com/jgvictores","followers_url":"https://api.github.com/users/jgvictores/followers","following_url":"https://api.github.com/users/jgvictores/following{/other_user}","gists_url":"https://api.github.com/users/jgvictores/gists{/gist_id}","starred_url":"https://api.github.com/users/jgvictores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgvictores/subscriptions","organizations_url":"https://api.github.com/users/jgvictores/orgs","repos_url":"https://api.github.com/users/jgvictores/repos","events_url":"https://api.github.com/users/jgvictores/events{/privacy}","received_events_url":"https://api.github.com/users/jgvictores/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-13T15:35:55Z","updated_at":"2018-02-13T15:39:43Z","closed_at":"2018-02-13T15:39:43Z","author_association":"OWNER","body":"Drop `multipleDump`, recommend yarpdatadumper as documented [here](https://github.com/roboticslab-uc3m/developer-manual/blob/01870d8509ad006279e07d38a6f28bd3dc0b5f51/frequently-asked-questions.md#how-can-i-record-data-for-programming-by-demonstration-pbd-aka-learning-from-demonstration-lfd).\r\n\r\n`multipleDump` was a very ad-hoc program for `xgnitive`. Code such as the following should can be done in a spreadsheet or a scripted language:\r\n```cpp\r\n    yarp::os::Bottle* b1 = in1->read(false);\r\n    if (b1 == NULL) {\r\n        //printf(\"No b1 yet...\\n\");\r\n        return;\r\n    }\r\n    yarp::os::Bottle* b2 = in2->read(false);\r\n    if (b2 == NULL) {\r\n        //printf(\"No b2 yet...\\n\");\r\n        return;\r\n    }\r\n    if(!firstTimeTaken){\r\n        firstTimeTaken = true;\r\n        firstTime = yarp::os::Time::now();\r\n    }\r\n\r\n    double x1 = b1->get(0).asDouble();\r\n    double y1 = b1->get(1).asDouble();\r\n    double z1 = b1->get(2).asDouble();\r\n    double x2 = b2->get(0).asDouble();\r\n    double y2 = b2->get(1).asDouble();\r\n    double z2 = b2->get(2).asDouble();\r\n\r\n    //printf(\"%f %s %s\\n\",Time::now(),b1->toString().c_str(),b2->toString().c_str());\r\n    fprintf(filePtr,\"%f %s %s %f %f %f %f %f %f %f\\n\",yarp::os::Time::now()-firstTime,\r\n            b1->toString().c_str(),b2->toString().c_str(),\r\n            x1-x2, y1-y2, z1-z2,\r\n            fabs(x1-x2), fabs(y1-y2), fabs(z1-z2),\r\n            sqrt( pow((x1-x2),2) + pow((y1-y2),2) + pow((z1-z2),2) )\r\n            );\r\n```"},"comment":{"url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/comments/365304629","html_url":"https://github.com/roboticslab-uc3m/vision/issues/80#issuecomment-365304629","issue_url":"https://api.github.com/repos/roboticslab-uc3m/vision/issues/80","id":365304629,"user":{"login":"jgvictores","id":4448588,"avatar_url":"https://avatars1.githubusercontent.com/u/4448588?v=4","gravatar_id":"","url":"https://api.github.com/users/jgvictores","html_url":"https://github.com/jgvictores","followers_url":"https://api.github.com/users/jgvictores/followers","following_url":"https://api.github.com/users/jgvictores/following{/other_user}","gists_url":"https://api.github.com/users/jgvictores/gists{/gist_id}","starred_url":"https://api.github.com/users/jgvictores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgvictores/subscriptions","organizations_url":"https://api.github.com/users/jgvictores/orgs","repos_url":"https://api.github.com/users/jgvictores/repos","events_url":"https://api.github.com/users/jgvictores/events{/privacy}","received_events_url":"https://api.github.com/users/jgvictores/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T15:39:43Z","updated_at":"2018-02-13T15:39:43Z","author_association":"OWNER","body":"Done at d3084485f0eec11b660f54ebb628f4c68915a6e0."}}
{"actor":{"display_login":"jgvictores"}}