This commit is contained in:
chi
2025-06-23 17:38:24 +09:00
parent 3fcbbfe354
commit ba18564719
5 changed files with 253 additions and 444 deletions

View File

@@ -57,10 +57,11 @@ namespace Project
VAR.BOOL[eVarBool.AGV_ERROR] = PUB.AGV.error.Value > 0;
VAR.BOOL[eVarBool.EMERGENCY] = PUB.AGV.error.Emergency;
//모터방향 입력
if (PUB.AGV.data.Direction == 'B')
PUB.mapctl.agv.CurrentDirection = AGVControl.Models.Direction.Backward;
PUB.mapctl.agv.CurrentMOTDirection = AGVControl.Models.Direction.Backward;
else
PUB.mapctl.agv.CurrentDirection = AGVControl.Models.Direction.Forward;
PUB.mapctl.agv.CurrentMOTDirection = AGVControl.Models.Direction.Forward;
if (PUB.AGV.signal.mark_sensor == false)
{