Skip to content

Commit b7a64d4

Browse files
committed
Merge pull request #224 from personalrobotics/bugfix/JointStatesFromTraj
Fixed incorrect indent in `JointStatesFromTraj`
2 parents 60635d4 + debd8c4 commit b7a64d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/prpy/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,9 @@ def JointStatesFromTraj(robot, traj, times, derivatives=[0, 1, 2]):
991991
for t in times:
992992
pva = [None] * len(derivatives)
993993
trajdata = traj.Sample(t)
994-
for i, deriv in enumerate(derivatives):
995-
pva[i] = cspec.ExtractJointValues(trajdata, robot, dof_indices, deriv)
996-
pva_list.append(pva)
994+
for i, deriv in enumerate(derivatives):
995+
pva[i] = cspec.ExtractJointValues(trajdata, robot, dof_indices, deriv)
996+
pva_list.append(pva)
997997

998998
return pva_list
999999

0 commit comments

Comments
 (0)