Skip to content

Commit 41b0605

Browse files
committed
More fixes to MoveUntilTouch. Seems to be back to working now.
1 parent 9f2270f commit 41b0605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/base/wam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def MoveUntilTouch(manipulator, direction, distance, max_distance=None,
305305

306306
try:
307307
with robot.CreateRobotStateSaver(Robot.SaveParameters.JointMaxVelocityAndAcceleration):
308-
v1 = robot.GetVelocityLimits()
308+
vl = robot.GetDOFVelocityLimits()
309309
manipulator.SetVelocityLimits(velocity_limit_scale*vl, 0.5)
310310
robot.ExecutePath(path)
311311
return False

0 commit comments

Comments
 (0)