Skip to content

Commit c43fde4

Browse files
authored
Merge pull request #16 from viam-labs/actually-fix-pif
Fix pose movements to be relative to arm origin, not TCP flange
2 parents 4518d52 + 98a98e0 commit c43fde4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/hand_eye_calibration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ async def _move_arm_to_position(self, position_data, position_index, total_posit
222222
is_pose = isinstance(position_data, Pose)
223223

224224
if self.motion is not None and is_pose:
225-
# Motion planning approach with pose
226-
pif = PoseInFrame(reference_frame=self.arm.name, pose=position_data)
225+
# hack to get the arm to move relative to the base of the arm, not the end TCP
226+
pif = PoseInFrame(reference_frame=self.arm.name + "_origin", pose=position_data)
227227

228228
success = await self.motion.move(
229229
component_name=self.arm.name,

0 commit comments

Comments
 (0)