A gun has four poses as show above, Is there a way to apply one of these poses to the gun?
Thanks in advance for any reply.
Go to Solution.
The following code is used to apply poses to a robot, but I checked that TxGun objects have the same methods required:
TxPose homePose = robot.GetPoseByName("HOME");
ITxDevice robotDevice = robot as ITxDevice;
robotDevice.CurrentPose = homePose.PoseData;
Can you check if it works for you?
Thanks @FredCastro, you solution works very well.
Watch Replays of Previous Topics