You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I'm trying DKitty hardware, there is such a problem: (base) tonyhao@tonyhao-fit:~/tonyRLws1$ python trys/tryRobel2.py Traceback (most recent call last): File "trys/tryRobel2.py", line 7, in <module> env = gym.make('DKittyWalkFixed-v0',device_path='/dev/ttyUSB0', File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 145, in make return registry.make(id, **kwargs) File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 90, in make env = spec.make(**kwargs) File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 60, in make env = cls(**_kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/utils/configurable.py", line 102, in __init__ base_init(self, *args, **kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/walk.py", line 86, in __init__ super().__init__( File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/base_env.py", line 252, in __init__ super().__init__(*args, **kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/base_env.py", line 112, in __init__ self.tracker = self._add_component(tracker_builder) File "/home/tonyhao/tonyRLws1/robel/robel/robot_env.py", line 549, in _add_component component = component_builder.build( File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/builder.py", line 54, in build return VrTrackerComponent( File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/vr_tracker.py", line 48, in __init__ self._VR_CLIENT = VrClient() File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/virtual_reality/client.py", line 45, in __init__ self._vr_system = openvr.init(openvr.VRApplication_Other) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7170, in init initInternal2(applicationType, pStartupInfo) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7302, in initInternal2 openvr.error_code.InitError.check_error_value(error.value) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/error_code/__init__.py", line 23, in check_error_value raise error_class(error_value, message) openvr.error_code.InitError_Init_VRClientDLLNotFound
I have installed steam and steamvr on system ubuntu20.04. this is the code i ran:
`import numpy as np
import gym
from gym.spaces import Discrete, Box
import mujoco_py
import robel
while True:
print("doing new episode")
obs = env.reset()
done = False
while not done:
obs , ret , done , _ = env.step(act)
print(obs)
`
how to solve this problem?
The text was updated successfully, but these errors were encountered:
when I'm trying DKitty hardware, there is such a problem:
(base) tonyhao@tonyhao-fit:~/tonyRLws1$ python trys/tryRobel2.py Traceback (most recent call last): File "trys/tryRobel2.py", line 7, in <module> env = gym.make('DKittyWalkFixed-v0',device_path='/dev/ttyUSB0', File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 145, in make return registry.make(id, **kwargs) File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 90, in make env = spec.make(**kwargs) File "/home/tonyhao/anaconda3/lib/python3.8/site-packages/gym/envs/registration.py", line 60, in make env = cls(**_kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/utils/configurable.py", line 102, in __init__ base_init(self, *args, **kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/walk.py", line 86, in __init__ super().__init__( File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/base_env.py", line 252, in __init__ super().__init__(*args, **kwargs) File "/home/tonyhao/tonyRLws1/robel/robel/dkitty/base_env.py", line 112, in __init__ self.tracker = self._add_component(tracker_builder) File "/home/tonyhao/tonyRLws1/robel/robel/robot_env.py", line 549, in _add_component component = component_builder.build( File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/builder.py", line 54, in build return VrTrackerComponent( File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/vr_tracker.py", line 48, in __init__ self._VR_CLIENT = VrClient() File "/home/tonyhao/tonyRLws1/robel/robel/components/tracking/virtual_reality/client.py", line 45, in __init__ self._vr_system = openvr.init(openvr.VRApplication_Other) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7170, in init initInternal2(applicationType, pStartupInfo) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/__init__.py", line 7302, in initInternal2 openvr.error_code.InitError.check_error_value(error.value) File "/home/tonyhao/.local/lib/python3.8/site-packages/openvr/error_code/__init__.py", line 23, in check_error_value raise error_class(error_value, message) openvr.error_code.InitError_Init_VRClientDLLNotFound
I have installed steam and steamvr on system ubuntu20.04. this is the code i ran:
`import numpy as np
import gym
from gym.spaces import Discrete, Box
import mujoco_py
import robel
env = gym.make('DKittyWalkFixed-v0',device_path='/dev/ttyUSB0',
torso_tracker_id='LHR-9510D433', use_dict_obs=True)
#env = gym.make('DKittyWalkFixed-v0')
act = [-1,-1,-1,1,-1,-1,1,1,1,-1,1,1]
while True:
print("doing new episode")
obs = env.reset()
done = False
while not done:
obs , ret , done , _ = env.step(act)
print(obs)
`
how to solve this problem?
The text was updated successfully, but these errors were encountered: