Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions murdfpy/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def color(self):
@color.setter
def color(self, value):
if value is not None:
value = np.asanyarray(value).astype(np.float)
value = np.asanyarray(value).astype(np.float64)
value = np.clip(value, 0.0, 1.0)
if value.shape != (4,):
raise ValueError('Color must be a (4,) float')
Expand Down Expand Up @@ -2344,7 +2344,7 @@ def get_child_pose(self, cfg=None):
raise ValueError('Invalid configuration')

def get_child_poses(self, cfg, n_cfgs):
"""Computes the child pose relative to a parent pose for a given set of
"""Computes the child pose relative to a parent pose for a given set of
configuration values.

Parameters
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

requirements = [
'lxml', # For XML DOM Tree
'networkx==2.2', # For joint graph
'networkx', # For joint graph
'numpy', # Numpy
'pillow', # For texture image loading
'pycollada==0.6', # COLLADA (.dae) mesh loading via trimesh
'pycollada', # COLLADA (.dae) mesh loading via trimesh
'pyrender>=0.1.20', # For visualization
'scipy', # For trimesh, annoyingly
'six', # Python 2/3 compatability
Expand Down Expand Up @@ -47,7 +47,6 @@
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
Expand Down