Giter VIP home page Giter VIP logo

Comments (5)

kevinzakka avatar kevinzakka commented on July 16, 2024

Can you share a ZIP file containing the original mesh, the decomposition and the scene.xml with all the assets? I can take a closer look :)

from obj2mjcf.

cherylwang20 avatar cherylwang20 commented on July 16, 2024

Can you share a ZIP file containing the original mesh, the decomposition, and the scene.xml with all the assets? I can take a closer look :)

Hi Kevin,

Thanks for the quick reply. Here is the zip file.
beaker_file.zip

If you drag the scene_gripper.xml into mujoco, it should reproduce what I have. The beaker.mtl and beaker.obj are the original mesh files. the decomposition is in the folder 'beaker'.

Thank you again and let me now if you need anything else.

from obj2mjcf.

kevinzakka avatar kevinzakka commented on July 16, 2024

Taking a look, thanks @cherylwang20!

from obj2mjcf.

kevinzakka avatar kevinzakka commented on July 16, 2024

Hi @cherylwang20, the XMLs you sent were super disorganized so I stripped everything down to just the beaker and the table and tweaked the physics to get better behavior.

I found that 15 convex hulls are sufficient to approximate the beaker well. Here's the obj2mjcf command I ran:

obj2mjcf --obj-dir . --obj-filter beaker --save-mjcf --compile-model --decompose --overwrite --coacd-args.max-convex-hull 15

In terms of changes I made to the XML:

  1. Switched to elliptic cones.
  2. Changed collision condim to 6.
  3. Stiffen contacts by reducing solref[0] (note it should not go below 2 x your timestep).
  4. Toggled multiccd to get more stable contacts between the table surface and the beaker.

Cheers!

beaker_scene.zip

from obj2mjcf.

cherylwang20 avatar cherylwang20 commented on July 16, 2024

@kevinzakka Thanks for helping me look into this problem. And apologies for the inconvenience in XML file organization.

Thank you again for the prompt support and the development of this package!

from obj2mjcf.

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.