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

Task Planning does not succeed due to Invalid goal format. #8

Closed
sea-bass opened this issue Oct 16, 2024 · 2 comments
Closed

Task Planning does not succeed due to Invalid goal format. #8

sea-bass opened this issue Oct 16, 2024 · 2 comments

Comments

@sea-bass
Copy link

sea-bass commented Oct 16, 2024

When I tried doing task planning from one of the solution files on Problem 1 by

  1. Selecting Task Planning from PDDL File
  2. Using planning/solutions/problem1.pddl as my file

The resulting task failed with this error

00:59:48;0.0004;Task Planning from PDDL File;52;Extract PDDL Goal from File;53;Success;1;Extracted goal from planning/solutions/problem1.pddl
00:59:48;0.0548;Task Planning from PDDL File;52;Task Planning from PDDL Goal;54;Failure;-101;Invalid goal format. Expected '(<goal condition>)'. Got goal '    ; Snacks are on the table    (skiros:contain skiros:Table-15 skiros:Snacks-23)'

Here is the log I saw:

[skill_manager_node-4] [INFO] [1729040388.384950127] [skiros]: [SkillManager]      Add task skiros:PlanFromFile:Task Planning from PDDL File 
[skill_manager_node-4]  Package:['skiros2_pyrobosim_lib'] File:['planning/solutions/problem1.pddl'] Robot: sumo:Agent- 
[skill_manager_node-4] [INFO] [1729040388.386316606] [skiros]: [start]             Starting task 51.
[skill_manager_node-4] [INFO] [1729040388.389156011] [skiros]: [BtTicker]          Execution starts.
[skill_manager_node-4] [INFO] [1729040388.412718699] [skiros]: MatchWm             skiros:PlanFromFile:[Robot=cora:Robot-14-robi:robot]
[task_manager_node-5] [INFO] [1729040388.422889007] [skiros]: [Goal]              
[task_manager_node-5]     ; Snacks are on the table
[task_manager_node-5]     (skiros:contain skiros:Table-15 skiros:Snacks-23)
[task_manager_node-5] 
[skill_manager_node-4] [INFO] [1729040388.430303534] [skiros]: Planning returned. Status: '6'
[skill_manager_node-4] [INFO] [1729040388.509246233] [skiros]: [BtTicker]          Execution stops.
@matthias-mayr
Copy link
Owner

Yep, @p-rosit is already on it.

@matthias-mayr
Copy link
Owner

This is tackled in ros-wg-delib/roscon24-workshop#73

Feel free to reopen if there are similar issues with the solution pddl files.

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