Get wobjdata in PC SDK
Options
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!
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.4K RobotStudio
- 381 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 280 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 737 RAPID Programming
- 16 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings