Skip to content

Commit 11b6ec8

Browse files
committed
Merge pull request #239 from personalrobotics/bugfix/ComputeUnitTiming
Fixed a major bug in ComputeUnitTiming.
2 parents ae15302 + de578b2 commit 11b6ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def ComputeUnitTiming(robot, traj, env=None):
893893
old_cspec = traj.GetConfigurationSpecification()
894894
dof_indices, _ = old_cspec.ExtractUsedIndices(robot)
895895

896-
with robot.CreateRobotStateSaver(robot):
896+
with robot.CreateRobotStateSaver():
897897
robot.SetActiveDOFs(dof_indices)
898898
new_cspec = robot.GetActiveConfigurationSpecification('linear')
899899
new_cspec.AddDeltaTimeGroup()

0 commit comments

Comments
 (0)