Comment 4 for bug 303759

Revision history for this message
Ethan Glasser-Camp (ethan-glasser-camp) wrote :

Hi,

I'm playing with the experimental version of ode-0.10 in the hopes of building a new PyODE but keep running into problems. It's been a while since I played with this code, so please forgive me if I'm making a n00b mistake. I put together a simple program (attached) to do a few sanity checks on the ODE package from experimental. But when I run it, I get:

Mass=0.000000
Cg=(0.000000, 0.000000, 0.000000)
I11=0.000000 I22=0.000000 I33=0.000000
I12=0.000000 I13=0.000000 I23=0.000000

ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49
Mass=39.293915
Cg=(-0.000000, 0.000000, 0.000000)
I11=0.000000 I22=-27874.882812 I33=0.000000
I12=0.000000 I13=0.000000 I23=-0.000000

ODE INTERNAL ERROR 2: Bad argument(s) in dWorldDestroy()
Aborted

As far as I can tell, the attached code is valid. When built and run against the old libode0debian1 (0.9), it prints out the following:

Mass=0.000000
Cg=(0.000000, 0.000000, 0.000000)
I11=0.000000 I22=0.000000 I33=0.000000
I12=0.000000 I13=0.000000 I23=0.000000
Mass=83.775810
Cg=(0.000000, 0.000000, 0.000000)
I11=33.510326 I22=33.510326 I33=33.510326
I12=0.000000 I13=0.000000 I23=0.000000

Thoughts?

Ethan