Skip to content

Commit c960f23

Browse files
author
Peter
committed
make mujoco required
1 parent dd7a3fb commit c960f23

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ classifiers = [# Optional
4242
dependencies = [
4343
'absl-py',
4444
'lxml',
45+
"mujoco",
4546
'numpy',
4647
'pyyaml',
4748
'torch',
4849
]
4950

5051
[project.optional-dependencies]
51-
test = ["pytest", "mujoco"]
52-
mujoco = ["mujoco"]
52+
test = ["pytest"]
5353

5454
[project.urls]
5555
"Homepage" = "https://github.com/UM-ARM-Lab/pytorch_kinematics"

tests/test_rotation_conversions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def test_axis_angle_to_matrix_perf():
2323
dt2 = timeit.timeit(lambda: axis_and_angle_to_matrix_33(axis=axis_1d, theta=theta), number=number)
2424
print(f'New method: {dt2:.5f}')
2525

26+
def test_quaternion_close
2627

2728
def test_quaternion_from_euler():
2829
q = quaternion_from_euler(torch.tensor([0., 0, 0]))

0 commit comments

Comments
 (0)