Skip to content
Snippets Groups Projects
Commit 61d92b97 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

add getDimensionExtraConfigSpace and quaternionFromVector method in python

parent df29e59d
No related branches found
No related tags found
No related merge requests found
......@@ -303,3 +303,12 @@ class Builder (object):
def getJacobianCenterOfMass (self):
return self.client.basic.robot.getJacobianCenterOfMass ()
##\}
## Get the dimension of the extra configuration space
def getDimensionExtraConfigSpace(self):
return self.client.basic.robot.getDimensionExtraConfigSpace()
## Convert a direction vector to a quaternion (use Eigen::Quaterniond::FromTwoVectors with Z vector)
# \param u the vector director
def quaternionFromVector(self,vector):
return self.client.basic.robot.quaternionFromVector(vector)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment