Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
I have a question about quaternion
Hello,
I need the formula to convert quaternions to RPY angles.
I have convert add-in, but I have to know the formula.
I read the RAPID manual and found the formula to convert
rotational matrix to quaternions.
Comments
-
Hello Sungwoo,
I don't have the formula myself and the guy who did the converter is not in ABB anymore but RPY angles are called "euler" so if you do an internet search on
"quaternions to euler"
then you'll find a lot of links looking into the problem.
http://www.google.se/search?hl=sv&q=%22quaternions+to+euler%22&btnG=S%C3%B6k&meta=In RAPID to convert to and back you use these two functions which you will find described in the RAPID manual:
OrientZYX
EulerZYXIf you are using the VBA in RS then you can add a reference to "ABB RobotStudio Math Utility 1.0" in which you will find both conversions and a lot more about playing around with matrixes.
I hope that this will help you.

Best regards
John Wiberg
John
Developer Center0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
