Menu

#6 HingeJoint ParamFMax can not be set

v1.0 (example)
open
nobody
Tutorial2 (1)
5
2018-07-10
2018-07-10
Tom Koller
No

I was trying the second pyode tutorial http://pyode.sourceforge.net/tutorials/tutorial2.html
Therefore i can use a HingeJoint with motor. But the motor does not take effect at all.

A minimal code:

import ode
world=ode.World()
joint=ode.HingeJoint(world)
joint.setParam(ode.ParamFMax, 22.)
print(joint.getParam(ode.ParamFMax))

Gives
0.0
result so i assume that the parameter does not get set properly and therefore the motor can not apply a force greater 0 Newton. This results in having no effect at all using a motor.

The problem also occurs in the tutorial code where an attachment to ode.enviorment and the ParamVel are set. I just created a minimal code example to reproduce the error.

Discussion


Log in to post a comment.