Closed cmower closed 5 years ago
This has already been exposed. You can get the KinematicTree from the scene via: scene.get_kinematic_tree()
and then the number of controlled joints from there:
Similar functions are implemented like GetControlledLinkNames
and GetModelJointNames
that are just by-passing get_kinematic_tree
. This was only to bring GetNumControlledJoints
in sync with these (I had a simple use-case for it and thought it would be a quick addition).
The other ones are for historic reasons and are meant to be removed. Is something preventing the correct use of the already exposed method?
Ahh ok, I didn't realize this, no need for this then
Minor addition, exposes
GetNumControlledJoints
inKinematicTree
to python scene.