{"action":"created","issue":{"url":"https://api.github.com/repos/bulletphysics/bullet3/issues/1000","repository_url":"https://api.github.com/repos/bulletphysics/bullet3","labels_url":"https://api.github.com/repos/bulletphysics/bullet3/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/bulletphysics/bullet3/issues/1000/comments","events_url":"https://api.github.com/repos/bulletphysics/bullet3/issues/1000/events","html_url":"https://github.com/bulletphysics/bullet3/pull/1000","id":212718792,"number":1000,"title":"URDF loader improvement 1","user":{"login":"olegklimov","id":18546213,"avatar_url":"https://avatars2.githubusercontent.com/u/18546213?v=3","gravatar_id":"","url":"https://api.github.com/users/olegklimov","html_url":"https://github.com/olegklimov","followers_url":"https://api.github.com/users/olegklimov/followers","following_url":"https://api.github.com/users/olegklimov/following{/other_user}","gists_url":"https://api.github.com/users/olegklimov/gists{/gist_id}","starred_url":"https://api.github.com/users/olegklimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegklimov/subscriptions","organizations_url":"https://api.github.com/users/olegklimov/orgs","repos_url":"https://api.github.com/users/olegklimov/repos","events_url":"https://api.github.com/users/olegklimov/events{/privacy}","received_events_url":"https://api.github.com/users/olegklimov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-08T12:18:25Z","updated_at":"2017-03-10T15:20:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bulletphysics/bullet3/pulls/1000","html_url":"https://github.com/bulletphysics/bullet3/pull/1000","diff_url":"https://github.com/bulletphysics/bullet3/pull/1000.diff","patch_url":"https://github.com/bulletphysics/bullet3/pull/1000.patch"},"body":"**What it does**\r\n\r\n1. Tries to load resources from URDF file dir, then from parent dir, etc.\r\n\r\n2. Removes \"package://\".\r\n\r\n3. Keeps URDF source file reference in memory, some error messages now include source.urdf:line.\r\n\r\n4. tiny_obj_loader.cpp LoadObj() material path can now be zero.\r\n\r\n\r\n**Testing**\r\n\r\n\r\nMy URDFs work:\r\n\r\n```\r\nroboschool/models_robot/atlas_description/urdf/atlas_v4_with_multisense.urdf \r\nroboschool/models_robot/fetch_description/robots/fetch.urdf \r\nroboschool/models_robot/r2d2.urdf \r\nroboschool/models_kitchen/low60type2.urdf\r\n```\r\n\r\nError message:\r\n\r\n```\r\nb3Printf: b3Warning[/home/kotik/bullet3/examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,515]:\r\n\r\nb3Printf: roboschool/models_robot/atlas_description/urdf/atlas_v4_with_multisense.urdf:799: cannot find 'atlas_description/meshes_unplugged/p__typo__elvis.dae' in any directory in urdf path\r\n```\r\n\r\nSearch attempts:\r\n\r\n```\r\ntried 'roboschool/models_robot/atlas_description/urdf/atlas_description/meshes_unplugged/p__elvis.dae'\r\ntried 'roboschool/models_robot/atlas_description/atlas_description/meshes_unplugged/p__elvis.dae'\r\ntried 'roboschool/models_robot/atlas_description/meshes_unplugged/p__elvis.dae'\r\ntried 'roboschool/atlas_description/meshes_unplugged/p__elvis.dae'\r\n```\r\n\r\nAutomatic material path for .obj:\r\n\r\n```\r\nMTL PATH 'roboschool/models_kitchen' orig 'roboschool/models_kitchen/low60type0.obj'\r\n```\r\n\r\n@erwincoumans you have very different VR setting, some bug can show up!\r\n"},"comment":{"url":"https://api.github.com/repos/bulletphysics/bullet3/issues/comments/285695700","html_url":"https://github.com/bulletphysics/bullet3/pull/1000#issuecomment-285695700","issue_url":"https://api.github.com/repos/bulletphysics/bullet3/issues/1000","id":285695700,"user":{"login":"olegklimov","id":18546213,"avatar_url":"https://avatars2.githubusercontent.com/u/18546213?v=3","gravatar_id":"","url":"https://api.github.com/users/olegklimov","html_url":"https://github.com/olegklimov","followers_url":"https://api.github.com/users/olegklimov/followers","following_url":"https://api.github.com/users/olegklimov/following{/other_user}","gists_url":"https://api.github.com/users/olegklimov/gists{/gist_id}","starred_url":"https://api.github.com/users/olegklimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegklimov/subscriptions","organizations_url":"https://api.github.com/users/olegklimov/orgs","repos_url":"https://api.github.com/users/olegklimov/repos","events_url":"https://api.github.com/users/olegklimov/events{/privacy}","received_events_url":"https://api.github.com/users/olegklimov/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T15:20:21Z","updated_at":"2017-03-10T15:20:21Z","body":"> Can you please explicitly remove just 'package://'?\r\n\r\nIt is.\r\n\r\n\r\n> TinyRendererVisualShapeConverter\r\n\r\nDone.\r\n\r\nPlease test on VR, it is completely different setting from mine.\r\n"}}
{"actor":{"display_login":"olegklimov"}}