visual3d:documentation:modeling:virtual_lab:virtual_lab_direction_of_progression
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:modeling:virtual_lab:virtual_lab_direction_of_progression [2024/06/18 13:29] – sgranger | visual3d:documentation:modeling:virtual_lab:virtual_lab_direction_of_progression [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Virtual Lab Direction of Progression ====== | ||
+ | |||
What if the subject is not walking along the lab axes? What if the subject is walking at a diagonal? | What if the subject is not walking along the lab axes? What if the subject is walking at a diagonal? | ||
Line 5: | Line 7: | ||
If the subject is walking along the principal axes of the lab, a [[Visual3D: | If the subject is walking along the principal axes of the lab, a [[Visual3D: | ||
- | ====== Introduction | + | ===== Introduction ===== |
To calculate the trunk angle relative to the lab, the following steps can be taken: | To calculate the trunk angle relative to the lab, the following steps can be taken: | ||
Line 13: | Line 15: | ||
* Step 3 - Define the trunk angle relative to the virtual lab | * Step 3 - Define the trunk angle relative to the virtual lab | ||
- | ==== Sample Files ==== | + | === Sample Files === |
Each of the following methods can be used with the [[https:// | Each of the following methods can be used with the [[https:// | ||
Line 19: | Line 21: | ||
These methods are also explained in [[https:// | These methods are also explained in [[https:// | ||
- | ==== Metric Direction of Progression | + | === Metric Direction of Progression === |
- | |In each of the following methods, the direction of progression will need to be defined (Step 1). Once the direction of progression has been based off some measure, the user will need to determine what " | + | |In each of the following methods, the direction of progression will need to be defined (Step 1). Once the direction of progression has been based off some measure, the user will need to determine what " |
- | ===== Method 1 ===== | + | ==== Method 1 ==== |
An example script that demonstrates this method can be found [[Visual3D: | An example script that demonstrates this method can be found [[Visual3D: | ||
Line 29: | Line 31: | ||
Please review the [[https:// | Please review the [[https:// | ||
- | ==== Step 1: Direction of Progression | + | === Step 1: Direction of Progression === |
- Find the rotation between the lab and the trunk segment (Trunk_Rot) | - Find the rotation between the lab and the trunk segment (Trunk_Rot) | ||
Line 38: | Line 40: | ||
- Calculate the [[# | - Calculate the [[# | ||
- | ==== Step 2: Define the Virtual Lab ==== | + | === Step 2: Define the Virtual Lab === |
- Create the virtual lab using X Unit Vector metric of the direction of progression | - Create the virtual lab using X Unit Vector metric of the direction of progression | ||
- | ==== Step 3: Define the trunk angle relative to the virtual lab ==== | + | === Step 3: Define the trunk angle relative to the virtual lab === |
Using Model Compute Model Based Data, calculate the Joint_Angle between the Trunk and Virtual Lab segments. | Using Model Compute Model Based Data, calculate the Joint_Angle between the Trunk and Virtual Lab segments. | ||
- | ===== Method 2 ===== | + | ==== Method 2 ==== |
An example script that demonstrates this method can be found [[Visual3D: | An example script that demonstrates this method can be found [[Visual3D: | ||
Line 52: | Line 54: | ||
Please review the [[https:// | Please review the [[https:// | ||
- | ==== Step 1: Direction of Progression | + | === Step 1: Direction of Progression === |
- | |- Get the initial position of the origin of the pelvis (RPVo)\\ \\ - Create this as a time based signal\\ - Create a vector from the origin of the pelvis that offset in the -Y direction of the lab (-Y)\\ - Project the pelvis origin onto the floor (DOP)\\ - Calculate the angle between the origin of the pelvis at t=0, the -Y direction of the lab, and the direction of progression (DOP) at each time point in the trial\\ - Calculate the [[# | + | |- Get the initial position of the origin of the pelvis (RPVo)\\ \\ - Create this as a time based signal\\ - Create a vector from the origin of the pelvis that offset in the -Y direction of the lab (-Y)\\ - Project the pelvis origin onto the floor (DOP)\\ - Calculate the angle between the origin of the pelvis at t=0, the -Y direction of the lab, and the direction of progression (DOP) at each time point in the trial\\ - Calculate the [[# |
- | ==== Step 2: Define the Virtual Lab ==== | + | === Step 2: Define the Virtual Lab === |
- Create landmark to define the orientation of the virtual lab (Dir_Prog_X) | - Create landmark to define the orientation of the virtual lab (Dir_Prog_X) | ||
Line 64: | Line 66: | ||
- Create a [[Visual3D: | - Create a [[Visual3D: | ||
- | ==== Step 3: Define the trunk angle relative to the virtual lab ==== | + | === Step 3: Define the trunk angle relative to the virtual lab === |
Using Model Compute Model Based Data, calculate the Joint_Angle between the Trunk and Virtual Lab segments. | Using Model Compute Model Based Data, calculate the Joint_Angle between the Trunk and Virtual Lab segments. | ||
- | ===== Method 3 ===== | + | ==== Method 3 ==== |
An example script that demonstrates this method can be found [[Visual3D: | An example script that demonstrates this method can be found [[Visual3D: | ||
Line 74: | Line 76: | ||
Please review the [[https:// | Please review the [[https:// | ||
- | ==== Step 1: Direction of Progression | + | === Step 1: Direction of Progression === |
- Find the location of the model' | - Find the location of the model' | ||
Line 83: | Line 85: | ||
- There should be no progression in the vertical direction so set Z=0 | - There should be no progression in the vertical direction so set Z=0 | ||
- | ==== Step 2: Define the Virtual Lab ==== | + | === Step 2: Define the Virtual Lab === |
The joint angles will be solved for manually in Step 3, so it is unnecessary to create a virtual lab for this method. | The joint angles will be solved for manually in Step 3, so it is unnecessary to create a virtual lab for this method. | ||
- | ==== Step 3: Define the trunk angle relative to the virtual lab ==== | + | === Step 3: Define the trunk angle relative to the virtual lab === |
- Define rotation from Lab to VLab | - Define rotation from Lab to VLab | ||
Line 101: | Line 103: | ||
- Solve for Theta Z | - Solve for Theta Z | ||
- | ===== Method 4 ===== | + | ==== Method 4 ==== |
This method creates a Virtual Lab segment that follows the general orientation of the Pelvis (or any segment) but keeps the transverse plane parallel to the lab floor. In other word, this method constrains the Virtual Lab to only rotations around the vertical axis based on the Pelvis segment. This method thus allows to compute variables using the instant direction of progression. | This method creates a Virtual Lab segment that follows the general orientation of the Pelvis (or any segment) but keeps the transverse plane parallel to the lab floor. In other word, this method constrains the Virtual Lab to only rotations around the vertical axis based on the Pelvis segment. This method thus allows to compute variables using the instant direction of progression. | ||
- | ==== Create Landmarks | + | === Create Landmarks === |
- | |\\ **1. Create MID_PSIS: | + | |\\ **1. Create MID_PSIS: |
- | |\\ **1. Create RPV_Z_Lab: | + | |\\ **1. Create RPV_Z_Lab: |
- | |\\ **1. Create RPV_Y_Lab: | + | |\\ **1. Create RPV_Y_Lab: |
- | |\\ **1. Create RPV_Y:**\\ \\ < | + | |\\ **1. Create RPV_Y:**\\ \\ < |
- | |\\ **1. Create RPV_Y_PROJ: | + | |\\ **1. Create RPV_Y_PROJ: |
- | |\\ **1. Create RPV_Y_Fixed: | + | |\\ **1. Create RPV_Y_Fixed: |
- | ==== Create Virtual Lab Segment | + | === Create Virtual Lab Segment === |
To create the Virtual Laboratory segment, switch to the **Segment** Tab in model builder mode. | To create the Virtual Laboratory segment, switch to the **Segment** Tab in model builder mode. | ||
- | |**1. Create the Virtual Lab Segment: | + | |**1. Create the Virtual Lab Segment: |
- | |4. In the **Virtual Lab** tab, enter these values:\\ \\ | **Define Proximal Joint and Radius**\\ \\ **Lateral: | + | |4. In the **Virtual Lab** tab, enter these values:\\ \\ | **Define Proximal Joint and Radius**\\ \\ **Lateral: |
\\ | \\ |
visual3d/documentation/modeling/virtual_lab/virtual_lab_direction_of_progression.1718717379.txt.gz · Last modified: 2024/06/18 13:29 by sgranger