Comments (3)
I've repeated the same tests using the cpp simulator. At first the exponential simulator was working really bad because of a bug. After fixing it, results are rather good, but do not match exactly the ones I got in Python.
Here the results using exponential as ground truth:
Here using Euler as ground truth:
When using the Exponential simulator as ground truth results are rather similar. However, when using Euler as ground truth, the Exponential simulator seems to saturate and cannot decrease the integration error. I'll investigate.
from consim.
I've tried cleaning up the cpp simulator, introducing the anchor point velocity in the computation of the contact forces, rewriting the update of the anchor point position. Unfortunately, Euler and Exponential still don't converge to the same result, even for the simple case of a point mass sliding on a flat floor.
You can see it for instance in this plot, where I've used Exponential to compute the ground truth:
We can see that after a certain value of ndt, the error of Euler does not decrease. The opposite happens if I use Euler to compute the ground truth.
Maybe we could postpone investigating this issue until the deadline. In the paper we could simply compare each simulator against itself, as it was done in the paper by Tassa. This would mean taking the Euler line from the second plot, and the Exp line from the first plot, which is fair, and makes Exponential look much better than Euler.
PS: Using the python simulator, I don't get the same results (I don't know why). Here's what I get using Euler for the ground truth
I can still see a saturation for Exponential, but overall results are much better for both simulators, suggesting there might be something wrong in C++.
from consim.
PPS: In python, using Exponential as ground truth I get this:
There seems to be no saturation of the error of Euler. Again, this points at something wrong with the c++ simulator, but I cannot figure out what because I've looked at the code and now it should be equivalent to the python simulator.
from consim.
Related Issues (20)
- First benchmark Exponential vs Euler HOT 9
- Bug in exponential integrator without double integral HOT 5
- Results with seldom updates of matrix exponential HOT 2
- gcc internal error segmentation fault
- Reset of contact state HOT 4
- New method for friction cone constraints HOT 1
- Integration accuracy without contacts HOT 7
- Accuracy of the Euler integration HOT 4
- Potential influcence of the cone projection HOT 2
- ExponentialSimulator accuracy with nonzero impact velocity HOT 5
- EulerSimulator discontinuity in friction force during sliding HOT 2
- bug in c++ exponential simulator HOT 3
- Quadruped Trot Results HOT 7
- Quadruped Jump Results HOT 3
- Romeo walking Results HOT 4
- Quadruped Squat Results
- missing reference trajectory HOT 1
- few issues with HalfPlane HOT 2
- Exponential VS Rigid-contacts HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consim.