mirror of
https://github.com/BotChain-Robots/ui.git
synced 2026-07-08 15:07:22 +02:00
Pipeline saving and View popup window added
Made-with: Cursor
This commit is contained in:
@@ -45,9 +45,11 @@ public abstract class ModuleBase : MonoBehaviour
|
||||
}
|
||||
try
|
||||
{
|
||||
if (0 != ControlLibrary.send_angle_control(Int32.Parse(moduleID), angleRounded))
|
||||
int result = ControlLibrary.send_angle_control(Int32.Parse(moduleID), angleRounded);
|
||||
Debug.Log($"[ControlLibrary] send_angle_control(moduleId={moduleID}, angle={angleRounded}) returned {result}");
|
||||
if (result != 0)
|
||||
{
|
||||
Debug.Log("Control library exited with error");
|
||||
Debug.LogWarning($"[ControlLibrary] send_angle_control returned error code: {result}");
|
||||
}
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
|
||||
Reference in New Issue
Block a user