Tutorial on how to get started with MuJoCo Simulation Platform. MuJoCo stands for Multi-Joint dynamics with Contact. It was acquired and made freely available by DeepMind in October 2021, and open sourced in May 2022. Feel free to contribute. Show your support by ✨this repository.
MIT License
135
stars
25
forks
source link
I can not find the lqr controller. It is imported in iiwa.py. #29
Describe the bug I changed run.py to see how the iiwa example works.
` from mujoco_base import MuJoCoBase from examples.iiwa import Iiwa
def main(): xml_path = "./xml/iiwa/iiwa.xml" sim = Iiwa(xml_path) sim.reset() sim.simulate()
if name == "main": main()
`
I am getting error:
Traceback (most recent call last): File "run.py", line 2, in
from examples.iiwa import Iiwa
File "/home/mamad/Mujoco_ws/MuJoCo-Tutorial/examples/iiwa.py", line 7
from ../controllers.lqr import lqr
^
SyntaxError: invalid syntax
To Reproduce Steps to reproduce the behavior: