samedi 18 avril 2015

PyODE and Joint Velocities


Vote count:

0




I am attempting to get the PyODE vehicle.py example to work, found at this url: http://ift.tt/1bcoosv


I have installed all of the dependencies and it compiles just fine, but I can't get the vehicle to move around the world. Clicking the mouse lifts the vehicle up, and I have added print statements in doEvents, so I know the keyUp and keyDown functions are working as expected, but the actual velocities of the wheels don't change.


After calling self.wheel1.setParam(ode.ParamVel2, self._vel), the velocity has changed to the expected value, but the scene does not change after the next render call.


I have also eliminated the possibility that it is the direction of the axes on the joints, because if I apply a force to the entire vehicle, the wheels spin as expected.


Any help would be greatly appreciated. Thank you!



asked 16 secs ago







PyODE and Joint Velocities

Aucun commentaire:

Enregistrer un commentaire