visual3d:documentation:pipeline:expressions:assigned_force_functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:expressions:assigned_force_functions [2024/06/19 12:49] – sgranger | visual3d:documentation:pipeline:expressions:assigned_force_functions [2024/09/11 17:22] (current) – Cleaned up formatting. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | the model based items [[visual3d: | + | ====== Assigned Force Functions ====== |
- | this is because these signals have the option to be resolved into a segment coordinate system and all segment coordinate systems (except the default lab) are at the motion capture rate. | + | |
- | there are times, however, when it would be useful to get the force, cofp, and freemoment for the [[visual3d: | + | |
- | ===== forces | + | |
- | **force**(segment) | + | The model-based items [[Visual3D: |
- | select the force assigned to the left foot segment ([[visual3d: | + | ==== Forces ==== |
- | **evaluate_expression** | + | Syntax: |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
- | **;** | + | |
- | \\ | + | |
+ | Example: Select the force assigned to the Left Foot segment (whose [[Visual3D: | ||
- | ===== center of pressure ===== | + | < |
+ | Evaluate_Expression | ||
+ | /EXPRESSION=FORCE(" | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | **cofp**(segment) | + | ==== Center of Pressure ==== |
- | select the center of pressure assigned to the left foot segment | + | Syntax: **COFP**(segment) |
- | **evaluate_expression** | + | Example: Select the center of pressure assigned to the Left Foot segment |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
- | **;** | + | |
- | ===== free moment ===== | + | |
- | **freemoment**(segment) | + | < |
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | select the free moment assigned to the left foot segment ([[visual3d: | + | ==== Free Moment ==== |
- | **evaluate_expression** | + | Syntax: |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
- | **;** | + | |
- | \\ | + | |
+ | Example: Select the Free Moment assigned to the Left Foot segment (whose [[Visual3D: | ||
- | ===== error messages ===== | + | < |
+ | Evaluate_Expression | ||
+ | /EXPRESSION=FREEMOMENT(" | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | **error messages** | + | ==== Error Messages ==== |
- | there are several possible error messages related to the assigned forces function. | + | There are several possible error messages related to the Assigned Forces expressions. |
- | **evaluate_expression** | + | === Segment Name must be Quoted === |
- | /expression=force(junk) | + | < |
- | /result_type=derived | + | Evaluate_Expression |
- | /result_folder=processed | + | /EXPRESSION=FORCE(JUNK) |
- | /result_name=test | + | /RESULT_TYPE=DERIVED |
- | **;** | + | /RESULT_FOLDER=PROCESSED |
- | **warning! no segment name was specified. | + | /RESULT_NAME=TEST |
- | in order to ensure that a string containing the segment name is recognized quotes must be used. | + | ; |
- | **evaluate_expression** | + | |
- | /expression=cofp("junk") | + | WARNING! No Segment Name was specified. |
- | /result_type=derived | + | </ |
- | /result_folder=processed | + | |
- | /result_name=test | + | In order to ensure that a string containing the segment name is recognized quotes must be used. |
- | **;** | + | |
- | **info! segment junk was not found** | + | === Segment Not in Link Model === |
- | the segment | + | < |
- | **evaluate_expression** | + | Evaluate_Expression |
- | /expression=cofp("right foot") | + | /EXPRESSION=COFP("JUNK") |
- | /result_type=derived | + | /RESULT_TYPE=DERIVED |
- | /result_folder=processed | + | /RESULT_FOLDER=PROCESSED |
- | /result_name=test | + | /RESULT_NAME=TEST |
- | **;** | + | ; |
- | **warning! evaluate_expression | + | |
- | visual3d | + | INFO! Segment Junk was not found |
- | expressions can be shared between users that have different config files. | + | </ |
- | **evaluate_expression** | + | |
- | /expression=cofp("right fore foot") | + | The segment |
- | /result_type=derived | + | |
- | /result_folder=processed | + | === Use Default Segment Names === |
- | /result_name=test | + | < |
- | **;** | + | Evaluate_Expression |
- | **info! segment right fore foot is kinematic only, so there is no force assignment | + | /EXPRESSION=COFP("Right Foot") |
- | only kinetic segments can be assigned a force. | + | /RESULT_TYPE=DERIVED |
+ | /RESULT_FOLDER=PROCESSED | ||
+ | /RESULT_NAME=TEST | ||
+ | ; | ||
+ | |||
+ | WARNING! Evaluate_Expression | ||
+ | </ | ||
+ | |||
+ | Visual3D | ||
+ | |||
+ | === Can't Use Kinematic Only Segments === | ||
+ | < | ||
+ | Evaluate_Expression | ||
+ | /EXPRESSION=COFP("Right Fore Foot") | ||
+ | /RESULT_TYPE=DERIVED | ||
+ | /RESULT_FOLDER=PROCESSED | ||
+ | /RESULT_NAME=TEST | ||
+ | ; | ||
+ | |||
+ | INFO! Segment Right Fore Foot is Kinematic Only, so there is no Force Assignment | ||
+ | </ | ||
+ | |||
+ | Only kinetic segments can be assigned a force. | ||
visual3d/documentation/pipeline/expressions/assigned_force_functions.1718801392.txt.gz · Last modified: 2024/06/19 12:49 by sgranger