Skip to content

Commit

Permalink
Merge c64e70c into f2c9b92
Browse files Browse the repository at this point in the history
  • Loading branch information
goobta committed Apr 14, 2021
2 parents f2c9b92 + c64e70c commit 0b95569
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/solo8_mmr/interactive_pos_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

if __name__ == '__main__':
config = solo8v2vanilla.Solo8VanillaConfig()
config.urdf_path = 'assets/solo8_URDF_v3/solo8_URDF_v3.urdf'
config.urdf_path = 'assets/solo8_URDF_v4/solo8_URDF_v4.urdf'
env: solo8v2vanilla.Solo8VanillaEnv = gym.make('solo8vanilla-v0', use_gui=True,
realtime=True, config=config)

Expand Down
4 changes: 3 additions & 1 deletion examples/solo8_mmr/realtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@

if __name__ == '__main__':
config = solo8v2vanilla_realtime.RealtimeSolo8VanillaConfig()
config.urdf_path = 'assets/solo8_URDF_v3/solo8_URDF_v3.urdf'
config.urdf_path = 'assets/solo8_URDF_v4/solo8_URDF_v4.urdf'

env = gym.make('solo8vanilla-realtime-v0', config=config)
env.obs_factory.register_observation(obs.TorsoIMU(env.robot))

env.step(np.full(env.action_space.shape, 0))

try:
print("""\n
=============================================
Expand Down

0 comments on commit 0b95569

Please sign in to comment.