Skip to content

Commit e2e8b1d

Browse files
authored
Update motion.py (#1010)
1 parent e9b8c06 commit e2e8b1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/viam/services/motion/motion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,7 @@ async def get_pose(
366366
robot = await connect()
367367
368368
motion = MotionClient.from_robot(robot=machine, name="builtin")
369-
gripperName = "my_gripper"
370-
gripperPoseInWorld = await motion.get_pose(component_name=gripperName,
369+
gripperPoseInWorld = await motion.get_pose(component_name="my_gripper",
371370
destination_frame="world")
372371
373372
Args:

0 commit comments

Comments
 (0)