Comments (4)
Error: resource not found via provider or OS filesystem:
This error is because the mujoco viewer is not able to locate the mesh files. You can solve this in two ways:
- Add meshdir option in the compiler tag of xml file, and mention the path to the directory containing the mesh files
- Then write the names of mesh files directly in the mesh tag.
Or
- Use relative path directly of the files in the
<mesh>
under the<asset>
- Like this
from mujoco.
Ya, <include>
is generally a pretty shoddy mechanism, we are working on a more powerful replacement. In the meantime, the above can serve as temporary documentation. Thanks @rs545837
from mujoco.
@rs545837, thank you for your suggestions. I wasn't aware of the second option.
However, I wonder if the MoJoCo documentation for <include>
should mention that meshdir
and texturedir
are the responsibility of the user for the included model files. I have mistakenly assumed that simulate is aware of the folder structure specified in the included xml files.
BU
from mujoco.
Thank you @yuvaltassa Not sure if it matters, but I prefer to specify full paths to access resources.
from mujoco.
Related Issues (20)
- Linking Python Bindings Code HOT 2
- Jittery/unstable contacts for a simple STL file of a box resting on a plane? HOT 2
- Actuator force visualization HOT 5
- mj_forward modifies jacobian when called after mj_step HOT 3
- Bouncing in MJX HOT 1
- I have a question about the friction force experiment. HOT 2
- mjx.put_data() and mjx.put_model() takes lot of time to resolve HOT 2
- Improved MuJoCo Simulation Scaling HOT 1
- Camera rendering in MuJoCo - How to take a picture from a simulated camera and still keeping the GUI active
- MJX Documentation API Update HOT 1
- how to get flexible body position and velocity
- Possible to use different fluid force configuration among different links? HOT 2
- Problem using xpos to obtain the location of the xml file loaded model
- Manipulating Individual Joint Stiffness of a Elastic Cable HOT 1
- Issue with Camera Visibility of Dynamically Merged XML Models in MuJoCo HOT 1
- Issue with STL placements in new Model
- Support for Rendering in MJX for Simulated Camera Reinforcement Learning HOT 5
- `.skn` file not working with replicated bodies (dmcontrol rodent model) HOT 1
- Domain randomization for MJX HOT 7
- Resource not found (ValueError), but only on consecutive runs. HOT 12
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 mujoco.