07-22-2024, 08:10 AM
I am trying to connect a Unity application with RoboDK using the C# API.
I saw that there are two versions of the RoboDK C# API available. The nuget version, which installs the API via RoboDKApi.dll file and the single file version, which installs the API via a file called RoboDK.cs. I tried installing both versions in my Unity project individually, but I have different problems with both of them.
I read that the single file RoboDK.cs version was outdated and it is recommendet to use the nuget version instead. The problem here ist that the nuget version is not available for .NET Standard, which I would need for a Unity Project. Trying to install the available .NET 6 .NET Core 3.1 and .NET Framework 4.5 versions didn`t work, which is because of compatibility issues I think.
Therefore I tried to use the single file version which I could install in the Unity Project. On the RoboDK GitHub website for the C# API it states that the naming for the single file version is Python-based and links to the documentation https://robodk.com/doc/en/PythonAPI/robo...obolink-py . However I noticed some inconsistencies. For example the documentation includes the functions Pose_2_TxyzRxyz() and TxyzRxyz_2_Pose() which the RoboDK.cs doesnt include. Another example is that RoboDK.cs includes the getItem() function which I cant find in the documentation. These are just examples, the documentation doesnt quite match in general.
Is there a nuget version available with .NET Standard?
Is there a documentation which matches the single file RoboDK.cs API?
I saw that there are two versions of the RoboDK C# API available. The nuget version, which installs the API via RoboDKApi.dll file and the single file version, which installs the API via a file called RoboDK.cs. I tried installing both versions in my Unity project individually, but I have different problems with both of them.
I read that the single file RoboDK.cs version was outdated and it is recommendet to use the nuget version instead. The problem here ist that the nuget version is not available for .NET Standard, which I would need for a Unity Project. Trying to install the available .NET 6 .NET Core 3.1 and .NET Framework 4.5 versions didn`t work, which is because of compatibility issues I think.
Therefore I tried to use the single file version which I could install in the Unity Project. On the RoboDK GitHub website for the C# API it states that the naming for the single file version is Python-based and links to the documentation https://robodk.com/doc/en/PythonAPI/robo...obolink-py . However I noticed some inconsistencies. For example the documentation includes the functions Pose_2_TxyzRxyz() and TxyzRxyz_2_Pose() which the RoboDK.cs doesnt include. Another example is that RoboDK.cs includes the getItem() function which I cant find in the documentation. These are just examples, the documentation doesnt quite match in general.
Is there a nuget version available with .NET Standard?
Is there a documentation which matches the single file RoboDK.cs API?