What function are you using to get the new waypoints, pose_add or pose_trans?
matthewd92
When setting up a feature you want to make sure you follow the right hand rule to understand the orientation of the axes, if you’re not familiar with it you can find info here which is what @Loïc is referring to.
whats happening when you use the feature in the movel as the reference plane is the system is doing a pose_trans() behind the scenes which is converting your tcp frame into your new feature relative to the base, since the z axis points 180 degrees to the base frame it’s inverting your tool orientation.
Loïc
T800_412 said:Another local distributor helped me to get this working correctly. The solution is to create the feature with the TCP Y axis inverted by entering 3.1416 in the TCP configuration. In this case, the pallet feature is a flat plane parallel to the ground The TCP was set with a tool pointing straight down and the X/Y arrows on the FT300 oriented as desired.
After teaching the feature, remove the 3.1416 from the TCP configuration and then program the robot with moveL commands with the feature selected as the reference. The pose_add command can now be used to move the TCP from the starting point (point one of the feature) with X,Y,orZ offsets.
This solution works well because you're not offsetting on Z, rx or rz.
In fact, you've created a feature with the Z going down and not up as you want (the right hand rule as @matthew92 said), but pose_add use a position corresponding to the base frame but an orientation referred to the tool frame as mentioned here.
The most important is that you've find a way to solve your problem.
matthewd92
You’re welcom, I’m glad I could help.
What is the proper way to setup a plane feature for a UR robot, and then use it in the program for controlling XYZ position of the TCP? I have a UR10 robot with a "pallet"positioned nearby. The robot base is rotated approximately 45 degrees from the XY orientation of the pallet.
I set a plane feature for the pallet, but the Z seems inverted. (when I look at it in on the Move tab and set the view to the pallet feature, the robot is upside down, and up/down for the TCP is inverted. Also, if I try to to move the robot to the position, it tries to invert the tool.
I am setting the points for the feature by placing the TCP (pointing straight down) at three separate corners of the pallet and saving each. (I am guessing this is incorrect?)