Skip to content
Igor Karpov edited this page Apr 26, 2015 · 2 revisions

Introduction

Planning means deciding on a course of action before acting. In this
demo, three different planning methods (goal-stacking, forward
search, and problem reduction) are demonstrated in the Towers of Hanoi
task. The planning process is first run in the background,
illustrating its progress in a text window. The Steve robot then
executes the completed plan in the environment. Watch the videos
below to see how the planning demo works, or run OpenNERO yourself to
try it out interactively.

Running the Demo

To run the demo, first:

  1. Start OpenNERO
  2. Start the NLP experiment
  3. Select Semantic Parser from the pull-down menu
  4. Click on the Start button to start the demo

Text input interface

Once you run the agent, a pop-up dialog box will open up which will take text input. For a start, enter the following commands in the dialog box and see how the agent responds.

Move Disk1 from Pole1 to pole3
Pick up Disk1 lying on Pole1
Put Disk1 on Pole2

The current parser can only handle three possible types of English language sentences and the actions corresponding to each of them.

English Sentence OpenNERO Command
Move Disk1 from Pole1 to Pole2 Mov Disk1 Pole1 Pole2
Pick up Disk1 from Pole1 Pick Disk1 Pole1
Put down Disk1 on Pole2 Put Disk1 Pole2

Similarly, variants of the above sentences/commands can be made by using Disk1/Disk2/Disk3 and Pole1/Pole2/Pole3. The command format is always:

S -> VP1 NP1 NP3 NP4 | VP2 NP1 NP3 | VP3 NP1 NP4
VP1 -> move
VP2 -> pick up
VP3 -> put
NP1 -> disk1 | disk2 | disk3
NP2 -> pole1 | pole2 | pole3
NP3 -> from NP2
NP4 -> to NP2 | on NP2

The simulator will only execute legal commands. For example, if Disk1 is lying on Pole1, then you cannot pick it from Pole2 or, if Disk1 is lying on Disk2, then you cannot move Disk2. Remember, the starting configuration of 3-disk planner includes Disk3 lying on Pole1, Disk2 lying on Disk3 and Disk1 lying on Disk2.

Clone this wiki locally