..
This commit is contained in:
@@ -39,6 +39,9 @@ namespace Project
|
||||
bool _charging = false;
|
||||
private void AGV_DataReceive(object sender, arDev.Narumi.DataEventArgs e)
|
||||
{
|
||||
if (PUB.mapctl != null)
|
||||
PUB.mapctl.PredictNextAction();
|
||||
|
||||
switch (e.DataType)
|
||||
{
|
||||
case arDev.Narumi.DataType.STS:
|
||||
@@ -54,7 +57,7 @@ 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')
|
||||
if (PUB.AGV.data.Direction == 'B')
|
||||
PUB.mapctl.agv.CurrentDirection = AGVControl.Models.Direction.Backward;
|
||||
else
|
||||
PUB.mapctl.agv.CurrentDirection = AGVControl.Models.Direction.Forward;
|
||||
@@ -170,7 +173,7 @@ namespace Project
|
||||
else
|
||||
{
|
||||
//위치는 찾았다 해당 위치가 내 목적지라면 mark stop기능으로 전환한다
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user