visual3d:documentation:pipeline:plugins:optotrak
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:plugins:optotrak [2024/06/19 12:52] – sgranger | visual3d:documentation:pipeline:plugins:optotrak [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{{{{{{{{{\\ | + | ====== Optotrak ====== |
+ | |||
+ | \\ | ||
- | ===== import_optotrak_files ===== | + | ==== Import_Optotrak_Files |
- | this plugin imports the motion capture data (c# file) and one of the 2 types of analog data (o1#, v1#) files. | + | This plugin imports the motion capture data (C# file) and one of the 2 types of analog data (O1#, V1#) files. |
\\ | \\ | ||
- | |**import_optotrak_files** |the name of the c# file containing the motion capture data. if left blank, a dialog box appears to browse for the selected file.| | + | |**Import_Optotrak_Files** |The name of the C# file containing the motion capture data. If left blank, a dialog box appears to browse for the selected file.| |
- | |**/file_name=** |the type of analog | + | |**/File_Name=** |The type of Analog |
- | |**/analog_file_character=**|the name of the converted file. if left blank the resulting c3d file will contain the same prefix as the original file. | | + | |**/Analog_File_Character=**|The name of the converted file. If left blank the resulting c3d file will contain the same prefix as the original file. | |
- | |**/converted_file_name=** |specifies | + | |**/Converted_File_Name=** |Specifies |
- | |**/point_label=** | | | + | |**/Point_Label=** | | |
- | |**/analog_label=** |specifies | + | |**/Analog_Label=** |Specifies |
- | |**/analog_offset=** |specifies | + | |**/Analog_Offset=** |Specifies |
- | |**/analog_scale=** |specifies | + | |**/Analog_Scale=** |Specifies |
- | |**/ndo_filename=** |specifies | + | |**/NDO_Filename=** |Specifies |
- | ===== importing | + | ==== Importing |
- | importing | + | Importing |
- | **import_optotrak_files** | + | **Import_Optotrak_Files** |
- | **/file_name=** | + | **/File_Name=** |
- | **/analog_file_character=** | + | **/Analog_File_Character=** |
\\ | \\ | ||
- | download | + | Download |
- | launch visual3d, select the command pipeline dialog, and add the "import_optotrak_files" to the pipeline | + | Launch Visual3D, select the command pipeline dialog, and add the "Import_Optotrak_Files" to the Pipeline |
- | optotrak1.gif\\ | + | {{:optotrak1.gif}}\\ |
- | edit the command and change the analog | + | Edit the command and change the ANALOG |
- | **visual3d | + | **Visual3D |
- | optotrak2.gif\\ | + | {{:optotrak2.gif}}\\ |
- | execute | + | Execute |
- | optotrak3.gif\\ | + | {{:optotrak3.gif}}\\ |
- | a dialog will appear prompting you for the c# file. by default | + | A dialog will appear prompting you for the C# file. By default |
- | optotrak4.gif\\ | + | {{:optotrak4.gif}}\\ |
- | the resulting c3d file will be loaded into the visual3d workspace | + | The resulting c3d file will be loaded into the Visual3D Workspace |
- | ===== the default scale factors for the analog data ===== | + | ==== The default scale factors for the ANALOG Data ==== |
- | for ndi' | + | For NDI' |
- | prior to december | + | Prior to December |
- | for example, **analog:scale** for scaling | + | For example, **ANALOG:SCALE** for scaling |
- | analogscalefactor.gif\\ | + | {{: |
- | analog12bit.gif\\ | + | {{:analog12bit.gif}}\\ |
- | analog16bit.gif\\ | + | {{:analog16bit.gif}}\\ |
- | the scaling | + | The Scaling |
- | analogscale.gif\\ | + | {{: |
- | this customer had 16 bit analog | + | This customer had 16 bit ANALOG |
**0.007629395** | **0.007629395** | ||
- | using this value makes sense for this customer. | + | Using this value makes sense for this customer. |
- | **if, however, a customer elects to use the default scale factor (e.g. by not entering the scale factors) the resulting scale is probably wrong.** | + | **If, however, a customer elects to use the default scale factor (e.g. by not entering the scale factors) the resulting scale is probably wrong.** |
- | therefore, on december | + | Therefore, on December |
- | * for the v1# files to 1 | + | * for the V1# files to 1 |
- | * for the o1# files to 0.000305175. | + | * for the O1# files to 0.000305175. |
- | ===== frequently asked questions ===== | + | ==== Frequently Asked Questions |
- | ==== file extensions | + | === File extensions === |
- | importing optotrak | + | Importing OptoTrak |
- | there isn't actually a restriction on the extensions. | + | There isn't actually a restriction on the extensions. |
- | note that if your file extensions are different between subjects, but the prefix to the files names is the same (e.g. trial1.f01, trial1.f02) you will need to make sure that data from different subjects is saved to different folders because the import command strips off the extension and replaces it with .c3d. | + | Note that if your file extensions are different between subjects, but the prefix to the files names is the same (e.g. trial1.f01, trial1.f02) you will need to make sure that data from different subjects is saved to different folders because the import command strips off the extension and replaces it with .c3d. |
- | ==== file size ==== | + | === File Size === |
- | i can import my shorter optotrak files (collected for 10s at 100hz for optotrak). however, the larger trials (collected for 50s at 100hz for optotrak) the program either crashes or comes up with an error. | + | I can import my shorter optotrak files (collected for 10s at 100Hz for Optotrak). However, the larger trials (collected for 50s at 100Hz for Optotrak) the program either crashes or comes up with an error. |
- | the c3d file format has a limit of 32k frames of data because the point:frames | + | The C3D File format has a limit of 32K frames of data because the POINT:FRAMES |
- | in visual3d beta version 3.0 we modified the c3d reader to accept a new parameter | + | In Visual3D Beta version 3.0 we modified the C3D reader to accept a new parameter |
\\ | \\ | ||
- | **point:long_frames** the parameter is a float that contains the number of frames. | + | **POINT:LONG_FRAMES** The parameter is a FLOAT that contains the number of frames. |
+ | |||
+ | === Changing the default TARGET names. === | ||
- | ==== changing the default target | + | The C# and V# files created by Northern Digital software do not contain |
- | the c# and v# files created by northern digital software do not contain names for the signals | + | Signal information is usually |
- | signal information is usually stored in the .ndo file. for example, a typical .ndo file should contain lines similar to the following. | + | [Marker 1] |
- | [marker | + | MarkerName=3020_Strober_Adapter_M001\\ |
+ | FOR=-1\\ | ||
+ | Visible=TRUE\\ | ||
+ | RawView=0 | ||
- | markername=3020_strober_adapter_m001\\ | + | The .ndo file can be modified by the user without disturbing the Toolbench software. The following modification to this section will cause Visual3D to use the MarkerLabel parameter to name the signal in the c3d file during the import of the data. |
- | for=-1\\ | + | |
- | visible=true\\ | + | |
- | rawview=0 | + | |
- | the .ndo file can be modified by the user without disturbing the toolbench software. the following modification to this section will cause visual3d to use the markerlabel parameter to name the signal in the c3d file during the import of the data. | + | [Marker 1] |
- | [marker | + | MarkerName=3020_Strober_Adapter_M001\\ |
+ | MarkerLabel=R.THIGH1\\ | ||
+ | FOR=-1\\ | ||
+ | Visible=TRUE\\ | ||
+ | RawView=0 | ||
- | markername=3020_strober_adapter_m001\\ | + | A typical Visual3D optotrak import command would look like the following: |
- | markerlabel=r.thigh1\\ | + | |
- | for=-1\\ | + | |
- | visible=true\\ | + | |
- | rawview=0 | + | |
- | a typical visual3d optotrak import command would look like the following: | + | **Import_Optotrak_Files**\\ |
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
- | **import_optotrak_files**\\ | + | This command will prompt the user for the C# files, will use the default parameters, and will use the optotrak.ndo file for specifying the signal names. |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | / | + | |
- | this command will prompt | + | **Note that the full filename (including path) for the .ndo file must be used.** |
- | **note that the full filename (including path) for the .ndo file must be used.** | ||
- | }}}}}}}}}}}}}}}} |
visual3d/documentation/pipeline/plugins/optotrak.1718801557.txt.gz · Last modified: 2024/06/19 12:52 by sgranger