Post by Hrafn Þorri on Feb 11, 2009 14:05:36 GMT -5
Creating this thread just in case there will be more workarounds that need posting.
Let's start with ODE. Here is the main tutorial I used to get started with it in Panda:
forums.soe.ucsc.edu/viewtopic.php?f=42&t=2566
This will get gravity going fine. However, there are two issues: if we use the 1.2.0 release of PyODE we'll run into a dInitODE() issue when we try to simulate collisions.
The following will get us past that issue, but unfortunately we'll run into another one which I haven't been able to solve. Maybe someone here can. Here's the printout:
Getting past the dInitODE issue
1. Get the latest devcode from Sourceforge
The pyODE physics issue with dInitODE() was fixed in pyODE 1.25. Get it from the CVS repository:
pyode.cvs.sourceforge.net/viewvc/pyode/pyode/
2. To use CVS from terminal:
I'm not an expert when it comes to CVS, but the following should work. Replace yourname with your user name.
export CVSROOT=:pserver:yourname@localhost:/Users/yourname/Documents/CVS
sudo cvs -d /Users/yourname/Documents/CVS init
cvs -d:pserver:anonymous@pyode.cvs.sourceforge.net:/cvsroot/pyode login
Press enter when it prompts you for a password.
cvs -z3 -d:pserver:anonymous@pyode.cvs.sourceforge.net:/cvsroot/pyode co -P pyode
You'll find the newly checked out code in your Users/user folder.
3. You'll need to install Pyrex as well (because we're using dev code from PyODE):
www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
run: sudo python setup.py install
Good luck.
Let's start with ODE. Here is the main tutorial I used to get started with it in Panda:
forums.soe.ucsc.edu/viewtopic.php?f=42&t=2566
This will get gravity going fine. However, there are two issues: if we use the 1.2.0 release of PyODE we'll run into a dInitODE() issue when we try to simulate collisions.
The following will get us past that issue, but unfortunately we'll run into another one which I haven't been able to solve. Maybe someone here can. Here's the printout:
ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in _dNormalize4() [../../include/ode/odemath.h]
Getting past the dInitODE issue
1. Get the latest devcode from Sourceforge
The pyODE physics issue with dInitODE() was fixed in pyODE 1.25. Get it from the CVS repository:
pyode.cvs.sourceforge.net/viewvc/pyode/pyode/
2. To use CVS from terminal:
I'm not an expert when it comes to CVS, but the following should work. Replace yourname with your user name.
export CVSROOT=:pserver:yourname@localhost:/Users/yourname/Documents/CVS
sudo cvs -d /Users/yourname/Documents/CVS init
cvs -d:pserver:anonymous@pyode.cvs.sourceforge.net:/cvsroot/pyode login
Press enter when it prompts you for a password.
cvs -z3 -d:pserver:anonymous@pyode.cvs.sourceforge.net:/cvsroot/pyode co -P pyode
You'll find the newly checked out code in your Users/user folder.
3. You'll need to install Pyrex as well (because we're using dev code from PyODE):
www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
run: sudo python setup.py install
Good luck.