Skip to content

Commit

Permalink
Update code with deprecated scipy function.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-rouanet committed Jan 29, 2020
1 parent c88fe09 commit 330d8f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion software/reachy/parts/head.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def rot(axis, deg):
return R.from_euler(axis, np.deg2rad(deg)).as_dcm()
return R.from_euler(axis, np.deg2rad(deg)).as_matrix()


class Head(ReachyPart):
Expand Down
2 changes: 1 addition & 1 deletion software/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def version():
install_requires=[
'pyluos @ git+ssh://git@github.com/Luos-Robotics/pyluos@78b8b70ecd9c2a55acf8951b8a473be2e762a163',
'numpy',
'scipy',
'orbita>=0.3.0',
'scipy>=1.4',
'pyquaternion',
],

Expand Down

0 comments on commit 330d8f9

Please sign in to comment.