Skip to content

Commit b21bf4e

Browse files
committed
fix: fr3 and panda init
1 parent 2dfb84c commit b21bf4e

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
import sys
22

3-
from rcs_fr3 import desk
3+
from rcs_fr3 import desk, envs
44
from rcs_fr3._core import hw
55

66
__all__ = [
77
"desk",
88
"hw",
9+
"envs",
910
]
10-
11-
if "pybind11_stubgen" not in sys.modules:
12-
from rcs_panda import envs # noqa: F401
13-
14-
__all__.append("envs")
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
import sys
22

3+
from rcs_panda import envs
34
from rcs_panda._core import hw
45

56
__all__ = [
67
"hw",
8+
"envs",
79
]
8-
9-
# prevent gymnasium import during stubgen, which can cause a segfault
10-
if "pybind11_stubgen" not in sys.modules:
11-
from rcs_panda import envs # noqa: F401
12-
13-
__all__.append("envs")

0 commit comments

Comments
 (0)