Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
Align work object in Rapid using vertical plane?
Kevin
✭✭
in RobotStudio

I need a work object in a real robot cell at position p1 on the bottom left-hand corner of a plate, which is approximately vertical.
It is not convenient to have three points orthogonal to the plate for teaching the work object.
If I teach the points p1, p2 & p3 I can move Wobj1 to the position of p1 using 'Wobj1.uframe.trans:=p1.trans;' and I can calculate vectors from p1 for an imaginary work object plane orthogonal to the plate.
Is it possible to calculate Euler rotations or a quaternion from the vectors to correctly align Wobj1 with the plate geometry?
Thanks,
Kevin
0
Comments
-
How about DefFrame?
Henrik Berlin
ABB0 -
Thanks Henrik. That works fine.
Kevin
0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 856 RAPID Programming
- 40 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings