MechanicalUnitGetPosition Method (CoordinateSystemType) |
Gets the robtarget position of the mechanical unit.
Namespace:
ABB.Robotics.Controllers.MotionDomain
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax Exceptions Remarks Only supported by mechanical unit type TCPRobot. External axes values are not valid.
Examples This example gets the current position of the active mechanical unit.
Controller c = new Controller();
MotionSystem motion = c.MotionSystem;
MechanicalUnit mech = motion.GetActiveMechanicalUnit();
RobTarget robP;
robP = mech.GetPosition(CoordinateSystemType.Base);
See Also