def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'base.dae') mesh.rotateZ(np.pi) self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(_DAE_PATH + "wrist3.dae") self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.1) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'wrist1.dae') mesh.position = (0.0, -0.10915 + (-0.1197 + 0.13585), 0) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Link.__init__(self) mesh = ColladaMesh(dae_path + 'link_6.dae', scale=0.001) mesh.rotateY(-np.pi / 2) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'wrist3.dae') mesh.position = (0.0, 0.0, -0.0823) mesh.rotateX(np.pi / 2) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'shoulder.dae') mesh.rotateX(-np.pi / 2) mesh.rotateZ(np.pi) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Link.__init__(self) mesh = ColladaMesh(dae_path + 'link_1.dae', scale=0.001) mesh.rotateX(np.pi / 2) mesh.position = (-0.025, 0.0, 0.0) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'forearm.dae') self.mesh = mesh mesh.rotateX(np.pi / 2) mesh.position = (0.39225, 0., -0.1197 + 0.13585) mesh.rotateY(-np.pi / 2) self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'upperarm.dae') mesh.rotateX(np.pi / 2) mesh.rotateY(-np.pi / 2) mesh.position = (0.425, 0, 0.13585) self.mesh = mesh self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)
def __init__(self, size: float = 20, *args, **kwargs): """ Add a set of axes to the origin. Arguments: size (float: 20): The length of each axis into the positive values. """ super().__init__(*args, **kwargs) self._objects.append(AxesHelper(size=size)) self._size = size
def __init__(self): Object3D.__init__(self) mesh = ColladaMesh(dae_path + 'base_link.dae', scale=0.001) self.add(mesh) axes = AxesHelper(size=0.5) self.add(axes)