Files
ui/Assets/Module/AngleChangeModel.cs
2026-01-07 23:54:53 -05:00

19 lines
413 B
C#

using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class ServoCommand
{
public string ModuleId;
public string Type = "Servo";
public float TargetAngle;
}
[System.Serializable]
public class DCCommand
{
public string ModuleId;
public string Type = "DC";
public float RotateByDegrees;
public string Direction; // "Clockwise" or "CounterClockwise"
}