visual3d:documentation:kinematics_and_kinetics:external_forces:modifying_c3d_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:kinematics_and_kinetics:external_forces:modifying_c3d_parameters [2024/06/26 20:03] – removed sgranger | visual3d:documentation:kinematics_and_kinetics:external_forces:modifying_c3d_parameters [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Modifying C3D Parameters ====== | ||
+ | |||
+ | C3D parameters can be modified in Visual3D in the File menu commands or via the Pipeline commands. | ||
+ | |||
+ | ==== Modify Force Platform parameters ==== | ||
+ | |||
+ | 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. | ||
+ | |||
+ | There are also several minor inconsistencies in the way that manufacturers create the C3D files. Visual3D currently uses script commands to " | ||
+ | |||
+ | The following minimal set of force platform parameters is assumed to exist in the C3D File. | ||
+ | |||
+ | **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 specific ordering of the four corners. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This dialog is used to modify the force platform parameters (under the file menu in Visual3D) that specify how the ANALOG signals stored in the data file are to be transformed into the GRFORCE, COFP, and FREEMOMENT signals. **Note:** the number of places that you can go wrong. | ||
+ | |||
+ | ==== Modify_Point_Parameters Pipeline Command ==== | ||
+ | |||
+ | The command **Modify_Point_Parameters** will modify the POINT LABELS (e.g. Marker Names) in the C3D file. The LABELS listed will be applied to the POINT parameters in the order listed in the C3D file. If fewer LABELS are specified in the command than exist in the C3D file, then only the number of LABELS specified will be modified. The command is below: | ||
+ | |||
+ | Modify_Point_Parameters | ||
+ | ! / | ||
+ | ! / | ||
+ | **Note:** If the parameter **/ | ||
+ | |||
+ | For example, the following command will modify the first 5 Point labels (eg. rename them): | ||
+ | |||
+ | < | ||
+ | Modify_Point_Parameters | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Modify_Analog_Parameters Pipeline Command ==== | ||
+ | |||
+ | This command can be used to change a selection of the ANALOG parameters in a C3D file. There must be the same number of values in the LABELS, SCALE, and OFFSET entries. The command will modify the parameters in order. For example, if two entries are specified, the first two entries in the ANALOG parameters will be modified; the remaining parameters will remain the same. | ||
+ | |||
+ | |**Modify_Analog_Parameters** | ||
+ | |/ | ||
+ | |/ | ||
+ | |/ | ||
+ | |/ | ||
+ | |/ | ||
+ | |/ | ||
+ | |/ | ||
+ | |**; | ||
+ | |||
+ | **Note:** If **UPDATE_C3D_FILE=TRUE** the C3D file on disk will be modified automatically. If FALSE only the current workspace is modified, not the file on disk. | ||
+ | |||
+ | If the **Analog_Scale** or **Analog_Labels** parameter have fewer entries in the command than signals in the file, only the number parameters specified will be processed. //In the order that the signals appear in the C3D PARAMETERS section of the file// | ||
+ | |||
+ | For example, if only one **Analog_Labels** parameter is specified in the command, only the first **Analog_Label** will be modified. | ||
+ | |||
+ | The example below will modify the SCALE to 1.0 for the first 5 Analog Signals and automatically save the file to disk. No other Analog parameters will be modified. | ||
+ | |||
+ | < | ||
+ | Modify_Analog_Parameters | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The **/ | ||
+ | |||
+ | < | ||
+ | Modify_Analog_Parameters | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Common ANALOG Parameters === | ||
+ | |||
+ | Common parameters that Visual3D expects to be in the ANALOG Section of the C3D File. | ||
+ | |||
+ | |**GEN_SCALE** | ||
+ | |**RATE** | ||
+ | |**SCALE** | ||
+ | |**OFFSET** | ||
+ | |**USED** | ||
+ | |**LABELS** | ||
+ | |**DESCRIPTIONS**|The Descriptions of the ANALOG data signals. This information is rarely used by Visual3D. | ||
+ | |**FORMAT** | ||
+ | |**UNITS** | ||
+ | |**BASELINES** | ||
+ | |||
+ | \\ | ||
+ | Other Parameters will be read by Visual3D but only in special circumstances will they be used. | ||
+ | |||
+ | The **BASELINES** parameter was introduced by C-Motion to accommodate Real-time streaming data. For streaming data there is no frame number from which to define a range for the ZERO parameter. This doesn' | ||
+ | |||
+ | In Visual3D streaming there is a button to starting the ZERO range. In order to replicate the data for post-processing these baselines need to be saved with the C3D file and the ZERO parameter set to 0,0. | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | [[Visual3D: | ||
+ | |||
+ | |||
visual3d/documentation/kinematics_and_kinetics/external_forces/modifying_c3d_parameters.1719432230.txt.gz · Last modified: 2024/06/26 20:03 by sgranger