tmkit  0.0.1-alpha1
A Task-Motion Planning Framework
 All Data Structures Files Functions Enumerations Enumerator Pages
The Planner Command

Table of Contents

This package provides a shell command to invoke the task-motion planner.

Input

Start and Goal Scenes

Task Domain

Domain Scripts

Output

Plan Files

Visualization

Examples

The demo directory in the source distribution provides several example domains and use cases for the planner command. A few of these cases are described in detail here.

Pure Task Planning

When given only the task domain and facts, the planner command will compute a pure task plan. Using the blocksworld domain included in the source distribution, call the planner as:

tmsmt demo/domains/blocksworld/blocks-domain.pddl \
      demo/domains/blocksworld/sussman-anomaly.pddl

Task-Motion Planning

When loading scenes from URDF, it is necessary to set the ROS_PACKAGE_PATH environment variable because URDF external files such as meshes via ROS packages.

# Assuming you have install ROS indigo under /opt
export ROS_PACKAGE_PATH=/opt/ros/indigo/share

The following command will compute a task-motion plan for the Baxter robot and output the plan to baxter-sussman.tmp.

tmsmt package://baxter_description/urdf/baxter.urdf \
      sussman-0.robray \
      allowed-collision.robray \
      -g sussman-1.robray  \
      -d domain.pddl \
      -o baxter-sussman.tmp

The following command will load and visualize the previously computed task-motion plan from the file baxter-sussman.tmp.

tmsmt package://baxter_description/urdf/baxter.urdf \
      sussman-0.robray \
      allowed-collision.robray \
      -i baxter-sussman.tmp

Options Summary

See also
Man Page