I can not find the lqr controller. It is imported in iiwa.py.
mohammad200h opened this issue · 1 comments
mohammad200h commented
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:
- Open run.py and copy code mentioned above.
- You should see the error above
wustHuangwenhui commented
I met the same error