Python: joint motors
Issue #33
resolved
With python bindings, setting a non-zero value to hinge joint's ParamFMax doesn't seem to have any effect. The joint motor doesn't move, and reading the ParamFMax value always yields 0.0. The same code in C++ seems to be working well.
Comments (4)
-
-
Account Deactivated I have fixed the constants.
-
Account Deactivated - changed status to resolved
-
- removed version
Removing version: 0.13 (automated comment)
- Log in to comment
i found that the enum is wrong. ParamFMax is 3 in the python enum, however this should be 5. So it will work if you specify 5 as the parameter or redefine ParamFMax to correspond to 5.
The reason seems to be that params 3-4 in the ode library are forgotten or skipped in the python binding. (so higher params probably are off by 2 as well).