WASP Autonomous Systems 1 VT20
Assignment Task Planning
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • Min översikt
  • WASP Autonomous Systems 1 VT20
  • Assignments
  • Assignment Task Planning
  • Home
  • Syllabus
  • Modules
  • Assignments
  • Quizzes
  • Media Gallery

Assignment Task Planning

  • Due May 29, 2020 by 11:59pm
  • Points 1
  • Submitting a file upload
  • File Types pddl and txt

This is an individual assignment connected to Task Planning.

Mekorama is a recreational game available in Google Play and the App Store, where a small robot should move to the goal. Your task is to use PDDL to solve the Mekorama26 puzzle, illustrated in the following video

Play media comment.

The Mekorama world consists of a 6*6 grid where horizontal and vertical tiles can slide. A horizontal tile, such as Tile 1 below, can only slide horizontally (i.e left or right), and the new slot needs to be empty.  Sliding several slots are considered as separate consecutive moves. The same goes for vertical tiles, which can only slide up or down. In the initial position for Mekorama26 shown below (left figure), Tile 1 is hence unable to move. Tiles 3 and 4 are also locked in the initial position. The goal is to move Tile 1 to the goal position shown in the right figure. The positions of the other tiles do not matter.

planningtask_mekorama_pic1.png

You are given a PDDL description of this domain in domain_mekoramaworld.pddl Download domain_mekoramaworld.pddl. You should read that file to understand the representation, predicates and actions. We will disregard the robot, since it easily can jump onto the correct tile in its first move. The position of a tile is indicated by the coordinate of the circle on the tile. As an example, the predicate (at t1 x1 y4) means that tile 1 has the position (x1,y4) as in the initial figure. Furthermore the predicate (hor2 t1) means that tile 1 is a horizontal tile of size 2.

 

Your Task

Your task is to write a problem definition file mekorama26.pddl that solves the problem. You are given an embryo of problem definition file in mekorama26skeleton.pddl Download mekorama26skeleton.pddl.

The power of PDDL is that you do not actually have to solve the problem. You leave that to a so called solver instead. In this assignment we recommend that you make use of the PDDL Editor http://editor.planning.domains/ Links to an external site., in which you can both do you editing of the problem definition and test different solvers. 

To hand in

Upload your problem definition pddl file (mekorama26.pddl) and the generated plan solving the problem (plan.txt).

 

Also at your disposal

We have also made a small python program for you to help visualize your plan. It is available at https://github.com/pjensfelt/mekorama_plandisplay/. Links to an external site. The page provides instructions for how to install and run the visualisation program.

 

Video instruction

https://www.youtube.com/watch?v=I7EnXspWdww Links to an external site.

Late submission compensation task

Solve Mekorama20 which now means to also create the domain file.
Note that the visualisation program does not work for this problem.

 

Extra

Is the solution you get optimal? 

For extra fun, you could also try the easier Mekorama20 or the more difficult Mekorama49. The goal is the same.

planningtask_mekorama_pic2.png

 

1590789599 05/29/2020 11:59pm
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Find a Rubric
Find Rubric
Please include a title
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
Title
Criteria Ratings Pts
Edit criterion description Delete criterion row
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit rating Delete rating
5 to >0 pts
Full Marks
blank
Edit rating Delete rating
0 to >0 pts
No Marks
blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Edit criterion description Delete criterion row
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit rating Delete rating
5 to >0 pts
Full Marks
blank
Edit rating Delete rating
0 to >0 pts
No Marks
blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5