7 from .
import pinocchio_pywrap
as pin
8 from .robot_wrapper
import RobotWrapper
13 def __init__(self, filename, package_dirs=None, verbose=False):
14 self.
initFromURDF(filename, package_dirs=package_dirs, root_joint=pin.JointModelFreeFlyer(), verbose=verbose)
16 0, 0, 0.840252, 0, 0, 0, 1,
17 0, 0, -0.3490658, 0.6981317, -0.3490658, 0,
18 0, 0, -0.3490658, 0.6981317, -0.3490658, 0,
20 1.5, 0.6, -0.5, -1.05, -0.4, -0.3, -0.2,
22 1.5, -0.6, 0.5, 1.05, -0.4, -0.3, -0.2,
32 self.__dict__[op] = self.
index(name)
37 return self.position(q, self.rh)
40 return self.jacobian(q, self.rh)
43 return pin.jacobian(self.
model, self.
data, self.rh, q,
False)
49 return self.jacobian(q, self.lh)
52 return self.position(q, self.lh)
55 return self.jacobian(q, self.lf)
58 return self.position(q, self.lf)
61 return self.jacobian(q, self.rf)
64 return self.position(q, self.rf)
66 __all__ = [
'RomeoWrapper']
def __init__(self, filename, package_dirs=None, verbose=False)
def initFromURDF(self, filename, package_dirs=None, root_joint=None, verbose=False, meshLoader=None)
def velocity(self, q, v, index, update_kinematics=True, reference_frame=pin.ReferenceFrame.LOCAL)