![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
Get wobjdata in PC SDK
![howtodo](https://secure.gravatar.com/avatar/20e9bf32a8c1ba6816f54508fbea6feb/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
howtodo
✭
hi:
If I have this data :
TASK PERS wobjdata wobj1:=[FALSE,TRUE," ",[[0,0,0],[1,0,0,0]],[[0,0,0],[1,0,0,0]]];
How can I get the data ,such as q1 or x of wobj1 by PC SDK?? Can you give me a simple example?
Thank you!
If I have this data :
TASK PERS wobjdata wobj1:=[FALSE,TRUE," ",[[0,0,0],[1,0,0,0]],[[0,0,0],[1,0,0,0]]];
How can I get the data ,such as q1 or x of wobj1 by PC SDK?? Can you give me a simple example?
Thank you!
![image](/smileys/smiley17.gif)
0
Comments
-
WobjData wobj = new WobjData();
RapidData rd=this.controller.Rapid.GetRapidData("T_ROB1", "MainModule", "wobj1");
wobj = (ABB.Robotics.Controllers.RapidDomain.WobjData)rd.Value;
float posX=wobj.Uframe.Trans.X;
double orientQ1 = wobj.Uframe.Rot.Q1;Lennart H0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings