Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 494 Bytes
#!/usr/bin/env python3
Displays robot fetch at a disco party.
from mujoco_py import load_model_from_path, MjSim, MjViewer
from mujoco_py.modder import TextureModder
import os
model = load_model_from_path("xmls/fetch/main.xml")
sim = MjSim(model)
viewer = MjViewer(sim)
modder = TextureModder(sim)
t = 0
while True:
for name in sim.model.geom_names:
t += 1
if t > 100 and os.getenv('TESTING') is not None:
You can’t perform that action at this time.