orient algebra
Laro88
✭
How do I combine orients in Rapid?
I am wondering if code like this is working in Rapid...
(definitions)
orient orient_offset;
tooldata tOrig;
tooldata tRapProgram;
(code snippet)
tRapProgram := tOrig;
tRapProgram.tframe.rot := tRapProgram.tframe.rot * orient_offset;
Since rot and orient are both quaternions...
I am wondering if code like this is working in Rapid...
(definitions)
orient orient_offset;
tooldata tOrig;
tooldata tRapProgram;
(code snippet)
tRapProgram := tOrig;
tRapProgram.tframe.rot := tRapProgram.tframe.rot * orient_offset;
Since rot and orient are both quaternions...
0
Comments
-
HiThe syntax itself will work as you wrote, but I'm not sure if the result is what you want. In calculations like these I've used pose-functions like PoseMult. Your example might give the same results, but I haven't tested it...-Osku0
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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings