
Getting the location of a frame relative to another frame
Im using the below line to get the XYZ of a frame relative to a frame called "Datum". The values i am getting in Y and Z are very different to what i am expecting. Can someone enlighten me as to why my Y and Z values are so different?
The values im getting


The values im expecting


Vector3 x = rotatedFrame.Transform.GetRelativeTransform(datumFrame.Transform).Translation;
The values im getting

The values im expecting

Tagged:
0
Comments
-
Robot studio was reporting to significant figures, to get the values expected I needed to use Math.Round0
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