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 [2025/12/03 20:14] – Cleaned up page. wikisysop | 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 3: | Line 3: | ||
| This example demonstrates how to calculate the angular momentum of a [[visual3d: | 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:Documentation:Pipeline:Model_Based_Data_Commands:ANGULAR_MOMENTUM|ANGULAR_MOMENTUM]] for each segment because this model-based item represents the angular momentum of each segment about its [[visual3d: | + | **Note**: It is very important to note that the total body angular momentum is not calculated by summing the [[visual3d:documentation:visual3d_signal_types:link_model_based_data_type:angular_momentum|ANGULAR_MOMENTUM]] for each segment because this model-based item represents the angular momentum of each segment about its [[visual3d: |
| ===== Calculating Angular Momentum ===== | ===== Calculating Angular Momentum ===== | ||
| - | Visual3D' | + | Visual3D' |
| ==== About a Segment' | ==== About a Segment' | ||
| Line 41: | Line 41: | ||
| ===== Example ===== | ===== Example ===== | ||
| - | This example script demonstrates how to calculate a segment' | + | This example script demonstrates how to calculate a segment' |
| - Compute //r// | - Compute //r// | ||
| - Compute //mv// | - Compute //mv// | ||
| - Compute //r// x //mv// | - Compute //r// x //mv// | ||
| - | - Compute the angular momentum of the segment using the [[Visual3D:Documentation:Pipeline:Model_Based_Data_Commands:ANGULAR_MOMENTUM|Angular Momentum]] command | + | - Compute the angular momentum of the segment using the [[visual3d:documentation:visual3d_signal_types:link_model_based_data_type:angular_momentum|Angular Momentum]] command |
| - Compute //Iw// x (//r// x //mv//) | - Compute //Iw// x (//r// x //mv//) | ||
| Line 65: | Line 65: | ||
| ; | ; | ||
| + | ! Nested Loops | ||
| + | ! Outer Loop gets an active segment | ||
| For_Each | For_Each | ||
| / | / | ||
| Line 70: | Line 72: | ||
| ; | ; | ||
| - | ! compute the R for (r x mv) | + | ! compute the r for (r x mv) |
| Evaluate_Expression | Evaluate_Expression | ||
| - | / | + | / |
| - | (Kinetic_Kinematic::&:: | + | |
| - | (Kinetic_Kinematic::&:: | + | |
| / | / | ||
| ! / | ! / | ||
| Line 82: | Line 82: | ||
| ! compute mv | ! compute mv | ||
| Evaluate_Expression | Evaluate_Expression | ||
| - | / | + | / |
| / | / | ||
| ! / | ! / | ||
| Line 88: | Line 88: | ||
| ; | ; | ||
| - | ! compute | + | ! compute |
| Evaluate_Expression | Evaluate_Expression | ||
| / | / | ||
| Line 96: | Line 96: | ||
| ; | ; | ||
| + | ! compute Iw | ||
| Compute_Model_Based_Data | Compute_Model_Based_Data | ||
| / | / | ||
| Line 114: | Line 115: | ||
| ; | ; | ||
| - | ! compute Iw x rxmv | + | ! compute Iw x (r x mv) |
| Evaluate_Expression | Evaluate_Expression | ||
| / | / | ||
| Line 121: | Line 122: | ||
| / | / | ||
| ; | ; | ||
| - | |||
| End_For_Each | End_For_Each | ||
| / | / | ||
visual3d/documentation/pipeline/model_based_data_commands/angular_momentum_pt.1764792895.txt.gz · Last modified: by wikisysop
