Skip to content

Commit 8d308d8

Browse files
committed
Merge pull request #191 from personalrobotics/bugfix/vector_field_tags
Added missing trajectory flags to VectorFieldPlanner.
2 parents 6debbfb + 8973241 commit 8d308d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/prpy/planning/vectorfield.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,5 +360,12 @@ def fn_callback(t, q):
360360
output_path.Insert(output_path.GetNumWaypoints(),
361361
path.Sample(t_cache), cspec)
362362

363+
# Flag this trajectory as constrained.
364+
util.SetTrajectoryTags(
365+
output_path, {
366+
Tags.CONSTRAINED: 'true',
367+
Tags.SMOOTH: 'true'
368+
}, append=True
369+
)
363370
return output_path
364371

0 commit comments

Comments
 (0)