|
iCub-main
|
Go to the source code of this file.
Functions | |
| function | show_eyes_axes (Tl, Tr) figure('color' |
| view (3) | |
| Tl0 (1, 4) | |
| Tr0 (1, 4) | |
| show_eye (Tl0 *eye(4, 4), Tl0 *Tl) | |
| show_eye (Tr0 *eye(4, 4), Tr0 *Tr) | |
| function | show_eye (To, Tn) scale=0.005 |
| quiver3 (p(1), p(2), p(3), p(1)+x(1), p(2)+x(2), p(3)+x(3), scale, 'r--', 'linewidth', 2.0) | |
| quiver3 (p(1), p(2), p(3), p(1)+y(1), p(2)+y(2), p(3)+y(3), scale, 'g--', 'linewidth', 2.0) | |
| quiver3 (p(1), p(2), p(3), p(1)+z(1), p(2)+z(2), p(3)+z(3), scale, 'b--', 'linewidth', 2.0) | |
| quiver3 (p(1), p(2), p(3), p(1)+x(1), p(2)+x(2), p(3)+x(3), scale, 'r', 'linewidth', 2.0) | |
| quiver3 (p(1), p(2), p(3), p(1)+y(1), p(2)+y(2), p(3)+y(3), scale, 'g', 'linewidth', 2.0) | |
| quiver3 (p(1), p(2), p(3), p(1)+z(1), p(2)+z(2), p(3)+z(3), scale, 'b', 'linewidth', 2.0) | |
Variables | |
| function | white |
| grid | on |
| Tl0 =eye(4,4) | |
| Tr0 =eye(4,4) | |
| old axes | x =To(1:3,1) |
| y =To(1:3,2) | |
| z =To(1:3,3) | |
| p =To(1:3,4) | |
| axis | equal |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+x(1) | , | ||
| p(2)+x(2) | , | ||
| p(3)+x(3) | , | ||
| scale | , | ||
| 'r' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+x(1) | , | ||
| p(2)+x(2) | , | ||
| p(3)+x(3) | , | ||
| scale | , | ||
| 'r--' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+y(1) | , | ||
| p(2)+y(2) | , | ||
| p(3)+y(3) | , | ||
| scale | , | ||
| 'g' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+y(1) | , | ||
| p(2)+y(2) | , | ||
| p(3)+y(3) | , | ||
| scale | , | ||
| 'g--' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+z(1) | , | ||
| p(2)+z(2) | , | ||
| p(3)+z(3) | , | ||
| scale | , | ||
| 'b' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
| quiver3 | ( | p(1) | , |
| p(2) | , | ||
| p(3) | , | ||
| p(1)+z(1) | , | ||
| p(2)+z(2) | , | ||
| p(3)+z(3) | , | ||
| scale | , | ||
| 'b--' | , | ||
| 'linewidth' | , | ||
| 2. | 0 | ||
| ) |
|
pure virtual |
| function show_eyes_axes | ( | Tl | , |
| Tr | |||
| ) |
| Tl0 | ( | 1 | , |
| 4 | |||
| ) |
| Tr0 | ( | 1 | , |
| 4 | |||
| ) |
| view | ( | 3 | ) |
| axis equal |
Definition at line 39 of file show_eyes_axes.m.
| hold on |
Definition at line 5 of file show_eyes_axes.m.
| p =To(1:3,4) |
Definition at line 23 of file show_eyes_axes.m.
| Tl0 =eye(4,4) |
Definition at line 8 of file show_eyes_axes.m.
| Tr0 =eye(4,4) |
Definition at line 9 of file show_eyes_axes.m.
| function white |
Definition at line 3 of file show_eyes_axes.m.
| new axes x =To(1:3,1) |
Definition at line 20 of file show_eyes_axes.m.
| y =To(1:3,2) |
Definition at line 21 of file show_eyes_axes.m.
| z =To(1:3,3) |
Definition at line 22 of file show_eyes_axes.m.