visual3d:documentation:pipeline:model_based_data_commands:joint_rotation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:model_based_data_commands:joint_rotation [2024/06/19 14:01] – created sgranger | visual3d:documentation:pipeline:model_based_data_commands:joint_rotation [2024/10/08 19:11] (current) – Revised text. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | || | + | ===== Joint Rotation ===== |
- | A joint angle can be represented as a 3x3 rotation matrix that describes the transformation between two coordinate systems. | + | A joint angle can be represented as a 3x3 rotation matrix that describes the transformation between two coordinate systems. This rotation matrix can be computed and stored as a model-based item. |
- | A Model based item describing | + | To express |
- | {{JointRotationDlg.jpg}} | + | {{: |
- | **Compute_Model_Based_Data** | + | ==== Item Format |
- | / | + | |
- | /FUNCTION=JOINT_ROTATION | + | |
- | /SEGMENT=RSK | + | |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! /AXIS1=X | + | |
- | ! /AXIS2=Y | + | |
- | ! /AXIS3=Z | + | |
- | **;** | + | |
- | The command will return 9 columns of data for each point in time. Each row represents a position in the 3x3 matrix. | + | |
- | {{JointRotationMatrix.png}} | + | The command will return 9 columns of data for each point in time with each column representing a position in the 3x3 matrix: |
- | **NOTE:** If looking at the signal in the Data Viewer, the columns will be numbered 0 through 8. When accessing the columns using the Evaluate_Expression command, the columns can be accessed as 1 through 9. For this reason, the image above shows numbers 1 through 9. It is always important to pay attention when a signal or command is 0 or 1 based. | + | {{:JointRotationMatrix.png}} |
+ | **NOTE:** If looking at the signal in the Data Viewer, the columns will be numbered 0 through 8. When accessing the columns using the Evaluate_Expression command, the columns can be accessed as 1 through 9. For this reason, the image above shows numbers 1 through 9. It is always important to pay attention when a signal or command is 0 or 1 based. | ||
+ | ==== See Also ==== | ||
+ | It is also possible to represent joint angles using Cardan sequences ([[visual3d: |
visual3d/documentation/pipeline/model_based_data_commands/joint_rotation.1718805709.txt.gz · Last modified: 2024/06/19 14:01 by sgranger