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

Bug in dispatcher #164

Open
Samcheok opened this issue Dec 11, 2018 · 4 comments
Open

Bug in dispatcher #164

Samcheok opened this issue Dec 11, 2018 · 4 comments

Comments

@Samcheok
Copy link

Samcheok commented Dec 11, 2018

Hello,

We found a bug in Dispatcher.

Two combinations of versions are tested
1 ) Errors with any domains

error sign

Domain, Problem, and Plan files(by LPG-td) are attached.
attached_file.zip

  1. Errors vary with domains

Any comments would be appreciated.

-- Kyeong Seok

@oscar-lima
Copy link
Collaborator

Hi, I looked into your issue and have some comments. Basically the dispatcher is checking the KB to check if grounded action preconditions are met before dispatching the action. From your error there are many preconditions which are not satisfied and therefore the complaint from the dispatcher. I am trying to replicate your error but currently ROSPlan action simulator only supports fixed time durations, however I am extending the simulator interface to support it. Only after that I will be able to replicate your problem. An easier way would be if you could share your simulator code... greetings. Oscar

@oscar-lima
Copy link
Collaborator

problem

@oscar-lima
Copy link
Collaborator

bug

@m312z
Copy link
Contributor

m312z commented Jan 8, 2019

Hello both,

For this plan (vehicle_start, build_road) to be dispatched correctly the precondition of the build_road action needs to be observed at 320.001, and before 320.002. This time is too short for the turnaround of the ROS service.

It is for to avoid tight coordination problems like this that PDDL enforces the epsilon separation between action. In this case the epsilon separation is too small, only 0.001 seconds.

If the planner supports it, then it would be a good idea to increase this value. Then the generated plan should be dispatched normally.

From the plan validator README:

VAL has many command line options, but the most important first few are:

validate -t -v <planfile....>

Multiple plan files can be handled together. The -t flag allows the value of epsilon to be set. The default value is 0.01, but 0.001 is a good value to use for most planners. Actions separated by epsilon or less are treated as simultaneous by VAL. -v is the verbose flag.

While 0.001 is what a lot of planners use, it is rather a small duration in robotics.

Michael

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

3 participants