Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Moving the robot tool wrt to base by a translated value

#1
Hi,

I'm trying to move the robot by a translated value of x,y,z with respect to the robot base in python . Can you please tell me which function does that ( linear not joints) .
Thanks

Nour
#2
(03-31-2023, 02:17 PM)Nour Wrote: Hi,

I'm trying to move the robot by a translated value of x,y,z with respect to the robot base in python . Can you please tell me which function does that ( linear not joints) .
Thanks

Nour

Hi Nour,
use the multiplication operator with transl:

Code:
new_target = transl(x, y, z) * target.Pose()
or with respect to the TCP:

Code:
new_target = target.Pose() * transl(x, y, z)
  




Users browsing this thread:
1 Guest(s)