Closed sayanmitracode closed 2 years ago
Hi, Sayan! It seems to work on my side. I think the possible reason is it runs in the wrong directory since we use relative path here. '.' means the current directory, and './demo' means we want to find 'demo' under current directory.
Maybe you can try to switch to the root folder of our lib i.e., Verse-library which the 'demo' folder belongs to, and then run demo by python3 demo/vehicle/demo2.py
When I switch to the demo folder and run by python3 vehicle/demo2.py, FileNotFoundError occurs.
By the way, demo2.py may look abnormal, the reason is the time step is set to 1 which is too large.
What's more, I think we can also use absolute path. Just call a python function to get the absolute path of the current file and modify it to get the target file.
Ok, worked when running demo from root folder.
pulled and installed new verse lib; installation worked fine. When I tried to run the demo, got the following:
polytope
failed to importcvxopt.glpk
. will usescipy.optimize.linprog
Traceback (most recent call last): File "demo2.py", line 32, in