Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popf goes segfault on the problem in attach #255

Open
roveri-marco opened this issue Jan 4, 2023 · 0 comments
Open

popf goes segfault on the problem in attach #255

roveri-marco opened this issue Jan 4, 2023 · 0 comments

Comments

@roveri-marco
Copy link
Collaborator

Considering the simple example in attach assuming it has been compiled and the proper setup loaded.
In one terminal I run the command:
ros2 launch plansys2_problem5 plansys2_problem5_launch.py
In the other terminal I run the command:
ros2 run plansys2_terminal plansys2_terminal
In the plansys2_terminal I load the file contained in plansys2_problem5/launch/commands and then I call the get plan
the answer I get is no plan. However, a more detailed analysis of the problem (since the PDDL problem admits a solution) pointed out that the popf planner crashed with segfault. Indeed, if you then try to run it alone on the generated problem you'll see it.

ros2 run popf popf /tmp/domain.pddl /tmp/problem.pddl
[ros2run]: Segmentation fault

The complete source:
plansys2_problem5.zip

A more recent version of POPF (https://github.com/roveri-marco/popf) successfully parses the problem and generates a solution. However, the local modifications to popf in the ros package have not been ported yet to this new version, thus it is not yet possible to completely replace it (there is a module that calls the planner to validate the domain file).

@fmrico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant