Skip to content

Commit de578b2

Browse files
author
Michael Koval
committed
Fixed a bug in ComputeUnitTiming.
1 parent ae15302 commit de578b2

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)