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
Copy file name to clipboardExpand all lines: src/prpy/tsr/README.md
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This directory contains the python interfaces necessary to specify Task Space Re
4
4
Manipulation Planning" by Dmitry Berenson, Siddhartha Srinivasa, and James Kuffner. A copy of this publication can be downloaded [here](https://www.ri.cmu.edu/pub_files/2011/10/dmitry_ijrr10-1.pdf).
5
5
6
6
## TSR Overview
7
-
A TSR is typically used to defined a constraint on the pose of the end-effector of a manipulator. For example consider a manipulator tasked with grabbing a bottle. The end-effector (hand) must be near the bottle, and oriented in a way that allows the fingers to grab around the bottle when closed. This set of workspace constraints on valid poses of the end-effector can be expressed as a TSR.
7
+
A TSR is typically used to defined a constraint on the pose of the end-effector of a manipulator. For example consider a manipulator tasked with grabbing a glass. The end-effector (hand) must be near the glass, and oriented in a way that allows the fingers to grab around the glass when closed. This set of workspace constraints on valid poses of the end-effector can be expressed as a TSR.
8
8
9
9
A TSR is defined by three components:
10
10
* T0_w - A transform from the world origin to the TSR frame w
@@ -13,7 +13,20 @@ A TSR is defined by three components:
13
13
14
14
The first three rows of Bw bound the allowable translation along the x,y and z axes (in meters). The last three rows bound the allowable rotation about those axes (in radians), all in w frame. Note that this asumed Roll-Pitch-Yaw (RPY) Euler angle convention.
15
15
16
-
## Example Usage
16
+
###Example definition
17
17
Lets return to our previous example of selecting a pose for the end-effector to allow a manipulator to grasp a bottle. The following code shows the python commands that allow the TSR to be defined:
18
+
```python
19
+
ipython> bottle = env.GetKinBody('fuze')
20
+
ipython> T0_w = bottle.GetTransform() # We use the bottle's coordinate frame as the w frame
0 commit comments