Skip to content

Commit 372db4f

Browse files
committed
Merge pull request #193 from personalrobotics/feature/tag_docs
Added documentation for `prpy.base.Tags`.
2 parents 03ed480 + 373c8b6 commit 372db4f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/prpy/planning/base.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,44 @@
4141

4242
class Tags(object):
4343
SMOOTH = 'smooth'
44+
"""
45+
The `SMOOTH` tag means waypoints are close enough together that we can
46+
approximate derivatives at the waypoints using divided differences. i.e.
47+
we can safely fit a spline without collision checking.
48+
"""
49+
4450
CONSTRAINED = 'constrained'
51+
"""
52+
The `CONSTRAINED` tag means that the geometric path described by these
53+
waypoints respects a constraint. This means that the path cannot be
54+
geometrically altered arbitrarily, at the risk of violating the original
55+
constraint, it should only be changed in timing.
56+
"""
57+
4558
PLANNER = 'planner'
59+
"""
60+
The name of the planner used to generate a trajectory.
61+
"""
62+
4663
METHOD = 'planning_method'
64+
"""
65+
The type of planning call used to generate a trajectory.
66+
"""
67+
4768
PLAN_TIME = 'planning_time'
69+
"""
70+
The amount of time that was spent by a planner finding a solution.
71+
"""
72+
4873
POSTPROCESS_TIME = 'postprocess_time'
74+
"""
75+
The amount of time that was spent modifying the trajectory for execution.
76+
"""
77+
4978
EXECUTION_TIME = 'execution_time'
79+
"""
80+
The amount of time that was spent actually running a trajectory.
81+
"""
5082

5183

5284
class MetaPlanningError(PlanningError):

0 commit comments

Comments
 (0)