VSTA: CollisionDetecetor
apox
✭✭
in RobotStudio
I would like to check the working object:
RsWorkObject rsObj = station.ActiveTask.ActiveWorkObject;
and the working tool:
RsToolData rsTool = station.ActiveTask.ActiveTool;
for collisions using CollisionDetector.CheckCollision(GraphicComponent object1, GraphicComponent object2,...). How do i cast a RsWorkObject/RsToolData to a GraphicComponent?
apox2007-5-18 10:10:20
0
Comments
-
Hi
I'm not sure what you are trying to do.
But it's not possible to do collision detection between two rapid data types.
Collision detection is done between graphical objects which is probaly in your case the graphical tool (not the tooldata) and the part/fixture where you have defined your workobject.
Hope it gave some help to solve your problem
Per Svensson
Robotics and Vision Specialist
Consat Engineering0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings