Coder Social home page Coder Social logo

amanarora9848 / robocafe_ai_task_planning Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 1.17 MB

PDDL+ based AI Task Planning domain modelling a robot-enabled cafe environment. Part of Assignment for AI for Robotics 2 course at UniGe, Italy.

PDDL 50.72% Shell 20.56% Python 28.71%
ai-planning classical-planning pddl task-planning artificial-intelligence automated-planning

robocafe_ai_task_planning's Introduction

Robocafe - PDDL+ Task Planning Domain and Problem Set

This is a PDDL+ Task Planning domain and problem set developed for a "Robot-enabled" cafe environment, as part of the course "Artificial Intelligence for Robotics II" at the University of Genoa, Italy. For more details, please refer to the attached report. This is a joint effort by:

The design of the domain is best represented by the below image:

Domain Design

Getting Started

Prerequisites

The domain is PDDL+ domain and requires a planning engine to be installed. To download the ENHSP Planning Engine, please follow the instructions given on the ENHSP webpage: https://sites.google.com/view/enhsp/

After installing the planning engine:

Clone the repository:

git clone https://github.com/amanarora9848/robocafe_AI_task_planning.git

Generating Plans:

The script generate_plan.sh can be used to generate plans for the given base pddl+ domain and problems with or without using an optimizer, and can also calculate metrics like mean and standard deviation for given data points specific to an optimizer, if used.

For help regarding running the generate_plan.sh script, run the following command:

$ ./generate_plan.sh -h

A typical output after running the script, for, say 30 repititions with planner configuration of opt-hrmax is as follows:

$ ./generate_plan.sh -p ../enhsp-20.jar -f test.pddl -m 12000 -z -c opt-hrmax -r 30
planner: ../enhsp-20.jar
planner configuration: opt-hrmax
problem: test.pddl
Number of repititions requested: 30
Progress : [########################################] 100.00%
DONE
Metrics written to file: generated_metrics/metrics_test_opt-hrmax.txt

The generated plans are stored in the folder generated_plans and the metrics are stored in the folder generated_metrics.

Branches:

The repository has six branches, each implementing a specific part of the assignment:

  1. main: Contains the base PDDL+ domain and problems.
  2. extension1: Contains the PDDL+ domain and problems for extension 1.
  3. extension2: Contains the PDDL+ domain and problems for extension 2.
  4. extension3: Contains the PDDL+ domain and problems for extension 3.
  5. extension4_enhanced: Contains the PDDL+ domain and problems for extension 4.
  6. complete: Contains the 'complete' PDDL+ domain integrated with all the extensions and the problems.

To run the script for any of the branches, please checkout to the branch and run the script as mentioned above.

robocafe_ai_task_planning's People

Contributors

amanarora9848 avatar davidecaligola avatar lucas-pardo avatar

Watchers

 avatar  avatar  avatar

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.