I'm using an environment variable named LOCAL_PLANNER_BENCH_CUSTOM to specify a list of paths that contain python modules of custom planners.
Environment variables could be a neat way to tell localPlannerBench about these paths, without having to add an argument every time you execute the runner.
Let's say you have a directory with the following path /home/linus/my_custom_planners.
The directory should look like:
This PR is related to #48.
I'm using an environment variable named
LOCAL_PLANNER_BENCH_CUSTOM
to specify a list of paths that contain python modules of custom planners.Environment variables could be a neat way to tell localPlannerBench about these paths, without having to add an argument every time you execute the
runner
.Let's say you have a directory with the following path
/home/linus/my_custom_planners
. The directory should look like:Where
__init__.py
should look like:When this path is added to the environment variable, the
runner
script will look for the__init__.py
and import/register the custom planners.Let me know what you think of this approach.