Skip to content

Commit 6a0fe7e

Browse files
style: clean code
1 parent 9103fca commit 6a0fe7e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

robosuite/devices/dualsense.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77

88
import threading
99
import time
10-
from collections import namedtuple
1110
from enum import IntFlag
12-
from typing import List
1311

1412
import numpy as np
15-
from pynput.keyboard import Controller, Key, Listener
1613

1714
from robosuite import make
1815
from robosuite.utils.log_utils import ROBOSUITE_DEFAULT_LOGGER
@@ -26,7 +23,6 @@
2623
"requirements with `pip install -r requirements-extra.txt`"
2724
) from exc
2825

29-
from pynput.keyboard import Controller, Key, Listener
3026

3127
import robosuite.macros as macros
3228
from robosuite.devices import Device
@@ -55,7 +51,6 @@ def to_string(cls, value) -> str:
5551
USB_REPORT_LENGTH = 64
5652
BT_REPORT31_LENGTH = 78
5753
BT_REPORT01_LENGTH = 10
58-
AxisSpec = namedtuple("AxisSpec", ["channel", "byte1", "byte2", "scale"])
5954
DUALSENSE_AXIS_LIST = ["LX", "LY", "RX", "RY", "L2_Trigger", "R2_Trigger"]
6055
DUALSENSE_BTN_LIST = [
6156
"Triangle",

0 commit comments

Comments
 (0)