You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(33) |
Aug
(9) |
Sep
(2) |
Oct
(4) |
Nov
(13) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
(7) |
Jul
(2) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(3) |
2006 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(8) |
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(13) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
2009 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ethan Glasser-C. <gla...@us...> - 2010-03-21 23:07:52
|
Update of /cvsroot/pyode/pyode/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv21744/src Modified Files: body.pyx declarations.pyx Log Message: Kinematic bodies patch from Alex Dumitrache Index: body.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/body.pyx,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** body.pyx 24 Dec 2008 03:33:56 -0000 1.7 --- body.pyx 21 Mar 2010 23:07:42 -0000 1.8 *************** *** 579,580 **** --- 579,611 ---- """ return dBodyGetGravityMode(self.bid) + + + def setDynamic(self): + """setDynamic() + + Set a body to the (default) "dynamic" state, instead of "kinematic". + See setKinematic() for more information. + """ + dBodySetDynamic(self.bid) + + def setKinematic(self): + """setKinematic() + + Set the kinematic state of the body (change it into a kinematic body) + + Kinematic bodies behave as if they had infinite mass. This means they don't react + to any force (gravity, constraints or user-supplied); they simply follow + velocity to reach the next position. [from ODE wiki] + """ + dBodySetKinematic(self.bid) + + def isKinematic(self): + """isKinematic() -> bool + + Return True if the body is kinematic (not influenced by other forces). + + Kinematic bodies behave as if they had infinite mass. This means they don't react + to any force (gravity, constraints or user-supplied); they simply follow + velocity to reach the next position. [from ODE wiki] + """ + return dBodyIsKinematic(self.bid) Index: declarations.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/declarations.pyx,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** declarations.pyx 20 Feb 2009 00:05:34 -0000 1.23 --- declarations.pyx 21 Mar 2010 23:07:42 -0000 1.24 *************** *** 212,215 **** --- 212,219 ---- int dBodyGetGravityMode (dBodyID b) + void dBodySetDynamic (dBodyID) + void dBodySetKinematic (dBodyID) + int dBodyIsKinematic (dBodyID) + # Joints dJointID dJointCreateBall (dWorldID, dJointGroupID) |
From: Ethan Glasser-C. <gla...@us...> - 2010-02-02 03:46:06
|
Update of /cvsroot/pyode/pyode/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15114/src Modified Files: geoms.pyx Log Message: GeomRay is placeable Index: geoms.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/geoms.pyx,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** geoms.pyx 24 Dec 2008 03:33:56 -0000 1.15 --- geoms.pyx 2 Feb 2010 03:45:56 -0000 1.16 *************** *** 20,23 **** --- 20,27 ---- ###################################################################### + # The list of geom classes supported in ODE, and whether or not they + # are placeable, is at + # http://opende.sourceforge.net/wiki/index.php/Manual_%28Collision_Detection%29 + # GeomSphere cdef class GeomSphere(GeomObject): *************** *** 362,365 **** --- 366,372 ---- return id + def placeable(self): + return True + def setLength(self, rlen): '''setLength(rlen) |
From: Gilbert R. R. <g.r...@gm...> - 2009-04-28 23:00:21
|
Hi again, at http://gitorious.hq.c3d2.de/projects/py3ode/repos/mainline I placed my Cython/Python 3 port of PyODE. The change from the patch I submitted at the pyode-users list is, that Mass.__getattr__, __setattr___ and all the PyDocs are now explicitly UTF encoded (cause I didn't found a option in Cython for implicit UTF encoding). Gilbert, who is sry for being to lazy for importing the CVS log |
From: Ethan Glasser-C. <gla...@us...> - 2009-02-20 00:05:42
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11320 Modified Files: ChangeLog Log Message: Apply linear/angular damping patch from Tristam MacDonald. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ChangeLog 24 Dec 2008 03:33:56 -0000 1.26 --- ChangeLog 20 Feb 2009 00:05:33 -0000 1.27 *************** *** 1,2 **** --- 1,7 ---- + 2009-02-19 Ethan Glasser-Camp <eth...@gm...> + + * declarations.pyx, world.pyp: expose linear/angular damping + controls. Patch by Tristam MacDonald. + 2008-12-23 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2009-02-20 00:05:42
|
Update of /cvsroot/pyode/pyode/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11320/src Modified Files: declarations.pyx world.pyx Log Message: Apply linear/angular damping patch from Tristam MacDonald. Index: world.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/world.pyx,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** world.pyx 24 Dec 2008 03:33:57 -0000 1.4 --- world.pyx 20 Feb 2009 00:05:34 -0000 1.5 *************** *** 324,327 **** --- 324,365 ---- return dWorldGetAutoDisableTime(self.wid) + # setLinearDamping + def setLinearDamping(self, scale): + """setLinearDamping(scale) + + Set the world's linear damping scale. + @param scale The linear damping scale that is to be applied to bodies. + Default is 0 (no damping). Should be in the interval [0, 1]. + @type scale: float + """ + dWorldSetLinearDamping(self.wid, scale) + + # getLinearDamping + def getLinearDamping(self): + """getLinearDamping() -> float + + Get the world's linear damping scale. + """ + return dWorldGetLinearDamping(self.wid) + + # setAngularDamping + def setAngularDamping(self, scale): + """setAngularDamping(scale) + + Set the world's angular damping scale. + @param scale The angular damping scale that is to be applied to bodies. + Default is 0 (no damping). Should be in the interval [0, 1]. + @type scale: float + """ + dWorldSetAngularDamping(self.wid, scale) + + # getAngularDamping + def getAngularDamping(self): + """getAngularDamping() -> float + + Get the world's angular damping scale. + """ + return dWorldGetAngularDamping(self.wid) + # impulseToForce def impulseToForce(self, stepsize, impulse): Index: declarations.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/declarations.pyx,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** declarations.pyx 24 Dec 2008 03:27:41 -0000 1.22 --- declarations.pyx 20 Feb 2009 00:05:34 -0000 1.23 *************** *** 142,145 **** --- 142,149 ---- void dWorldSetAutoDisableTime (dWorldID, dReal time) dReal dWorldGetAutoDisableTime (dWorldID) + dReal dWorldGetLinearDamping (dWorldID) + void dWorldSetLinearDamping (dWorldID, dReal scale) + dReal dWorldGetAngularDamping (dWorldID) + void dWorldSetAngularDamping (dWorldID, dReal scale) void dWorldImpulseToForce (dWorldID, dReal stepsize, dReal ix, dReal iy, dReal iz, dVector3 force) |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:34:04
|
Update of /cvsroot/pyode/pyode/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18311/src Modified Files: body.pyx contact.pyx geomobject.pyx geoms.pyx heightfield.pyx heightfielddata.pyx joints.pyx mass.pyx space.pyx trimesh.pyx trimeshdata.pyx world.pyx Log Message: Rename __new__ to __cinit__ for new Pyrex version. Index: body.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/body.pyx,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** body.pyx 6 Jun 2005 13:09:30 -0000 1.6 --- body.pyx 24 Dec 2008 03:33:56 -0000 1.7 *************** *** 44,48 **** cdef object userattribs ! def __new__(self, World world not None): self.bid = dBodyCreate(world.wid) --- 44,48 ---- cdef object userattribs ! def __cinit__(self, World world not None): self.bid = dBodyCreate(world.wid) Index: joints.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/joints.pyx,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** joints.pyx 5 Jun 2007 08:42:17 -0000 1.13 --- joints.pyx 24 Dec 2008 03:33:57 -0000 1.14 *************** *** 48,52 **** cdef object jointlist ! def __new__(self): self.gid = dJointGroupCreate(0) --- 48,52 ---- cdef object jointlist ! def __cinit__(self): self.gid = dJointGroupCreate(0) *************** *** 109,113 **** cdef object userattribs ! def __new__(self, *a, **kw): self.jid = NULL self.world = None --- 109,113 ---- cdef object userattribs ! def __cinit__(self, *a, **kw): self.jid = NULL self.world = None *************** *** 264,268 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 264,268 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 336,340 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 336,340 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 490,494 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 490,494 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 576,580 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 576,580 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 715,719 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 715,719 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 871,875 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 871,875 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 906,910 **** """ ! def __new__(self, World world not None, jointgroup, Contact contact): cdef JointGroup jg cdef dJointGroupID jgid --- 906,910 ---- """ ! def __cinit__(self, World world not None, jointgroup, Contact contact): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 929,933 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 929,933 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 1102,1106 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 1102,1106 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid *************** *** 1191,1195 **** """ ! def __new__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid --- 1191,1195 ---- """ ! def __cinit__(self, World world not None, jointgroup=None): cdef JointGroup jg cdef dJointGroupID jgid Index: mass.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/mass.pyx,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mass.pyx 30 May 2006 14:23:44 -0000 1.7 --- mass.pyx 24 Dec 2008 03:33:57 -0000 1.8 *************** *** 41,45 **** cdef dMass _mass ! def __new__(self): dMassSetZero(&self._mass) --- 41,45 ---- cdef dMass _mass ! def __cinit__(self): dMassSetZero(&self._mass) Index: trimesh.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/trimesh.pyx,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** trimesh.pyx 5 Jun 2007 08:42:17 -0000 1.5 --- trimesh.pyx 24 Dec 2008 03:33:57 -0000 1.6 *************** *** 39,43 **** cdef TriMeshData data ! def __new__(self, TriMeshData data not None, space=None): cdef SpaceBase sp cdef dSpaceID sid --- 39,43 ---- cdef TriMeshData data ! def __cinit__(self, TriMeshData data not None, space=None): cdef SpaceBase sp cdef dSpaceID sid Index: heightfield.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/heightfield.pyx,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** heightfield.pyx 5 Jun 2007 09:03:10 -0000 1.1 --- heightfield.pyx 24 Dec 2008 03:33:57 -0000 1.2 *************** *** 32,36 **** cdef HeightfieldData data ! def __new__(self, HeightfieldData data not None, placeable=True, space=None): cdef SpaceBase sp --- 32,36 ---- cdef HeightfieldData data ! def __cinit__(self, HeightfieldData data not None, placeable=True, space=None): cdef SpaceBase sp Index: contact.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/contact.pyx,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** contact.pyx 15 Nov 2004 20:16:03 -0000 1.4 --- contact.pyx 24 Dec 2008 03:33:56 -0000 1.5 *************** *** 39,43 **** cdef dContact _contact ! def __new__(self): self._contact.surface.mode = ContactBounce self._contact.surface.mu = dInfinity --- 39,43 ---- cdef dContact _contact ! def __cinit__(self): self._contact.surface.mode = ContactBounce self._contact.surface.mu = dInfinity Index: geomobject.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/geomobject.pyx,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** geomobject.pyx 5 Jun 2007 08:42:17 -0000 1.5 --- geomobject.pyx 24 Dec 2008 03:33:56 -0000 1.6 *************** *** 55,59 **** cdef object __weakref__ ! def __new__(self, *a, **kw): self.gid = NULL self.space = None --- 55,59 ---- cdef object __weakref__ ! def __cinit__(self, *a, **kw): self.gid = NULL self.space = None Index: space.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/space.pyx,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** space.pyx 22 Dec 2008 05:50:30 -0000 1.9 --- space.pyx 24 Dec 2008 03:33:57 -0000 1.10 *************** *** 67,71 **** # cdef object geom_dict ! def __new__(self, *a, **kw): pass --- 67,71 ---- # cdef object geom_dict ! def __cinit__(self, *a, **kw): pass *************** *** 231,235 **** """ ! def __new__(self, space=None): cdef SpaceBase sp cdef dSpaceID parentid --- 231,235 ---- """ ! def __cinit__(self, space=None): cdef SpaceBase sp cdef dSpaceID parentid *************** *** 264,268 **** """ ! def __new__(self, space=None): cdef SpaceBase sp cdef dSpaceID parentid --- 264,268 ---- """ ! def __cinit__(self, space=None): cdef SpaceBase sp cdef dSpaceID parentid *************** *** 323,327 **** """ ! def __new__(self, center, extents, depth, space=None): cdef SpaceBase sp cdef dSpaceID parentid --- 323,327 ---- """ ! def __cinit__(self, center, extents, depth, space=None): cdef SpaceBase sp cdef dSpaceID parentid Index: geoms.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/geoms.pyx,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** geoms.pyx 5 Jun 2007 08:42:17 -0000 1.14 --- geoms.pyx 24 Dec 2008 03:33:56 -0000 1.15 *************** *** 31,35 **** """ ! def __new__(self, space=None, radius=1.0): cdef SpaceBase sp cdef dSpaceID sid --- 31,35 ---- """ ! def __cinit__(self, space=None, radius=1.0): cdef SpaceBase sp cdef dSpaceID sid *************** *** 100,104 **** """ ! def __new__(self, space=None, lengths=(1.0, 1.0, 1.0)): cdef SpaceBase sp cdef dSpaceID sid --- 100,104 ---- """ ! def __cinit__(self, space=None, lengths=(1.0, 1.0, 1.0)): cdef SpaceBase sp cdef dSpaceID sid *************** *** 164,168 **** """ ! def __new__(self, space=None, normal=(0,0,1), dist=0): cdef SpaceBase sp cdef dSpaceID sid --- 164,168 ---- """ ! def __cinit__(self, space=None, normal=(0,0,1), dist=0): cdef SpaceBase sp cdef dSpaceID sid *************** *** 224,228 **** """ ! def __new__(self, space=None, radius=0.5, length=1.0): cdef SpaceBase sp cdef dSpaceID sid --- 224,228 ---- """ ! def __cinit__(self, space=None, radius=0.5, length=1.0): cdef SpaceBase sp cdef dSpaceID sid *************** *** 286,290 **** """ ! def __new__(self, space=None, radius=0.5, length=1.0): cdef SpaceBase sp cdef dSpaceID sid --- 286,290 ---- """ ! def __cinit__(self, space=None, radius=0.5, length=1.0): cdef SpaceBase sp cdef dSpaceID sid *************** *** 338,342 **** """ ! def __new__(self, space=None, rlen=1.0): cdef SpaceBase sp cdef dSpaceID sid --- 338,342 ---- """ ! def __cinit__(self, space=None, rlen=1.0): cdef SpaceBase sp cdef dSpaceID sid *************** *** 418,422 **** cdef object geom ! def __new__(self, space=None): cdef SpaceBase sp cdef dSpaceID sid --- 418,422 ---- cdef object geom ! def __cinit__(self, space=None): cdef SpaceBase sp cdef dSpaceID sid Index: heightfielddata.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/heightfielddata.pyx,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** heightfielddata.pyx 14 Jun 2007 19:23:03 -0000 1.3 --- heightfielddata.pyx 24 Dec 2008 03:33:57 -0000 1.4 *************** *** 29,33 **** cdef object calltup ! def __new__(self): self.hfdid = dGeomHeightfieldDataCreate() --- 29,33 ---- cdef object calltup ! def __cinit__(self): self.hfdid = dGeomHeightfieldDataCreate() Index: world.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/world.pyx,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** world.pyx 15 Nov 2004 20:16:04 -0000 1.3 --- world.pyx 24 Dec 2008 03:33:57 -0000 1.4 *************** *** 34,38 **** cdef dWorldID wid ! def __new__(self): self.wid = dWorldCreate() --- 34,38 ---- cdef dWorldID wid ! def __cinit__(self): self.wid = dWorldCreate() Index: trimeshdata.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/trimeshdata.pyx,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** trimeshdata.pyx 15 Nov 2004 20:16:04 -0000 1.4 --- trimeshdata.pyx 24 Dec 2008 03:33:57 -0000 1.5 *************** *** 28,32 **** cdef int* face_buffer ! def __new__(self): self.tmdid = dGeomTriMeshDataCreate() self.vertex_buffer = NULL --- 28,32 ---- cdef int* face_buffer ! def __cinit__(self): self.tmdid = dGeomTriMeshDataCreate() self.vertex_buffer = NULL |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:34:03
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18311 Modified Files: ChangeLog Log Message: Rename __new__ to __cinit__ for new Pyrex version. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** ChangeLog 24 Dec 2008 03:27:41 -0000 1.25 --- ChangeLog 24 Dec 2008 03:33:56 -0000 1.26 *************** *** 6,9 **** --- 6,10 ---- * ode.pyx, declarations.pyx: Compiling against new ODE requires dInitODE to initialize colliders. + * Renamed __new__ to __cinit__ for the new version of Pyrex. 2008-12-21 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:27:44
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17871 Modified Files: ChangeLog Log Message: Compiling against new ODE -- requires dInitODE(). Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ChangeLog 24 Dec 2008 03:26:24 -0000 1.24 --- ChangeLog 24 Dec 2008 03:27:41 -0000 1.25 *************** *** 4,7 **** --- 4,9 ---- get CFLAGS and LIBS (for example, to tell if we're compiling with -DdDOUBLE). + * ode.pyx, declarations.pyx: Compiling against new ODE requires + dInitODE to initialize colliders. 2008-12-21 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:27:44
|
Update of /cvsroot/pyode/pyode/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17871/src Modified Files: ode.pyx declarations.pyx Log Message: Compiling against new ODE -- requires dInitODE(). Index: ode.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ode.pyx 16 Jun 2007 06:50:11 -0000 1.21 --- ode.pyx 24 Dec 2008 03:27:41 -0000 1.22 *************** *** 292,297 **** --- 292,305 ---- dCloseODE() + def InitODE(): + '''InitODE() + + Initialize some ODE internals. This will be called for you when you + "import ode", but you should call this again if you CloseODE().''' + dInitODE() + ###################################################################### #environment = Body(None) environment = None + InitODE() Index: declarations.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/declarations.pyx,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** declarations.pyx 5 Jun 2007 09:03:10 -0000 1.21 --- declarations.pyx 24 Dec 2008 03:27:41 -0000 1.22 *************** *** 116,119 **** --- 116,120 ---- void dCloseODE() + void dInitODE() void dWorldSetGravity (dWorldID, dReal x, dReal y, dReal z) |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 03:26:29
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17794 Modified Files: ChangeLog Log Message: Document last change. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ChangeLog 22 Dec 2008 05:50:30 -0000 1.23 --- ChangeLog 24 Dec 2008 03:26:24 -0000 1.24 *************** *** 1,2 **** --- 1,8 ---- + 2008-12-23 Ethan Glasser-Camp <eth...@gm...> + + * setup.py: Compiling against new ODE. Needs to use ode-config to + get CFLAGS and LIBS (for example, to tell if we're compiling with + -DdDOUBLE). + 2008-12-21 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-24 02:18:58
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28379 Modified Files: setup.py Log Message: Include whatever necessary flags/libs are needed for ODE. Index: setup.py =================================================================== RCS file: /cvsroot/pyode/pyode/setup.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** setup.py 11 Jan 2007 16:37:39 -0000 1.12 --- setup.py 24 Dec 2008 01:42:35 -0000 1.13 *************** *** 8,11 **** --- 8,15 ---- from stat import * + def system(cmd): + f = os.popen(cmd) + return f.read() + # Include directories INC_DIRS = [] *************** *** 16,21 **** --- 20,27 ---- # Additional compiler arguments CC_ARGS = [] + CC_ARGS.extend(system("ode-config --cflags").split()) # Additional linker arguments LINK_ARGS = [] + LINK_ARGS.extend(system("ode-config --libs").split()) # If your version of ODE was compiled with OPCODE (trimesh support) enabled, *************** *** 47,51 **** LIBS += ["ode", "stdc++"] - ###################################################################### ###################################################################### --- 53,56 ---- |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-22 05:50:34
|
Update of /cvsroot/pyode/pyode In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12928 Modified Files: ChangeLog Log Message: Rename type to space_type for pyrex. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ChangeLog 10 Jul 2007 02:48:16 -0000 1.22 --- ChangeLog 22 Dec 2008 05:50:30 -0000 1.23 *************** *** 1,2 **** --- 1,7 ---- + 2008-12-21 Ethan Glasser-Camp <eth...@gm...> + + * space.pyx: Rebuilding with new Pyrex gives an error with parameter + "type". Renamed to "space_type" in Space factory method. + 2007-07-09 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2008-12-22 05:50:34
|
Update of /cvsroot/pyode/pyode/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12928/src Modified Files: space.pyx Log Message: Rename type to space_type for pyrex. Index: space.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/space.pyx,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** space.pyx 13 Apr 2006 13:09:58 -0000 1.8 --- space.pyx 22 Dec 2008 05:50:30 -0000 1.9 *************** *** 352,372 **** ! def Space(type=0): """Space factory function. Depending on the type argument this function either returns a ! SimpleSpace (type=0) or a HashSpace (type=1). This function is provided to remain compatible with previous versions of PyODE where there was only one Space class. ! >>> space = Space(type=0) # Create a SimpleSpace ! >>> space = Space(type=1) # Create a HashSpace """ ! if type==0: return SimpleSpace() ! elif type==1: return HashSpace() else: ! raise ValueError, "Unknown space type (%d)"%type ! --- 352,372 ---- ! def Space(space_type=0): """Space factory function. Depending on the type argument this function either returns a ! SimpleSpace (space_type=0) or a HashSpace (space_type=1). This function is provided to remain compatible with previous versions of PyODE where there was only one Space class. ! >>> space = Space(space_type=0) # Create a SimpleSpace ! >>> space = Space(space_type=1) # Create a HashSpace """ ! if space_type==0: return SimpleSpace() ! elif space_type==1: return HashSpace() else: ! raise ValueError, "Unknown space type (%d)"%space_type ! |
From: Ethan Glasser-C. <gla...@us...> - 2007-07-10 02:48:21
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6402 Modified Files: ChangeLog Log Message: Changelog entry describing previous commit. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ChangeLog 16 Jun 2007 06:50:11 -0000 1.21 --- ChangeLog 10 Jul 2007 02:48:16 -0000 1.22 *************** *** 1,2 **** --- 1,8 ---- + 2007-07-09 Ethan Glasser-Camp <eth...@gm...> + + * tutorial3.py: change glScale to glScalef to be compatible with + python-opengl version 3.0 and up. Thanks to Nathanial Troutman for + finding the bug and suggesting a fix. + 2007-06-16 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2007-07-10 02:46:48
|
Update of /cvsroot/pyode/pyode/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5671 Modified Files: tutorial3.py Log Message: * tutorial3.py: change glScale to glScalef to be compatible with python-opengl version 3.0 and up. Thanks to Nathanial Troutman for finding the bug and suggesting a fix. Index: tutorial3.py =================================================================== RCS file: /cvsroot/pyode/pyode/examples/tutorial3.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tutorial3.py 16 Jun 2007 06:50:11 -0000 1.3 --- tutorial3.py 10 Jul 2007 02:46:49 -0000 1.4 *************** *** 71,75 **** if body.shape=="box": sx,sy,sz = body.boxsize ! glScale(sx, sy, sz) glutSolidCube(1) glPopMatrix() --- 71,75 ---- if body.shape=="box": sx,sy,sz = body.boxsize ! glScalef(sx, sy, sz) glutSolidCube(1) glPopMatrix() |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-16 06:50:17
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv915 Modified Files: ChangeLog Log Message: Reapply weakref patch after finding bug in tutorial3.py. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ChangeLog 14 Jun 2007 19:23:02 -0000 1.20 --- ChangeLog 16 Jun 2007 06:50:11 -0000 1.21 *************** *** 1,2 **** --- 1,8 ---- + 2007-06-16 Ethan Glasser-Camp <eth...@gm...> + + * ode.pyx: reapplied weakref patch after finding the bug + * tutorial3.py: fix bug where geoms were not stored, causing them + to be deleted as per the weakref patch :) + 2007-06-14 Ethan Glasser-Camp <eth...@gm...> |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-16 06:50:16
|
Update of /cvsroot/pyode/pyode/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv915/examples Modified Files: tutorial3.py Log Message: Reapply weakref patch after finding bug in tutorial3.py. Index: tutorial3.py =================================================================== RCS file: /cvsroot/pyode/pyode/examples/tutorial3.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tutorial3.py 16 Dec 2005 17:06:48 -0000 1.2 --- tutorial3.py 16 Jun 2007 06:50:11 -0000 1.3 *************** *** 94,98 **** geom.setBody(body) ! return body # drop_object --- 94,98 ---- geom.setBody(body) ! return body, geom # drop_object *************** *** 100,106 **** """Drop an object into the scene.""" ! global bodies, counter, objcount ! body = create_box(world, space, 1000, 1.0,0.2,0.2) body.setPosition( (random.gauss(0,0.1),3.0,random.gauss(0,0.1)) ) theta = random.uniform(0,2*pi) --- 100,106 ---- """Drop an object into the scene.""" ! global bodies, geom, counter, objcount ! body, geom = create_box(world, space, 1000, 1.0,0.2,0.2) body.setPosition( (random.gauss(0,0.1),3.0,random.gauss(0,0.1)) ) theta = random.uniform(0,2*pi) *************** *** 109,112 **** --- 109,113 ---- body.setRotation([ct, 0., -st, 0., 1., 0., st, 0., ct]) bodies.append(body) + geoms.append(geom) counter=0 objcount+=1 *************** *** 198,201 **** --- 199,205 ---- bodies = [] + # The geoms for each of the bodies + geoms = [] + # A joint group for the contact joints that are generated whenever # two bodies collide |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-16 06:50:16
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv915/src Modified Files: ode.pyx Log Message: Reapply weakref patch after finding bug in tutorial3.py. Index: ode.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ode.pyx 14 Jun 2007 18:16:47 -0000 1.20 --- ode.pyx 16 Jun 2007 06:50:11 -0000 1.21 *************** *** 154,160 **** ## This causes some kind of weird bug! Need to fix this. ! #import weakref ! #_geom_c2py_lut = weakref.WeakValueDictionary() ! _geom_c2py_lut = {} # Mass --- 154,159 ---- ## This causes some kind of weird bug! Need to fix this. ! import weakref ! _geom_c2py_lut = weakref.WeakValueDictionary() # Mass |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 19:23:04
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22072 Modified Files: ChangeLog Log Message: * heightfielddata.pyx: Save a reference to the data tuple, because otherwise it gets garbage collected and causes problems. Thanks to Dan Miller for finding the bug and figuring it out. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ChangeLog 14 Jun 2007 18:16:47 -0000 1.19 --- ChangeLog 14 Jun 2007 19:23:02 -0000 1.20 *************** *** 4,8 **** * Reverted weakref patch -- it causes some kind of strange bug. I'll look into it later. ! 2007-06-05 Matthias Baas <mb...@us...> --- 4,11 ---- * Reverted weakref patch -- it causes some kind of strange bug. I'll look into it later. ! * heightfielddata.pyx: Save a reference to the data tuple, because ! otherwise it gets garbage collected and causes problems. Thanks ! to Dan Miller for finding the bug and figuring it out. ! 2007-06-05 Matthias Baas <mb...@us...> |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 19:23:03
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22072/src Modified Files: heightfielddata.pyx Log Message: * heightfielddata.pyx: Save a reference to the data tuple, because otherwise it gets garbage collected and causes problems. Thanks to Dan Miller for finding the bug and figuring it out. Index: heightfielddata.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/heightfielddata.pyx,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** heightfielddata.pyx 14 Jun 2007 05:45:35 -0000 1.2 --- heightfielddata.pyx 14 Jun 2007 19:23:03 -0000 1.3 *************** *** 24,27 **** --- 24,31 ---- """ cdef dHeightfieldDataID hfdid + # This attribute stores the tuple which gets passed to the height + # callback. If we don't keep a reference, the tuple gets garbage + # collected. + cdef object calltup def __new__(self): *************** *** 37,40 **** --- 41,45 ---- cdef void* data tup = (callback, userdata) + self.calltup = tup data = <void*>tup dGeomHeightfieldDataBuildCallback(self.hfdid, |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 18:16:47
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29038/src Modified Files: ode.pyx Log Message: Revert weakref patch; it breaks the tutorials. Index: ode.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ode.pyx 5 Jun 2007 09:03:10 -0000 1.19 --- ode.pyx 14 Jun 2007 18:16:47 -0000 1.20 *************** *** 152,157 **** # Lookup table for geom objects: C ptr -> Python object ! import weakref ! _geom_c2py_lut = weakref.WeakValueDictionary() # Mass --- 152,160 ---- # Lookup table for geom objects: C ptr -> Python object ! ! ## This causes some kind of weird bug! Need to fix this. ! #import weakref ! #_geom_c2py_lut = weakref.WeakValueDictionary() ! _geom_c2py_lut = {} # Mass |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 18:16:47
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29038 Modified Files: ChangeLog Log Message: Revert weakref patch; it breaks the tutorials. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ChangeLog 14 Jun 2007 05:45:35 -0000 1.18 --- ChangeLog 14 Jun 2007 18:16:47 -0000 1.19 *************** *** 2,5 **** --- 2,7 ---- * heightfielddata.pyx: bug fix from Dan Miller + * Reverted weakref patch -- it causes some kind of strange + bug. I'll look into it later. 2007-06-05 Matthias Baas <mb...@us...> |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 05:45:35
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30922/src Modified Files: heightfielddata.pyx Log Message: Bug fix from Dan Miller. Index: heightfielddata.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/heightfielddata.pyx,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** heightfielddata.pyx 5 Jun 2007 09:03:10 -0000 1.1 --- heightfielddata.pyx 14 Jun 2007 05:45:35 -0000 1.2 *************** *** 36,40 **** cdef object tup cdef void* data ! tup = (callback, arg) data = <void*>tup dGeomHeightfieldDataBuildCallback(self.hfdid, --- 36,40 ---- cdef object tup cdef void* data ! tup = (callback, userdata) data = <void*>tup dGeomHeightfieldDataBuildCallback(self.hfdid, |
From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 05:45:35
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30922 Modified Files: ChangeLog Log Message: Bug fix from Dan Miller. Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ChangeLog 5 Jun 2007 09:03:46 -0000 1.17 --- ChangeLog 14 Jun 2007 05:45:35 -0000 1.18 *************** *** 1,2 **** --- 1,6 ---- + 2007-06-14 Ethan Glasser-Camp <eth...@gm...> + + * heightfielddata.pyx: bug fix from Dan Miller + 2007-06-05 Matthias Baas <mb...@us...> |
From: Matthias B. <mb...@us...> - 2007-06-05 09:03:45
|
Update of /cvsroot/pyode/pyode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23692 Modified Files: ChangeLog Log Message: Applied the heightfield patch Index: ChangeLog =================================================================== RCS file: /cvsroot/pyode/pyode/ChangeLog,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ChangeLog 5 Jun 2007 08:42:17 -0000 1.16 --- ChangeLog 5 Jun 2007 09:03:46 -0000 1.17 *************** *** 5,8 **** --- 5,9 ---- GeomObject, UniversalJoint angle updates, storing Geoms with weak references, triangle count) + * Added the heightfield patch as well 2006-11-28 Matthias Baas <mb...@us...> |