Comments (3)
I have added (not(localised v1))
and others to the problem file but it still not works.
It seems that the system does not work when a PDDL domain file is using a negate precondition, I have found the following comment in parsePrecondition()
of PlanningEnvironment
:
TODO: test negative precondition support.
Am I right? How to solve it?
from rosplan.
(1) Looking through the plan dispatcher code, negative preconditions don't appear to be supported at all. The code you mention does not look at the "neg_goal" VAL type, only "simple_goal".
(2) In the Knowledge Base, a negative precondition will not be detected if the positive fact is not in the KB. However, adding the negative precondition with "is_negative=true" in the KnowlegeItem should work.
To solve the problem in the short term, some code must be added to PlanningEnvironment to iterate through the neg_goal list, and then explicitly adding the negative facts to the KB should work.
I'll leave this issue open and post an update when there is a complete fix.
from rosplan.
Thanks.
I have just checked but VAL::neg_goal
has not ng->getProp()
, so I think that I cannot use same code as simple_goal
. Could you explain your idea more detailed?
from rosplan.
Related Issues (20)
- extracting "diagnostic_msgs/KeyValue[] parameters" HOT 1
- FF Parsing Interface is parsing the cost as an action HOT 2
- An instance with new type could be added to the KB but it should not HOT 4
- Error when running Prost planner HOT 6
- Installation Failed HOT 2
- Sensing Interface crashing HOT 1
- Running on windows HOT 1
- Documentation: Broken Link
- KCL: (RPActionInterface) could not call Knowledge Base for operator details, goto_waypoint HOT 11
- Failed to parse Contingent-FF problem files
- The steps to interface other planners to ROSPlan HOT 1
- Knowledge base update to remove one goal after failed action
- fastDownward Planner selection in the ROSPlan launch file HOT 3
- Typos in the documentation
- Calling problem_generation_server changes my problem removing the disjunctive-preconditions HOT 5
- sensing_interface.py bug HOT 1
- Action dispatch only when previous action is complete
- global name 'get_kb_attributes' is not defined HOT 3
- removing goals from KB HOT 1
- Run the demo with ROS Noetic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosplan.