Keep TCP orientation when using object frame in vision system

ceppo
Finland ✭
Hello,
I'm using integrated vision to locate and pick up parts. Location of part is given to robot by moving the object frame like this: wCam.oframe:=camTarget.cframe; and then robot is moved to that position with Offs command: MoveL pPickObject,vFast,fine,tGripper\WObj:=wCam;
The problem is that as the parts I'm picking are round there is no need to rotate the tool when picking them up so how can I make it so that the tool won't rotate? I want to keep it in specific angle to minimize change of collision.
Comments
-
Break it down to just the pos: wCam.oframe.trans:=camtarget.oframe.trans;Lee Justice
-
That gives error: Reference to unknown component oframe.
-
In your post was this:
wCam.oframe:=camTarget.cframe;
I assumed that camtarget.cframe; was a typo for .oframe, was I wrong? or is your data .cframe?Lee Justice -
Yes it is cframe there is no typo.
-
I found the solution to this myself and it was quite a simple one. There was a possibility to send an constant angle to robot from integrated vision so that solved the problem.
Categories
- 10.1K All Categories
- 5.2K RobotStudio
- 332 UpFeed
- 12 Tutorials
- 1 RobotApps
- 274 PowerPacs
- 401 RobotStudio S4
- 1.7K Developer Tools
- 233 ScreenMaker
- 2.6K Robot Controller
- 179 IRC5
- 29 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 659 RAPID Programming
- 14 Wizard Easy Programming
- 90 Collaborative Robots
- 3 Job listings