Skip to content
Permalink
Browse files

Rename camera type Kinect4Azure to AzureKinect +semver: breaking (#223)

  • Loading branch information...
sisiplac authored and f00f committed Oct 16, 2019
1 parent f806cc3 commit bd8293d3ddc1fd759cc47c627329ea49fd732d07
@@ -11,7 +11,7 @@

namespace MetriCam2.Cameras
{
public class Kinect4Azure : Camera, IDisposable
public class AzureKinect : Camera, IDisposable
{
private Device _device = null;
private Capture _capture = null;
@@ -184,7 +184,7 @@ public override Icon CameraIcon
}
#endif

public Kinect4Azure() : base("Azure Kinect")
public AzureKinect() : base("Azure Kinect")
{
enableImplicitThreadSafety = true;
}
File renamed without changes.
File renamed without changes.
@@ -91,7 +91,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Pico", "BetaCameras\Pico\Pi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sick.VisionaryT.Pro", "BetaCameras\Sick.VisionaryT.Pro\Sick.VisionaryT.Pro.csproj", "{D01829D2-B553-4C4B-B392-2437E6A130B5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kinect4Azure", "BetaCameras\Kinect4Azure\Kinect4Azure.csproj", "{9A292249-66EE-4C9C-A6B7-DD5112E3625F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AzureKinect", "BetaCameras\AzureKinect\AzureKinect.csproj", "{9A292249-66EE-4C9C-A6B7-DD5112E3625F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -9,7 +9,7 @@
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\BetaCameras\Kinect4Azure\Kinect4Azure.csproj" />
<ProjectReference Include="..\..\BetaCameras\AzureKinect\AzureKinect.csproj" />
<ProjectReference Include="..\..\MetriCam2\MetriCam2.csproj" />
</ItemGroup>
<ItemGroup>
@@ -22,11 +22,11 @@ static void Main(string[] args)
Console.WriteLine("Get MetriCam 2 at http://www.metricam.net/");
Console.WriteLine("------------------------------------------");

Kinect4Azure camera1 = new Kinect4Azure();
AzureKinect camera1 = new AzureKinect();
//camera1.SerialNumber = "000067192412";
camera1.Connect();

Kinect4Azure camera2 = new Kinect4Azure();
AzureKinect camera2 = new AzureKinect();
//camera2.SerialNumber = "000049192312";
camera2.Connect();

Some generated files are not rendered by default. Learn more.

@@ -3,10 +3,10 @@
<Profiles />
<Settings>
<Setting Name="CameraDLLPath" Type="System.String" Scope="User">
<Value Profile="(Default)">MetriCam2.Cameras.Kinect4Azure.dll</Value>
<Value Profile="(Default)">MetriCam2.Cameras.AzureKinect.dll</Value>
</Setting>
<Setting Name="CameraName" Type="System.String" Scope="User">
<Value Profile="(Default)">MetriCam2.Cameras.Kinect4Azure</Value>
<Value Profile="(Default)">MetriCam2.Cameras.AzureKinect</Value>
</Setting>
<Setting Name="ChannelName" Type="System.String" Scope="User">
<Value Profile="(Default)">Distance</Value>
@@ -51,7 +51,7 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BetaCameras\Kinect4Azure\Kinect4Azure.csproj" />
<ProjectReference Include="..\..\BetaCameras\AzureKinect\AzureKinect.csproj" />
<ProjectReference Include="..\..\MetriCam2\MetriCam2.csproj" />
<ProjectReference Include="..\..\MetriCam2.Controls\MetriCam2.Controls.csproj" />
</ItemGroup>
@@ -8,16 +8,16 @@
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup><userSettings>
<MetriCam2.Samples.SimpleViewer.Properties.Settings>
<setting name="CameraDLLPath" serializeAs="String">
<value>MetriCam2.Cameras.Kinect4Azure.dll</value>
<value>MetriCam2.Cameras.AzureKinect.dll</value>
</setting>
<setting name="CameraName" serializeAs="String">
<value>MetriCam2.Cameras.Kinect4Azure</value>
<value>MetriCam2.Cameras.AzureKinect</value>
</setting>
<setting name="ChannelName" serializeAs="String">
<value>Distance</value>
</setting>
<setting name="PreConnectParameters" serializeAs="String">
<value/>
<value />
</setting>
<setting name="MinDepthToDisplay" serializeAs="String">
<value>0</value>

0 comments on commit bd8293d

Please sign in to comment.
You can’t perform that action at this time.