Create workobject from 3 vectors
Hi,
I combed the available functions and I was surprised not to see this.
I have a sensor that is able to give me 3 3D points (poses) in the world.
I wanted to programmatically create a workobject based on these 3 points (their vectors, rather), just like when we create a workobject using the pendant and the nice 3 points procedure (Origin, then X positive direction, then Y positive direction).
Is there anyone who knows how to do this, or that can point me towards a resource to implement this? I am unsure if it will be possible, but we seem to have a couple of matrix tools (SVD etc.) available now so it could be?
I combed the available functions and I was surprised not to see this.
I have a sensor that is able to give me 3 3D points (poses) in the world.
I wanted to programmatically create a workobject based on these 3 points (their vectors, rather), just like when we create a workobject using the pendant and the nice 3 points procedure (Origin, then X positive direction, then Y positive direction).
Is there anyone who knows how to do this, or that can point me towards a resource to implement this? I am unsure if it will be possible, but we seem to have a couple of matrix tools (SVD etc.) available now so it could be?
Tagged:
0
Best Answer
-
Check out DefFrame-----------------
David
Swedish freelance ABB robot programmer0
Answers
-
You sir saved me hours of unnecessary headache Thanks!!1
-
YourWorkobject := DefFrame (p1, p2, p3);
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings