Git Product home page Git Product logo

Comments (3)

andreadelprete avatar andreadelprete commented on July 21, 2024

Looking at the integration error of the exponential integrator over time:
jump_integration_err_traj_exp
It seems to be highly correlated to the norm of the robot velocity:
jump_velocity_norm
This is reasonable I think, and indeed it happens also when the robot is in the air.
However, this correlation is much less evident for the Euler integrator error (except when the robot is in the air):
jump_integration_err_traj_euler
My guess is that when the robot is in contact, most of the Euler integration error comes from the contact forces variations during the time step, which are rather independent of the robot velocity norm. Instead, for the Exponential integrator, most of the integration error comes from the variations during the time steps of other terms of the dynamics (e.g., Mass matrix, gravity vector), which are well correlated with the robot velocity norm. This is coherent with the observation that using the exponential integrator the integration error is roughly the same when the robot is in contact or not, which in my opinion is a great result.

from consim.

andreadelprete avatar andreadelprete commented on July 21, 2024

I forgot to mention that the robot is in the air in the time interval [1, 1.7] s.

from consim.

andreadelprete avatar andreadelprete commented on July 21, 2024

New results for the same test. Here I'm showing the local integration error as a function of the computation time (per time step, which is 10 ms in this test):
local_err_vs_comp_time
Here Euler is more competitive than in the trot test, but it still never beats the best Exponential integrator, even though sometimes it beats the default Exponential. The best number of matrix multiplications for expm is either 1 or 0.

from consim.

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.