You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single TSR, or finite set of TSRs, is sometimes insufficient to capture pose ocnstraints of a given task. To describe more complex constraints, such as closed-chain kinematics, we can use a TSR Chain. Consider the example of opening a refrigerator door while allowing the manipulator to rotate around the handle. Here, the constraint on the motion of the hand is defined by the product of two constraints. The first constraint describes valid locations of the handle, which all lie on the arc defined by the position of the handle relative to the door hinge. The second constraint defines the position of the robot end-effector relative to the handle. Each of these constraints can be defined by a single TSR. In order to specify the full constraint on the hand motion, we link the TSRs in a TSR Chain.
53
+
54
+
### Example: Defining a TSR Chain
55
+
In the following code snippet, we show how to define a TSR Chain for the example of opening the refrigerator door, allowing the robot's hand to rotate around the door handle.
56
+
57
+
First we define the TSR that constrains the pose of the handle
58
+
```python
59
+
ipython> T0_w = hinge_pose # hinge_pose is a 4x4 matrix defining the pose of the hinge in world frame
60
+
# Now define Tw_e as the pose of the handle relative to the hinge
61
+
ipython> Tw_e = numpy.eye() # Same orientation as the hinge frame
62
+
ipython> Tw_e[0,3] =0.4# The handle is offset 40cm from the hinge along the x-axis of the hinge-frame
63
+
ipython> Bw = numpy.zeros((6,2)) # Assume the handle is fixed
0 commit comments