ece4560:maniplots
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ece4560:maniplots [2015/02/25 16:05] – pvela | ece4560:maniplots [2024/08/20 21:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| planarRX_display(alphaJoints, | planarRX_display(alphaJoints, | ||
| </ | </ | ||
| - | although the second and third arguments are optional. | + | although the second and third arguments are optional. |
| + | <code matlab> | ||
| + | planarR2_display([pi/ | ||
| + | </ | ||
| + | Note that the argument is a vertical/ | ||
| + | <code matlab> | ||
| + | planarR2_display([pi/ | ||
| + | </ | ||
| + | or | ||
| + | <code matlab> | ||
| + | planarR2_display([pi/ | ||
| + | </ | ||
| + | Suppose that you had run '' | ||
| <code matlab> | <code matlab> | ||
| nframes = 100; | nframes = 100; | ||
| tvect = linspace(ti, | tvect = linspace(ti, | ||
| for tT = tvect | for tT = tvect | ||
| - | alphaT = interp1(tsol, | + | alphaT = transpose(interp1(tsol, |
| planarRX_display(alphaT, | planarRX_display(alphaT, | ||
| end | end | ||
| Line 35: | Line 47: | ||
| ------------------ | ------------------ | ||
| - | The simplest manipulator to be used in the lab portion of the course is called **piktul** as named by the student who helped me design it. It is a basic instantiation of a SCARA manipulator; | + | The simplest manipulator to be used in the lab portion of the course is called **piktul** as named by the student who helped me design it. It is a basic instantiation of a SCARA manipulator; |
| - | {{ECE4560:piktul_displaySim.zip|Matlab | + | The display function requires the SE3 class file to have been minimally coded in order to work. Minimal coding means the times, mtimes, leftact, and inv member functions. |
| + | <code matlab> | ||
| + | piktul_display(alphaJoints); | ||
| + | </ | ||
| + | Functional code is: | ||
| + | <code matlab> | ||
| + | piktul_display([1.25; | ||
| + | </ | ||
| + | which sets the height to 1.25, the revolute joints to (25, -35, 80), and the gripper to be 0.75 inches open. The piktul manipulator should be displayed with that joint configuration. | ||
| + | |||
| + | Matlab code: {{ECE4560:piktul_display.m| display}} | ||
| ===== Lynx6 ===== | ===== Lynx6 ===== | ||
| ----------------- | ----------------- | ||
| - | The slightly more fully functional manipulator to be used in the course is called the **Lynx 6** manipulator made by [[http:// | + | The slightly more fully functional manipulator to be used in the course is called the **Lynx 6** manipulator made by [[http:// |
| + | <code matlab> | ||
| + | lynx6_display([10; | ||
| + | </ | ||
| + | The joint vector should be a column-vector and the revolute angles should be in degrees. | ||
| + | |||
| + | Matlab code: {{ECE4560: | ||
| + | |||
| + | ===== Elbow 6R ===== | ||
| + | ----------------- | ||
| + | |||
| + | The 6R elbow manipulator (6R means 6 revolute joints) is a kinematically sufficient manipulator for SE(3). | ||
| + | It is one of the most common designs found in industry (at least when working with kinematically sufficient manipulators). | ||
| + | |||
| + | <code matlab> | ||
| + | elbow6R_display([10; | ||
| + | </ | ||
| + | The joint vector should be a column-vector and the revolute angles should be in degrees. | ||
| + | Matlab code: {{ECE4560: | ||
| --------- | --------- | ||
| ;#; | ;#; | ||
| - | [[: | Main ]] | + | [[ECE4560: |
| ;#; | ;#; | ||
ece4560/maniplots.1424898329.txt.gz · Last modified: 2024/08/20 21:38 (external edit)
