Git Product home page Git Product logo

Comments (2)

Nate711 avatar Nate711 commented on September 24, 2024

Good catch, I'm guessing pybullet is incorrectly parsing the mjcf.

from stanfordquadruped.

222464 avatar 222464 commented on September 24, 2024

Some things I discovered:

  • The original MJCF file has damping factors over 1. I don't think this is permitted in Bullet, not sure why it works still actually - my guess is that it overshoots the damping in a way that makes it nearly equivalent to a damping value between 0 and 1. Interestingly, it does NOT work when the MJCF is converted to URDF (using the pybullet converter), probably since the conversion clamped it. I had to go in and reducing the damping values, as they should be, since during the conversion they became clamped to 1.0 (unstable) which led the model to bug around and fly through the air. I recommend fixing the damping values to either 0 or some small value like 0.01 in the original file.

  • The issue of the "invisible object" still appears, but differently, when converted to URDF. I thought it might still be the moments, so I created a moment recalculation script (with xmltodict) that goes through and updates the inertia tensors using the formulas from Wikipedia. Unfortunately, this made no difference it seems - it still looks like it gets stuck on some invisible object.

  • The AI I wrote can compensate for the weird buggy physics, but it would of course be nice to fix the simulation itself!

I'll let you know if I find anything else!

from stanfordquadruped.

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.