Forum Migration Notice
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 90 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 857 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings