Browse Source

[fix] param's bug

main
silencht 5 months ago
parent
commit
068d26df51
  1. 22
      src/televuer/televuer.py
  2. 6
      test/_test_tv_wrapper.py

22
src/televuer/televuer.py

@ -358,8 +358,8 @@ class TeleVuer:
Hands(
stream=True,
key="hands",
showLeft=False,
showRight=False
hideLeft=True,
hideRight=True
),
to="bgChildren",
)
@ -368,9 +368,10 @@ class TeleVuer:
MotionControllers(
stream=True,
key="motionControllers",
showLeft=False,
showRight=False,
)
left=True,
right=True,
),
to="bgChildren",
)
while True:
@ -396,8 +397,8 @@ class TeleVuer:
Hands(
stream=True,
key="hands",
showLeft=False,
showRight=False
hideLeft=True,
hideRight=True
),
to="bgChildren",
)
@ -406,9 +407,10 @@ class TeleVuer:
MotionControllers(
stream=True,
key="motionControllers",
showLeft=False,
showRight=False,
)
left=True,
right=True,
),
to="bgChildren",
)
while True:

6
test/_test_tv_wrapper.py

@ -13,9 +13,9 @@ logger_mp = logging_mp.get_logger(__name__, level=logging_mp.INFO)
def run_test_tv_wrapper():
# xr-mode
use_hand_track=False
tv_wrapper = TeleVuerWrapper(use_hand_tracking=use_hand_track, pass_through=True,
# binocular=False, img_shape=(480, 1280),
# webrtc=False, webrtc_url="https://127.0.0.1:60001/offer"
tv_wrapper = TeleVuerWrapper(use_hand_tracking=use_hand_track, pass_through=False,
binocular=True, img_shape=(480, 1280),
# webrtc=True, webrtc_url="https://192.168.123.164:60001/offer"
)
try:
input("Press Enter to start tv_wrapper test...")

Loading…
Cancel
Save