Closed ferrolho closed 4 years ago
Hi @ferrolho,
your export PYTHONPATH=$PYTHONPATH:$(pwd)
is correct, but you could also use export PYTHONPATH=$PYTHONPATH:.
. You can also launch the module: python -m sl1m.planner
, which doesn't require a PYTHONPATH
change.
And for escaliers.py
, I'm sorry I didn't finish my job packaging this project. I'll open a PR to fix this issue.
After installing the project dependencies, I am trying to run:
but this throws the following error:
So I added the project folder to my
PYTHONPATH
:(Is this the right thing to do?)
After that, trying to run
python ./sl1m/planner.py
throws a different error:which can be fixed by editing the line https://github.com/loco-3d/sl1m/blob/0508d282baf1eb019a4da8e6d955ba5d220ca0d3/sl1m/stand_alone_scenarios/escaliers.py#L13 to
After all these changes, the program runs as expected. It prints
and displays
I am questioning myself: is this the right way to do it? Or were these changes only required because I did not setup the project as intended? Thank you in advance!