Comments (7)
Hi,
After have followed the installation tutorial, I tried to import in Unity an already edited URDF file of a KUKA robot.
When I upload the URDF file and the meshes in the Asset folder and push on the "import robot from URDF", an error message appears telling me that Unity cannot find the asset file of each link in the specified path (picture) even though the file are located exactly in that path.
In fact, if i select by hand each asset file, unity finally opens correctly the robot.
Since it is a tedious operation, is there any way to avoid this problem?
Thanks for the availability,
Enrico
from urdf-importer.
Hi Enrico, thank you for the feedback. We will take a look at it and come back to you.
from urdf-importer.
Can you share the file structure in your Project and your URDF file ?
from urdf-importer.
Best regards,
Enrico
from urdf-importer.
Hi @Zimmo95, sorry for the delay! It looks like the URDF defined the mesh paths with ..
to go up a directory level, which was not being read correctly by the importer. Additionally, the .urdf
file expects to be in the root of the URDF directory, as described in the Tutorial Appendix.
The reorganized version of your URDF directory is attached! I have replaced all references for the filenames from:
<mesh filename="../meshes/stl/Tip2 Scaled.stl" scale="1.15879 1.15879 1.15879"/>
to
<mesh filename="package://meshes/stl/Tip2 Scaled.stl" scale="1.15879 1.15879 1.15879"/>
and I have also restructured the directory to look as follows:
my_robot
|-- meshes
|-- stl
|-- Link.002_0.asset
|-- ...
|-- unnamed.urdf
Please let me know if this resolves your issue! I will update the ticket for this issue to support parsing the ..
operator in a URDF filepath.
[ticket# AIRO-570]
from urdf-importer.
Hi Amanda,
I downloaded and imported the folder in Unity and everything worked perfectly.
Thank you for your time and your availability!
Best regards,
Enrico
from urdf-importer.
That's great to hear! The PR for the longer-term fix is linked above if you'd like to stay updated on that. In the meantime, I will close out this issue, but feel free to open a new one if another issue arises!
from urdf-importer.
Related Issues (20)
- URDF Importer causing WebGL build errors in Unity HOT 2
- Visual and Collision Mesh Mismatching after re-opening Unity Project HOT 5
- Not able to use runtime urdf import in project
- URDF Importer Package failed
- Urdf Robot Editor script keeps enabling `Use Gravity` and `Convex` Colliders after every Play
- Current version of assimp does not work on Ubuntu 22.04 LTS
- Importing the Panda URDF creates the wrong articulation root
- Supporting mimic joints in URDF HOT 1
- Cannot include plugin 'Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll' (Key: assimp.dll;None) since plugin with the same name and architecture was already added HOT 3
- UWP Built fresh project doesn't work (VS project unloaded), and duplicate assimp.dll HOT 2
- Why the robot I imported to unity trembles ……
- Reporting a vulnerability
- Unable to reset position and rotation of robot with ArticulationBody joints?
- Loading non-fixed joint without inertial child throws "MissingComponentException"
- Importing PR2 Causes Unity to Crash Again
- Import Robot from URDF stays greyed out
- Importing URDF from using script w/o using the editor
- Can't get any urdf to import, links fail because the paths are formed wrong
- DllNotFoundException: libdl.so, Assimp.Unmanaged HOT 3
- No option to "import Robot from URDF"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urdf-importer.