User Tools

Site Tools


visual3d:documentation:pipeline:model_based_data_commands:joint_rotation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:model_based_data_commands:joint_rotation [2024/07/17 15:23] sgrangervisual3d:documentation:pipeline:model_based_data_commands:joint_rotation [2024/10/08 19:11] (current) – Revised text. wikisysop
Line 1: Line 1:
-====== Joint Rotation ======+===== Joint Rotation =====
  
-||+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 joint angle can be represented as a 3x3 rotation matrix that describes the transformation between two coordinate systems.+To express the right knee angle as a rotation matrix, choose the Right Shank as your segment and the Right Thigh as your reference segment.
  
-A Model based item describing the knee angle as a rotation matrix is:+{{:joint_rotation_3by3_dialog.png}}
  
-{{:JointRotationDlg.jpg}}+==== Item Format ====
  
-**Compute_Model_Based_Data** +The command will return 9 columns of data for each point in time with each column representing a position in the 3x3 matrix:
-/RESULT_NAME=RKNEE_ANGLE +
-/FUNCTION=JOINT_ROTATION +
-/SEGMENT=RSK +
-/REFERENCE_SEGMENT=RTH +
-/RESOLUTION_COORDINATE_SYSTEM= +
-! /USE_CARDAN_SEQUENCE=FALSE +
-! /NORMALIZATION=FALSE +
-! /NORMALIZATION_METHOD= +
-! /NORMALIZATION_METRIC= +
-! /NEGATEX=FALSE +
-! /NEGATEY=FALSE +
-! /NEGATEZ=FALSE +
-! /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}} {{:JointRotationMatrix.png}}
Line 32: Line 15:
 **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. **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:documentation:pipeline:model_based_data_commands:joint_angle|JOINT_ANGLE]]), helical angles ([[visual3d:documentation:pipeline:model_based_data_commands:helical_angle|HELICAL_ANGLE]]), or with a 4x4 rotation matrix ([[visual3d:documentation:pipeline:model_based_data_commands:joint_rot4x4|JOINT_ROT4X4]]). Or return to [[visual3d:documentation:visual3d_signal_types:link_model_based_data_type|LINK_MODEL_BASED items]].
visual3d/documentation/pipeline/model_based_data_commands/joint_rotation.1721229798.txt.gz · Last modified: 2024/07/17 15:23 by sgranger