visual3d:documentation:pipeline:force_commands:fp_corners
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:force_commands:fp_corners [2024/07/03 17:28] – removed sgranger | visual3d:documentation:pipeline:force_commands:fp_corners [2025/01/16 18:26] (current) – Clean up page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== FP CORNERS ===== | ||
+ | This page provides an overview of the [[visual3d: | ||
+ | |||
+ | The force platform' | ||
+ | - (+x,+y) | ||
+ | - (-x, +y) | ||
+ | - (-x, -y) | ||
+ | - ( +x, -y). | ||
+ | |||
+ | Visual3D uses these force platform corners to calculate the transformation matrix from the force platform' | ||
+ | |||
+ | The Force Platform corners can be modified using the [[Visual3D: | ||
+ | |||
+ | ==== Transforming the Ground Reaction Force into the Laboratory Coordinate System ==== | ||
+ | |||
+ | The following pseudo-code describes the algorithm for computing the transformation from the Force Platform Coordinate System (FPCS) to the Laboratory Coordinate System (LCS) | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | Rotation Matrix - FPCS to LCS | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | location of top center of force platform in LCS | ||
+ | platform_top_center_lcs= average(corner1, | ||
+ | |||
+ | vector from plate origin to top center relative to lab | ||
+ | Rotate_to_Lab(forceplatform_origin) | ||
+ | |||
+ | vector from LCS origin to platform origin | ||
+ | platform_origin_lcs= platform_top_center_lcs- vector from plate origin to top center | ||
+ | </ | ||
+ | |||
+ | ==== Example 1: Use average marker locations to define force platform corners ==== | ||
+ | |||
+ | Consider the following markers to be placed on the corners of a force platform. | ||
+ | * FP1_1 | ||
+ | * FP1_2 | ||
+ | * FP1_3 | ||
+ | * FP1_4 | ||
+ | |||
+ | Capture a short trial of these markers and create the following pipeline: | ||
+ | |||
+ | < | ||
+ | !First define the marker radius as a pipeline parameter | ||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Compute the median value of the corners over all frames of the trial. | ||
+ | ! the result will be placed in the Global Workspace | ||
+ | Metric_Median | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! If the force platform parameters have already been defined, we only need to modify the corners. | ||
+ | ! Note that the markers are in meters, but the following command requires millimeters | ||
+ | Modify_Force_Platform_Parameters | ||
+ | /FP_USED=1 | ||
+ | / | ||
+ | +1000*GLOBAL:: | ||
+ | +1000*(GLOBAL:: | ||
+ | / | ||
+ | +1000*GLOBAL:: | ||
+ | +1000*(GLOBAL:: | ||
+ | / | ||
+ | +1000*GLOBAL:: | ||
+ | +1000*(GLOBAL:: | ||
+ | / | ||
+ | +1000*GLOBAL:: | ||
+ | +1000*(GLOBAL:: | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Example 2: Modify force platform corners directly ==== | ||
+ | |||
+ | This example is possible in **Visual3D Version 5 or later**. | ||
+ | |||
+ | Consider the following markers to be placed on the corners of a force platform in the standing trial: | ||
+ | * FP1_1 | ||
+ | * FP1_2 | ||
+ | * FP1_3 | ||
+ | * FP1_4 | ||
+ | |||
+ | Given MARKER_RADIUS is a [[visual3d: | ||
+ | |||
+ | < | ||
+ | ! If the force platform parameters have already been defined, we only need to modify the corners. | ||
+ | ! Note that the markers are in meters, but the following command requires millimeters | ||
+ | Modify_Force_Platform_Parameters | ||
+ | /FP_USED=1 | ||
+ | / | ||
+ | +1000*MODEL:: | ||
+ | +1000*(MODEL:: | ||
+ | / | ||
+ | +1000*MODEL:: | ||
+ | +1000*(MODEL:: | ||
+ | / | ||
+ | +1000*MODEL:: | ||
+ | +1000*(MODEL:: | ||
+ | / | ||
+ | +1000*MODEL:: | ||
+ | +1000*(MODEL:: | ||
+ | ; | ||
+ | </ |
visual3d/documentation/pipeline/force_commands/fp_corners.1720027723.txt.gz · Last modified: 2024/07/03 17:28 by sgranger