visual3d:documentation:pipeline:force_commands:modify_force_platform_parameters
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:modify_force_platform_parameters [2024/06/19 12:50] – sgranger | visual3d:documentation:pipeline:force_commands:modify_force_platform_parameters [2024/09/10 20:39] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{a common challenge for a manufacturer creating c3d formatted datafiles is the declaration of the force platform properties in the parameter section of the file. these parameters specify how the analog signals stored in the c3d file should be transformed into the grf, cofp, and freemoment signals that you see in visual3d. the following minimal set of force platform parameters is assumed to exist in the c3d file. | + | ====== Modify Force Platform Parameters ====== |
- | parameters: | + | A common challenge |
- | used= number of force platforms used | + | |
- | type= types of force platforms (1=default, 2= amti, | + | |
- | zero= the range of frames | + | |
- | channel= an array containing | + | |
- | origin= | + | |
- | corners= the (x,y,z) coordinates | + | |
- | there are several minor inconsistencies | + | |
- | ===== modify_force_platform_parameters command | + | < |
+ | PARAMETERS: | ||
+ | USED= number of force platforms used | ||
+ | TYPE= types of force platforms (1=default, 2= AMTI, | ||
+ | ZERO= the range of frames for which a background noise level is calculated and then subtracted from each of the analog channels | ||
+ | CHANNEL= an array containing the ANALOG channels associated with the force platform | ||
+ | ORIGIN= The origin of the force platform in the force platform coordinate system (see the force platform manufacturer specifications. | ||
+ | CORNERS= The (x,y,z) coordinates of the force platform corners in the laboratory coordinate system. Note that there is a [[visual3d: | ||
+ | There are several minor inconsistencies in the way that manufacturers create C3D files. Visual3D currently uses script commands to " | ||
+ | </ | ||
+ | ==== Modify_Force_Platform_Parameters Command | ||
- | **modify_force_platform_parameters** | + | < |
- | ! /[[visual3d:documentation:pipeline:force_commands:fp_used|fp_used]]= | + | Modify_Force_Platform_Parameters |
- | ! /[[visual3d:documentation:pipeline:force_commands:fp_type|fp_type]]= | + | ! /[[Visual3D:Documentation:Pipeline:Force_Commands:FP_USED|FP_USED]]= |
- | ! /fp_channel= | + | ! /[[Visual3D:Documentation:Pipeline:Force_Commands:FP_TYPE|FP_TYPE]]= |
- | ! /fp_origin= | + | ! /FP_CHANNEL= |
- | ! /fp_calmatrix= | + | ! /FP_ORIGIN= |
- | ! /store_calmatrix=byrow | + | ! /FP_CALMATRIX= |
- | ! /[[visual3d:documentation:pipeline:force_commands:fp_zero|fp_zero]]= | + | ! /STORE_CALMATRIX=BYROW |
- | ! /[[visual3d:documentation:pipeline:force_commands:fp_zeros|fp_zeros]]= | + | ! /[[Visual3D:Documentation:Pipeline:Force_Commands:FP_ZERO|FP_ZERO]]= |
- | ! /fp_corner1= | + | ! /[[Visual3D:Documentation:Pipeline:Force_Commands:FP_ZEROS|FP_ZEROS]]= |
- | ! /fp_corner2= | + | ! /FP_CORNER1= |
- | ! /fp_corner3= | + | ! /FP_CORNER2= |
- | ! /fp_corner4= | + | ! /FP_CORNER3= |
- | ! /fp_cop_polynomial= | + | ! /FP_CORNER4= |
- | ! /fp_cop_translation= | + | ! /FP_COP_POLYNOMIAL= |
- | ! /fp_cop_rotation= | + | ! /FP_COP_TRANSLATION= |
- | /[[visual3d: | + | ! /FP_COP_ROTATION= |
- | ! /modify_cal_file=false | + | /Update_C3D_File=FALSE |
- | **;** | + | ! /MODIFY_CAL_FILE=FALSE |
- | note that fp_used refers to the number of platforms in the c3d file. | + | ; |
+ | </ | ||
- | ==== modify a subset | + | Note that FP_Used refers to the number |
- | note that it is possible to modify | + | === Modify |
- | **modify_force_platform_parameters** | + | Note that it is possible to modify |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | ==== modify | + | |
- | if all trials start with the force platform loaded, but end the file with the force platform unloaded, you can specify the last 10 frames of data as follows: | + | < |
+ | Modify_Force_Platform_Parameters | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | === Modify FPZero using EndOfFile === | ||
- | **modify_force_platform_parameters** | + | If all trials start with the force platform loaded, but end the file with the force platform unloaded, you can specify the last 10 frames of data as follows: |
- | /fp_used=2 | + | < |
- | /fp_zero=eof-10+eof | + | Modify_Force_Platform_Parameters |
- | /fp_zeros=eof-10+eof+eof-10+eof | + | /FP_USED=2 |
- | **;** | + | /FP_ZERO=EOF-10+EOF |
- | where eof refers to the last frame of data (e.g. **e**nd **o**f **f**ile) | + | /FP_ZEROS=EOF-10+EOF+EOF-10+EOF |
+ | ; | ||
+ | </ | ||
+ | where EOF refers to the last frame of data (e.g. **E**nd **O**f **F**ile) | ||
- | ==== original | + | === ORIGINAL |
- | many users have commented that modifying the force platform parameters doesn' | + | Many users have commented that modifying the force platform parameters doesn' |
- | modifying | + | Modifying |
- | [[visual3d:documentation:visual3d_signal_types:used_process#why_filter_the_analog_vs_force_data|however, we do not recommend filtering the force/cofp/freemoment | + | [[Visual3D:Documentation:Visual3D_Signal_Types:Used_Process#Why_filter_the_ANALOG_vs_Force_Data|However, we do NOT recommend filtering the Force/COFP/Freemoment |
- | ===== modify_force_platform_parameters command dialog ===== | + | ==== Modify_Force_Platform_Parameters Command Dialog |
- | it is also possible to modify force platform parameters via the graphical interface' | + | It is also possible to modify force platform parameters via the graphical interface' |
+ | |||
+ | {{: | ||
- | amti4.png | ||
- | }} |
visual3d/documentation/pipeline/force_commands/modify_force_platform_parameters.1718801454.txt.gz · Last modified: 2024/06/19 12:50 by sgranger