mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-12 23:48:55 +00:00
Added new UI for the Temporal Sync Feature, made the software more robust including:
-Settings window can only be opened once
-When the client can't open a device, it tries multiple times
-Recording bins are now saved with a unique ID per device, to allow multiple clients to record on the same PC
-Synchronized & Unsynchronized devices can be both used in one server
-Included a workaround for a bug in the Azure Kinect SDK regarding exposure (microsoft/Azure-Kinect-Sensor-SDK#1378)
This commit is contained in:
@@ -42,7 +42,11 @@ namespace KinectServer
|
||||
public bool bMergeScansForSave = true;
|
||||
public bool bSaveAsBinaryPLY = true;
|
||||
|
||||
public bool bEnableSync = false;
|
||||
public bool bSyncEnabled = false;
|
||||
|
||||
public bool bAutoExposureEnabled = true;
|
||||
|
||||
public int nExposureStep = -8;
|
||||
|
||||
public KinectSettings()
|
||||
{
|
||||
@@ -102,6 +106,14 @@ namespace KinectServer
|
||||
bTemp = BitConverter.GetBytes(iCompressionLevel);
|
||||
lData.AddRange(bTemp);
|
||||
|
||||
if (bAutoExposureEnabled)
|
||||
lData.Add(1);
|
||||
else
|
||||
lData.Add(0);
|
||||
|
||||
bTemp = BitConverter.GetBytes(nExposureStep);
|
||||
lData.AddRange(bTemp);
|
||||
|
||||
return lData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user