aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
authorMichael Turvey <mwturvey@users.noreply.github.com>2017-12-22 23:14:16 -0700
committerGitHub <noreply@github.com>2017-12-22 23:14:16 -0700
commit6ebd39ca34351f6ac1df1d1f1c3a518784dd18e4 (patch)
tree32620cbf5b9bbc3476af6fbdc018f82946b4629d /src/survive_cal.c
parent13643f388307aae29f17f3efb518034b005c9bd0 (diff)
parent283a395d8d63e4532173f9497f2ea8cd154a4758 (diff)
downloadlibsurvive-6ebd39ca34351f6ac1df1d1f1c3a518784dd18e4.tar.gz
libsurvive-6ebd39ca34351f6ac1df1d1f1c3a518784dd18e4.tar.bz2
Merge pull request #85 from mwturvey/SaveCalibrationOutput
Configuration Changes
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index 0dbadd3..87d8c0b 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -124,8 +124,11 @@ void survive_cal_install( struct SurviveContext * ctx )
cd->numPoseObjects = 0;
- const char * RequiredTrackersForCal = config_read_str( ctx->global_config_values, "RequiredTrackersForCal", "HMD,WM0,WM1" );
- const uint32_t AllowAllTrackersForCal = config_read_uint32( ctx->global_config_values, "AllowAllTrackersForCal", 0 );
+ // setting the required trackers for calibration to be permissive to make it easier for a newbie to start--
+ // basically, libsurvive will detect whatever they have plugged in and start using that.
+// const char * RequiredTrackersForCal = config_read_str(ctx->global_config_values, "RequiredTrackersForCal", "HMD,WM0,WM1");
+ const char * RequiredTrackersForCal = config_read_str(ctx->global_config_values, "RequiredTrackersForCal", "");
+ const uint32_t AllowAllTrackersForCal = config_read_uint32( ctx->global_config_values, "AllowAllTrackersForCal", 1 );
size_t requiredTrackersFound = 0;
for (int j=0; j < ctx->objs_ct; j++)
@@ -169,7 +172,8 @@ void survive_cal_install( struct SurviveContext * ctx )
}
const char * DriverName;
- const char * PreferredPoser = config_read_str( ctx->global_config_values, "ConfigPoser", "PoserCharlesSlow" );
+// const char * PreferredPoser = config_read_str(ctx->global_config_values, "ConfigPoser", "PoserCharlesSlow");
+ const char * PreferredPoser = config_read_str(ctx->global_config_values, "ConfigPoser", "PoserTurveyTori");
PoserCB PreferredPoserCB = 0;
const char * FirstPoser = 0;
printf( "Available posers:\n" );