3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
107 stars 71 forks source link

Which files (*.conf) will be used when execute "VoxelViewer.exe"? #10

Closed Yorkland closed 9 years ago

Yorkland commented 9 years ago

We can see many .conf under the following directory, ..\Program Files\Texas Instruments\Voxel Viewer-0.3.9\VoxelViewer\VoxelCommon\conf Form the file name, we can see some file is set for "Long Range", some one is for "Short Range"... If my NB connects a Tintin, and I resume VoxelViewer.exe, which file (.conf) will be used as default? Or where to set to make a file as the default setting?

gadiyar commented 9 years ago

VoxelSDK (and the VoxelViewer program which uses VoxelSDK) use configuration files for each board. For each board, there is a first-level configuration file - 'HaddockCDKCamera.conf', 'TintinCDKCamera.conf', 'Voxel14Camera.conf', and 'VoxelDCamera.conf'.

In each first-level configuration file, we list the different profiles for that board, and the default profile. Each profile is stored in its own configuration file. For example, see TintinCDKCamera.conf, the profile configuration files are 'TintinCDKCameraShortRange', 'TintinCDKCameraLongRange.conf' and 'TintinCDKCameraNoCalibration.conf', and the default profile is set to 'Short Range'. You can change the default profile by editing the first-level configuration file for the board.

See: https://github.com/3dtof/voxelsdk/blob/master/TI3DToF/boards/TintinCDK/TintinCDKCamera.conf

Yorkland commented 9 years ago

I got the rule. Thanks.