Code Monkey home page Code Monkey logo

Comments (4)

m312z avatar m312z commented on September 18, 2024

Hello,

Thanks for your interest!

More information on POPF can be found here:
http://www.inf.kcl.ac.uk/research/groups/PLANNING/index.php?option=com_content&view=article&id=46&Itemid=55

And the source code can be found on the sourceforge page here:
http://sourceforge.net/projects/tsgp/

To use another planner, you must do two things:
A. Alter the command line for the planner, which is found in the launch file:

<node name="rosplan_planning_system" pkg="rosplan_planning_system" type="planner" respawn="false" output="screen">
        ...
        <!-- to run the planner -->
        <param name="planner_command" value="timeout 10 $(find rosplan_planning_system)/common/bin/popf -n" />
</node>

The command line will then be:
timeout 10 $(find rosplan_planning_system)/common/bin/popf -n [domain] [problem]

If you need to change it further, the code can be found in rosplan_planning_system/src/PlanningSystem.cpp (lines 193-199)

B. If the output is different from POPF output, then you must alter the code that parses the plan.
This can be found in rosplan_planning_system/src/PlanParser.cpp This code reads in the plan from file, and generates a list of action messages to be sent.

Michael

from rosplan.

mcqrobot avatar mcqrobot commented on September 18, 2024

Hi,
Thanks for your reply.
Actually,the POPF page "http://www.inf.kcl.ac.uk/research/groups/PLANNING/index.php?option=com_content&view=article&id=46&Itemid=55 "

and source download page" http://sourceforge.net/projects/tsgp/"
has been tried by me several days ago, but unfortunately, when I follow its step and run the command "./build"γ€€to build the popf2(filename is tempo-sat-popf2), it throw the error that some variables are not found". When I try to run the command "./run-cmake-release" to compile OPTIC (filename is optic),but it also throw the error. All in all, I guess that the things such as "popf2-clp","popf3-clp","optic-clp" are needed but I don't have.

Er...γ€€I don't know whether you understand what I said. Anyhow, thanks a lot for your help.

from rosplan.

m312z avatar m312z commented on September 18, 2024

POPF is a separate tool from ROSPlan -- your best bet is to contact its developer, Andrew Coles:
http://www.inf.kcl.ac.uk/staff/andrew/

from rosplan.

mcqrobot avatar mcqrobot commented on September 18, 2024

Thank you so much! _

from rosplan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.