saves trajectory.yaml in $HOME/.pal folder