tmkit
0.0.1-alpha1
A Task-Motion Planning Framework
|
Task and motion plans are output in a plan-text, line-based format. A parser for the format is included.
Each plan file line is a single statement.
Action lines indicate the discrete action to be taken.
Action lines begin with "a".
a TRANSFER object destination
Reparent lines change the topology of the scenegraph. For example picking an object changes the object frame's parent to the robot end-effector.
Reparent lines begin with "r", then contain the frame being reparented followed by its new parent frame.
r object end_effector
Motion plan start lines indicate the beginning of a new motion plan and list the names of configuration variables used in the plan.
Motion plan start line begin with "m", then contain a list of the names of configuration variables described by the plan.
A motion plan start line must be followed by one or more waypoint lines.
m shoulder_0 shoulder_1 shoulder_2 elbow wrist_0 wrist_1 wrist_2
Waypoint lines indicate a particular configuration waypoint along a motion plan. Each element of the waypoint corresponds to the named configuration variable from the motion plan start line.
Waypoint lines begin with "p", then contain a list of the configuration variable values at that waypoint.
p 0.0 0.0 0.0 3.14 0.0 0.0 0.0
Plan files uses shell-style line comments (# Comment
).
# This is a line comment
The tmplan.h header defines functions and data structures for plan files.