tmkit
0.0.1-alpha1
A Task-Motion Planning Framework
|
This package provides a shell command to invoke the task-motion planner.
--gui
flag, it will visualize the planning scene and the computed task-motion plan.--load-plan=PLAN_FILE
parameter.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.
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
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