Python: joint motors

Issue #33 resolved
Petr Broz created an issue

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)

  1. Bas Vet

    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).

  2. Log in to comment