Giter VIP home page Giter VIP logo

Comments (4)

rs545837 avatar rs545837 commented on June 9, 2024 2

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
Screenshot 2024-01-04 at 10 51 33 AM

from mujoco.

yuvaltassa avatar yuvaltassa commented on June 9, 2024 2

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.

TenguBoss avatar TenguBoss commented on June 9, 2024 1

@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.

TenguBoss avatar TenguBoss commented on June 9, 2024

Thank you @yuvaltassa Not sure if it matters, but I prefer to specify full paths to access resources.

from mujoco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.