VrepClient.forward_kinematics

VrepClient.forward_kinematics(robot)[source]

Calculates forward kinematics to get the current end-effector pose.

Parameters

robot (compas_fab.robots.Robot) – Robot instance.

Examples

>>> from compas_fab.robots import *
>>> with VrepClient() as client:
...     frame = client.forward_kinematics(rfl.Robot('A'))
Returns

An instance of Frame.