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

Adding inequality check in Actions breaks plansys2-node when executing plan #262

Open
jeroenzwan opened this issue Feb 22, 2023 · 1 comment

Comments

@jeroenzwan
Copy link

The execution of a plan fails when I add an inequality check to an action in the PDDL domain file, such as

(at start (> (battery_level ?auv) 10)

When I run get plan in the plansys2 terminal, the plan is generated correctly. However, when I run run in the terminal, the plansys2-node dies with output:

[ERROR] [plansys2_node-1]: process has died [pid 7302, exit code -11, cmd '/opt/ros/humble/lib/plansys2_bringup/plansys2_node --ros-args -r __ns:=/ --params-file /tmp/launch_params_g_a70tmt --params-file /opt/ros/humble/share/plansys2_bringup/params/plansys2_params.yaml'].

I tried running a plan without these inequalities and functions in the condition and effect fields, and that worked without issue. My guess is that it has something to do with the information the action servers obtain from the domain file, since the plan message I send to the executor_client doesn't have weird parameters.

@roveri-marco
Copy link
Collaborator

@jeroenzwan Can you please add examples to reproduce the problem? Of course, we can create one ourselves, but it is a good practice when reporting an issue to also allow to reproduce the bug easily.

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

2 participants