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.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings