pyOptimalMotionPlanning icon indicating copy to clipboard operation
pyOptimalMotionPlanning copied to clipboard

Issue in running main.py

Open sparshgarg23 opened this issue 4 years ago • 4 comments

Hi, While executing main.py I ran into the following error Traceback (most recent call last): File "main.py", line 6, in from pomp.example_problems import * AttributeError: module 'pomp.example_problems' has no attribute 'lqr'

After looking at the pomp folder I saw that this code depends on klamp,so if I install klamp will the issue go away?

sparshgarg23 avatar Jun 17 '20 10:06 sparshgarg23

Ok I installed klamp,the issue still persists

sparshgarg23 avatar Jun 17 '20 10:06 sparshgarg23

Sorry, that was an uncommitted file. Try pulling and see if it's there for you.

krishauser avatar Jun 17 '20 23:06 krishauser

Ok it works now,but in controspaces.py we are importing the module differences,but I noticed one thing,while other module imports had a . prefix ,the import differences didn't have the dot.This leads to an error : Traceback (most recent call last): File "main.py", line 4, in from pomp.planners import allplanners File "/home/vkchlt0297/pyOptimalMotionPlanning/pomp/planners/allplanners.py", line 4, in from ..spaces.controlspace import * File "/home/vkchlt0297/pyOptimalMotionPlanning/pomp/spaces/controlspace.py", line 6, in import differences ModuleNotFoundError: No module named 'differences' I was wondering if adding a . over there might fix it . Update that fixed it,but another module called pomp.planners.optimization is missing. thanks

sparshgarg23 avatar Jun 18 '20 04:06 sparshgarg23

Forgot another file in the last push. Please try again.

krishauser avatar Jun 18 '20 20:06 krishauser