Skip to content

Commit 7452386

Browse files
fyu-bdaiMayankm96
authored andcommitted
Removes deprecated scipy rotation imports (#565)
Fixes deprecated scipy imports in the devices module for interfacing with SE3 gamepad, keyboard and spacemouse. - Bug fix (non-breaking change which fixes an issue) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent cdfa954 commit 7452386

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/extensions/omni.isaac.lab/omni/isaac/lab/devices/gamepad/se3_gamepad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy as np
99
import weakref
1010
from collections.abc import Callable
11-
from scipy.spatial.transform.rotation import Rotation
11+
from scipy.spatial.transform import Rotation
1212

1313
import carb
1414
import omni

source/extensions/omni.isaac.lab/omni/isaac/lab/devices/keyboard/se3_keyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy as np
99
import weakref
1010
from collections.abc import Callable
11-
from scipy.spatial.transform.rotation import Rotation
11+
from scipy.spatial.transform import Rotation
1212

1313
import carb
1414
import omni

source/extensions/omni.isaac.lab/omni/isaac/lab/devices/spacemouse/se3_spacemouse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import threading
1111
import time
1212
from collections.abc import Callable
13-
from scipy.spatial.transform.rotation import Rotation
13+
from scipy.spatial.transform import Rotation
1414

1515
from ..device_base import DeviceBase
1616
from .utils import convert_buffer

0 commit comments

Comments
 (0)