..
This commit is contained in:
@@ -280,6 +280,7 @@ namespace AGVNavigationCore.Models
|
||||
public bool SetCurrentNodeMarkStop()
|
||||
{
|
||||
if (_currentNode == null) return false;
|
||||
if (_currentPath == null) return false;
|
||||
var 미완료된처음노드 = _currentPath.DetailedPath.Where(t => t.IsPass == false).OrderBy(t => t.seq).FirstOrDefault();
|
||||
if (미완료된처음노드 == null) return false;
|
||||
미완료된처음노드.IsPass = true;
|
||||
|
||||
@@ -1080,9 +1080,9 @@
|
||||
{
|
||||
"Id": "cd9f8434-f223-4532-9b3e-5b44c738abbb",
|
||||
"Type": 3,
|
||||
"Position": "686, 196",
|
||||
"X": 686,
|
||||
"Y": 196,
|
||||
"Position": "694, 224",
|
||||
"X": 694,
|
||||
"Y": 224,
|
||||
"Rotation": 90
|
||||
},
|
||||
{
|
||||
@@ -1130,6 +1130,6 @@
|
||||
"BackgroundColorArgb": -14671840,
|
||||
"ShowGrid": false
|
||||
},
|
||||
"CreatedDate": "2025-12-14T08:13:36.810Z",
|
||||
"CreatedDate": "2025-12-15T12:47:11.915Z",
|
||||
"Version": "1.3"
|
||||
}
|
||||
@@ -94,19 +94,14 @@ namespace Project.Device
|
||||
var cmd = e.ReceivedPacket.Command.ToString("X2");
|
||||
var id = e.ReceivedPacket.ID.ToString("X2");
|
||||
PUB.logxbee.Add("RX", $"{hexstrRaw}\nID:{id},CMD:{cmd},DATA:{hexstr}");
|
||||
|
||||
ProtocReceived?.Invoke(this, e);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void Proto_OnMessage(object sender, EEProtocol.MessageEventArgs e)
|
||||
{
|
||||
MessageReceived?.Invoke(this, new MessageArgs(e.IsError, e.Message));
|
||||
}
|
||||
|
||||
|
||||
private void Xbee_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
|
||||
{
|
||||
var dev = sender as System.IO.Ports.SerialPort;
|
||||
@@ -114,6 +109,7 @@ namespace Project.Device
|
||||
dev.Read(buffer, 0, buffer.Length);
|
||||
proto.ProcessReceivedData(buffer);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 이동완료 신호 전송
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user