resolved real minor py3 conflict with KDL (#21)
This commit is contained in:
parent
8af7e1a10d
commit
9c6c7c60f2
|
@ -50,7 +50,7 @@ def _toKdlInertia(i):
|
||||||
|
|
||||||
def _toKdlJoint(jnt):
|
def _toKdlJoint(jnt):
|
||||||
|
|
||||||
fixed = lambda j,F: kdl.Joint(j.name, kdl.Joint.None)
|
fixed = lambda j,F: kdl.Joint(j.name, getattr(kdl.Joint, 'None'))
|
||||||
rotational = lambda j,F: kdl.Joint(j.name, F.p, F.M * kdl.Vector(*j.axis), kdl.Joint.RotAxis)
|
rotational = lambda j,F: kdl.Joint(j.name, F.p, F.M * kdl.Vector(*j.axis), kdl.Joint.RotAxis)
|
||||||
translational = lambda j,F: kdl.Joint(j.name, F.p, F.M * kdl.Vector(*j.axis), kdl.Joint.TransAxis)
|
translational = lambda j,F: kdl.Joint(j.name, F.p, F.M * kdl.Vector(*j.axis), kdl.Joint.TransAxis)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue