This package contains a plan solver that uses Temporal Fast Downward for solving PDDL plans.
To install Temporal Fast Downward (TFD) to work with PlanSys2:
- Pick an installation folder, e.g.,
${HOME}/plansys2
mkdir -p ${HOME}/plansys2
cd ${HOME}/plansys2
git clone https://github.com/sea-bass/TemporalFastDownward.git
cd TemporalFastDownward
./build
- Export a
$TFD_HOME
environment variable that points to thedownward
directory, e.g.,export TFD_HOME=${HOME}/plansys2/TemporalFastDownward/downward
. - (Optional) Add the above export statement to your
~/.bashrc
file.
python3 $TFD_HOME/translate/translate.py [domain_name].pddl [problem_name].pddl
$TFD_HOME/preprocess/preprocess < output.sas
$TFD_HOME/search/search y Y a T 10 t 5 e r O 1 C 1 p $TFD_HOME/plan < output
cat pddlplan.1