Skip to content

Commit 417ad2d

Browse files
committed
Update README.md
1 parent cf450e1 commit 417ad2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/prpy/tsr/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ Lets return to our previous example of selecting a pose for the end-effector to
1818
```python
1919
ipython> bottle = env.GetKinBody('fuze')
2020
ipython> T0_w = bottle.GetTransform() # We use the bottle's coordinate frame as the w frame
21+
# Now define Tw_e to represent the pose of the end-effector relative to the glass
2122
ipython> Tw_e = numpy.array([[ 0., 0., 1., -total_offset],
2223
[1., 0., 0., 0.],
2324
[0., 1., 0., 0.08], # glass height
24-
[0., 0., 0., 1.]]) # This represents the pose of the end-effector relative to the glass
25+
[0., 0., 0., 1.]])
2526
ipython> Bw = numpy.zeros((6,2))
2627
ipython> Bw[2,:] = [0.0, 0.02] # Allow a little vertical movement
2728
ipython> Bw[5,:] = [-numpy.pi, numpy.pi] # Allow any orientation about the z-axis of the bottle

0 commit comments

Comments
 (0)