
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
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings