Clumps+Eigen problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Yade |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Clumps are working strangely with Eigen library. Part of them disappear, some of them behave wrongly.
It can be seen in ./examples/
Related branches
Václav Šmilauer (eudoxos) wrote : | #1 |
Ok, I will try.
_______
Anton Gladkyy
2010/5/10 Václav Šmilauer <email address hidden>
> Could you check that clump's inertia is computed the same for eigen and
> wm3? I just cut&pasted what you did for wm3-eigen into the
> matrixEigenDeco
> at other possible causes.
>
>
Václav Šmilauer (eudoxos) wrote : | #3 |
I just tried with scripts/
Running
O.bodies.
print O.bodies[
gave me this with eigen:
8377.58040957 Vector3(
and this with wm3:
8377.58040957 Vector3(
so it only seems as difference in the ordering of principal axes (didn't check by hand, but it looks so)
I should make one that I compute by hand and check it.
Anton Gladky (gladky-anton) wrote : | #4 |
Sorry, I had no time to check it yet.
But I tried to start ./examples/
some clumps.
Several clumps merely disappear after first simulation step.
I had the same weird behavior previously, while eigen was in testing stage.
_______
Anton Gladkyy
2010/5/13 Václav Šmilauer <email address hidden>
> I just tried with scripts/
>
> Running
>
> O.bodies.
> print O.bodies[
> O.bodies[
>
> gave me this with eigen:
>
> 8377.58040957
> Vector3(
> Vector3(0,0,1) Quaternion(
>
> and this with wm3:
>
> 8377.58040957
> Vector3(
> Vector3(0,0,1)
>
> Quaternion(
>
> so it only seems as difference in the ordering of principal axes (didn't
> check by hand, but it looks so)
>
> I should make one that I compute by hand and check it.
>
> --
> Clumps+Eigen problem
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> Clumps are working strangely with Eigen library. Part of them disappear,
> some of them behave wrongly.
>
> It can be seen in ./examples/
>
> To unsubscribe from this bug, go to:
> https:/
>
Changed in yade: | |
milestone: | none → 0.5 |
Anton Gladky (gladky-anton) wrote : | #5 |
After first step regular-
Then the behavior more-less normal.
It really sounds like a axis-ordering problem, as suggested by Vaclav above.
Anton Gladky (gladky-anton) wrote : | #7 |
I have just compared the "left leg" parameters from regular-
The only one difference is in ori:
WM3:
Quaternion(
Eigen:
Quaternion(
I think the problem is in EigenDesomposition.
_______
Anton Gladkyy
2010/5/24 Chareyre <email address hidden>
> It really sounds like a axis-ordering problem, as suggested by Vaclav
> above.
>
> --
> Clumps+Eigen problem
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Yet Another Dynamic Engine: New
>
> Bug description:
> Clumps are working strangely with Eigen library. Part of them disappear,
> some of them behave wrongly.
>
> It can be seen in ./examples/
>
> To unsubscribe from this bug, go to:
> https:/
>
Anton Gladky (gladky-anton) wrote : | #8 |
I have spent yesterday 2 hrs trying to find what is the problem in.
But with no result. Will try again.
The problem is definitely with "ori" quaternion, but where...
Actually, I think clumps.* should be completely reworked as there are some
"fixmes", "errors" and commented code.
It needs to be cleaned up completely.
When I have time, probably, I will try to do it, but first I should
understand, how it is working.
Václav Šmilauer (eudoxos) wrote : | #9 |
Please try with 2266 and close if appropriate. I tested both regular-sphere-pack and bulldozer and they work fine here.
Could you check that clump's inertia is computed the same for eigen and wm3? I just cut&pasted what you did for wm3-eigen into the matrixEigenDeco mposition function. If that's correct, I will have a look at other possible causes.