Conversation
…s should be solved properly later on)
|
Great Work Oscar. |
The problem is: cc1plus: error: -Werror=deprecated-copy: no option -Wdeprecated-copy |
|
You are right !!! |
|
Dear oscar, Planner is not able to plan if I have a negative condition in problem file. does not work .. any solutions. |
|
Hi
It never makes sense to put negative facts in a problem file - PDDL uses the closed world assumption and, therefore, absence of a fact is the way you say the fact is false. Some planners, but not all, handle negative preconditions in the actions. POPF/OPTIC do not. There are solutions to this - the standard one is to "mirror" conditions. That is, when you want the condition (not (P)) as a precondition, you create the condition (notP) and add that as precondition. You now ensure that every action that adds P deletes notP and every action that deletes P adds notP. Another option is to try to find a planner that works with negative preconditions.
Cheers
Derek
…________________________________
From: Harsh Kakashaniya <notifications@github.com>
Sent: 14 January 2021 23:50
To: KCL-Planning/ROSPlan <ROSPlan@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [KCL-Planning/ROSPlan] Noetic devel (#268)
Dear oscar,
I had a question for you.
can we add negative conditions in our problem file ?
Planner is not able to plan if I have a negative condition in problem file.
for example:
(not (docked kenney))
does not work ..
any solutions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKCL-Planning%2FROSPlan%2Fpull%2F268%23issuecomment-760550386&data=04%7C01%7Cderek.long%40kcl.ac.uk%7C62381dcfb6c64db9506f08d8b8e73577%7C8370cf1416f34c16b83c724071654356%7C0%7C0%7C637462650482895678%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IJvQkth4YgBKTogpnW6y8Fqr9SBTpEvVDRb9EViOHR0%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB2KOVGN6OEKT5F4ETXPQYLSZ57NHANCNFSM4TPNQMBQ&data=04%7C01%7Cderek.long%40kcl.ac.uk%7C62381dcfb6c64db9506f08d8b8e73577%7C8370cf1416f34c16b83c724071654356%7C0%7C0%7C637462650482905677%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GG6XAt1KMVjnN6fpPd%2Ffr%2FD1tQW6k%2B6yTqqos0cnPdA%3D&reserved=0>.
|
|
Dear Derek, Regards, |
|
I am having issues with the sensing interface: File "/home/hbk_il/Desktop/Integrated_ws/src/integratedcore/ROSPlan/rosplan_sensing_interface/scripts/sensing_interface.py", line 285 |
|
Hi @harshkakashaniya, |
remove unused import that does not work with python3
Update ROSPlanProblemViewer.py
Hi @oscar-lima , Thanks for the noetic extension. I also faced problems building ROSPlan for noetic. I fixed it by adding -Wno-error in [1] in the rosplan_dependencies CMakeList. [1] SET (RDDL_CMAKE_CXX_FLAGS "${RDDL_CMAKE_CXX_FLAGS} -g -Wall -W -Wno-sign-compare -Wno-deprecated -ansi -pedantic -Werror -std=c++11 -O3 -DNDEBUG -fomit-frame-pointer -Wno-error=deprecated-copy") |
Tks for this !! |
changes for ROSPlan to run in noetic