visual3d:documentation:pipeline:model_based_data_commands:angular_momentum_pt
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:angular_momentum_pt [2024/06/26 20:06] – removed sgranger | visual3d:documentation:pipeline:model_based_data_commands:angular_momentum_pt [2026/06/02 14:14] (current) – ↷ Links adapted because of a move operation 172.204.27.30 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Angular Momentum about a Point ====== | ||
| + | |||
| + | This example demonstrates how to calculate the angular momentum of a [[visual3d: | ||
| + | |||
| + | **Note**: It is very important to note that the total body angular momentum is not calculated by summing the [[visual3d: | ||
| + | |||
| + | ===== Calculating Angular Momentum ===== | ||
| + | |||
| + | Visual3D' | ||
| + | |||
| + | ==== About a Segment' | ||
| + | |||
| + | A segment' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | where | ||
| + | |||
| + | < | ||
| + | I = Moment of Inertia | ||
| + | w = Angular velocity | ||
| + | </ | ||
| + | |||
| + | ==== About Total Body Center of Mass ==== | ||
| + | |||
| + | A segment' | ||
| + | |||
| + | |{{: | ||
| + | |||
| + | where | ||
| + | |||
| + | < | ||
| + | Iw = angular momentum of the segment | ||
| + | r = distance from the segment' | ||
| + | m = mass of the segment | ||
| + | v = translational velocity | ||
| + | </ | ||
| + | |||
| + | **NOTE:** In this case angular momentum for the whole body about the total body center of mass is simply the summation of the angular momentum of **each** segment about the total body center of mass. | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | This example script demonstrates how to calculate a segment' | ||
| + | - Compute //r// | ||
| + | - Compute //mv// | ||
| + | - Compute //r// x //mv// | ||
| + | - Compute the angular momentum of the segment using the [[visual3d: | ||
| + | - Compute //Iw// x (//r// x //mv//) | ||
| + | |||
| + | ==== Files ==== | ||
| + | |||
| + | This script and sample CMO files can be downloaded [[https:// | ||
| + | |||
| + | ==== Script ==== | ||
| + | |||
| + | < | ||
| + | First_Derivative | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Nested Loops | ||
| + | ! Outer Loop gets an active segment | ||
| + | For_Each | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! compute the r for (r x mv) | ||
| + | Evaluate_Expression | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! compute mv | ||
| + | Evaluate_Expression | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! compute r x mv | ||
| + | Evaluate_Expression | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! compute Iw | ||
| + | Compute_Model_Based_Data | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! /AXIS1=X | ||
| + | ! /AXIS2=Y | ||
| + | ! /AXIS3=Z | ||
| + | ; | ||
| + | |||
| + | ! compute Iw x (r x mv) | ||
| + | Evaluate_Expression | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | End_For_Each | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | The script: | ||
| + | - calculates the angular momentum **for each of the listed segments** (RFT+RSK+RTH+LFT+LSK+LTH+RPV). If the user would like to calculate the **total body angular momentum about the model center of mass**, the resulting signals from the last Evaluate Expression command for all segments should be summed together. If you would like to calculate the total body angular momentum, you can use the [[Visual3D: | ||
| + | - computes the angular momentum about the total body centre of mass, if the user would like to calculate angular momentum about a different point then they simply need to specify the desired signal in place of " | ||
visual3d/documentation/pipeline/model_based_data_commands/angular_momentum_pt.1719432374.txt.gz · Last modified: by sgranger
