tayalmanan28/MuJoCo-Tutorial

I can not find the lqr controller. It is imported in iiwa.py.

mohammad200h opened this issue · 1 comments

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:

  1. Open run.py and copy code mentioned above.
  2. You should see the error above

I met the same error