MechanicalUnitGetPosition Method |
Gets the joint target 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 public JointTarget GetPosition()
Return Value
Type:
JointTargetThe position of the mechanical unit as a
JointTarget.
Examples This example gets the current joint target position of the active mechanical unit.
Controller c = new Controller();
MotionSystem motion = c.MotionSystem;
MechanicalUnit mech = motion.GetActiveMechanicalUnit();
JointTarget robTgt;
robTgt = mech.GetPosition();
See Also