Git Product home page Git Product logo

Comments (5)

andreadelprete avatar andreadelprete commented on September 26, 2024

Hi @PedroDesRobots ,
m_drift contains exactly Jdot_q_dot. Does that answer your question?
Andrea

from tsid.

PedroDesRobots avatar PedroDesRobots commented on September 26, 2024

Thank you for your prompt answer.
I was thinking that m_drift was related to the cartesian acceleration.
To be sure, m_drift is computed with the function frameClassicAcceleration, which call

      const Frame & f = m_model.frames[index];
      frameAcceleration = f.placement.actInv(data.a[f.parent]);
      Motion v = f.placement.actInv(data.v[f.parent]);
      frameAcceleration.linear() += v.angular().cross(v.linear());

Are those lines computed the Jdot_qdot? Do you know some literature where I could learn more about that?

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

This is indeed a trick that's not very well documented in the literature, but it's very simple to explain. We know that the Cartesian acceleration ddx is related to the joint accelerations via the equation:

ddx = J*ddq + dJ*dq

We also know that we can compute ddx using the forward phase of the Recursive Newton Euler algorithm (RNEA). So, rather than trying to compute dJ, and then multiplying it times dq, we could directly compute ddx using RNEA setting ddq=0. Is that clear now?

from tsid.

PedroDesRobots avatar PedroDesRobots commented on September 26, 2024

Perfect, thank you very much for taking the time to explain this trick!

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

No problem!

from tsid.

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.