최종우치에. 이전노드정보와 다음 시작 노드 정보를 모두 추가함.

최초 실행시 선택하는 위치 다이얼로그 제거 후 바로 자동 로딩하도록 함
This commit is contained in:
backuppc
2026-02-03 17:15:15 +09:00
parent b25be68986
commit e35dee853f
6 changed files with 164 additions and 70 deletions

View File

@@ -210,6 +210,14 @@ namespace Project
return;
}
//s/w턴이 걸려있다면 이동 불가로한다.(버퍼 작업중이다)
if(PUB._virtualAGV.Turn != AGVTurn.None)
{
SetRunStepError(ENIGProtocol.AGVErrorCode.BUFFER_NOT_COMPLETE, $"[{logPrefix}-Goto] 버퍼작업이 완료되지 않았습니다");
return;
}
//목적지
PUB._virtualAGV.TargetNode = targetNode;
if (targetNode == null)
@@ -233,6 +241,7 @@ namespace Project
PUB.sm.ResetRunStepSeq();
}
PUB.SaveLastPosition();
//Move to
PUB.log.Add($"[{logPrefix}-{cmd}] {startNode.RfidId} -> {targetNode.RfidId}");