Click or drag to resize

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
C#
public JointTarget GetPosition()

Return Value

Type: JointTarget
The 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();
// Do something
See Also