Compare commits
2 Commits
44de774d4e
...
dev_Chen
Author | SHA1 | Date | |
---|---|---|---|
326c3c3f5d | |||
b970db3b6b |
@ -1043,8 +1043,8 @@ namespace HisenceYoloDetection
|
||||
// var resultMap = GetResultImage(resultMask, detectionResultShapes);
|
||||
}
|
||||
#endregion
|
||||
int YPos = 8715;
|
||||
int ZPos = 25000;
|
||||
int YPos = 14957;
|
||||
int ZPos = 4382;
|
||||
bool StopM = false;//<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>źŵ<C5BA>
|
||||
/// <summary>
|
||||
/// <20><><EFBFBD><EFBFBD>ϴ<EFBFBD>»<EFBFBD>544<34>Ƿ<C7B7><F1B4A5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䴫<EFBFBD><E4B4AB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
@ -1105,7 +1105,7 @@ namespace HisenceYoloDetection
|
||||
|
||||
myLog("<22><>һ<EFBFBD>βɼ<CEB2>ͼ<EFBFBD><CDBC>", DateTime.Now);
|
||||
//<2F>ƶ<EFBFBD>ģ<EFBFBD><C4A3> <20><><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD>ĵ<EFBFBD>ַ <20><><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>ǰ<EFBFBD>ƶ<EFBFBD>
|
||||
MoveToP(5815, YPos, ZPos);
|
||||
MoveToP(7948, YPos, ZPos);
|
||||
// Thread.Sleep(2000);//ɾ
|
||||
|
||||
|
||||
@ -1125,7 +1125,7 @@ namespace HisenceYoloDetection
|
||||
double dismove = disreal - 876;
|
||||
if (dismove > 0 && dismove < 4000)
|
||||
{
|
||||
MoveToP(5815, YPos, ZPos + (int)(dismove));
|
||||
MoveToP(7948, YPos, ZPos + (int)(dismove));
|
||||
}
|
||||
//Thread.Sleep(2000);//ɾ
|
||||
// Thread.Sleep(500);
|
||||
@ -1141,9 +1141,9 @@ namespace HisenceYoloDetection
|
||||
//}
|
||||
//currentXP = 54964;
|
||||
//Thread.Sleep(2000);//ɾ
|
||||
MoveToP(51043, YPos, ZPos + (int)(dismove));
|
||||
Cam1.Snapshot();
|
||||
MoveToP(5815, YPos, ZPos);
|
||||
//MoveToP(51043, YPos, ZPos + (int)(dismove));
|
||||
//Cam1.Snapshot();
|
||||
MoveToP(7948, YPos, ZPos);
|
||||
melsecPLCTCPDriver.WriteInt("550", 0);//<2F><><EFBFBD><EFBFBD>
|
||||
//Thread.Sleep(300);//ϴ<>»<EFBFBD><C2BB><EFBFBD><EFBFBD>ܹ<EFBFBD><DCB9><EFBFBD>ȥ
|
||||
|
||||
@ -1162,7 +1162,7 @@ namespace HisenceYoloDetection
|
||||
#else
|
||||
myLog("<22><>һ<EFBFBD>βɼ<CEB2>ͼ<EFBFBD><CDBC>", DateTime.Now);
|
||||
//<2F>ƶ<EFBFBD>ģ<EFBFBD><C4A3> <20><><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD>ĵ<EFBFBD>ַ <20><><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>ǰ<EFBFBD>ƶ<EFBFBD>
|
||||
//MoveToP(5815, YPos, ZPos);
|
||||
//MoveToP(7948, YPos, ZPos);
|
||||
Thread.Sleep(1000);//ɾ
|
||||
|
||||
|
||||
@ -1182,7 +1182,7 @@ namespace HisenceYoloDetection
|
||||
//double dismove = disreal - 876;
|
||||
//if (dismove > 0 && dismove < 4000)
|
||||
//{
|
||||
// MoveToP(5815, YPos, ZPos + (int)(dismove));
|
||||
// MoveToP(7948, YPos, ZPos + (int)(dismove));
|
||||
//}
|
||||
Thread.Sleep(1000);//ɾ
|
||||
// Thread.Sleep(500);
|
||||
@ -1202,7 +1202,7 @@ namespace HisenceYoloDetection
|
||||
|
||||
//MoveToP(51043, YPos, ZPos + (int)(dismove));
|
||||
Cam1.Snapshot();
|
||||
//MoveToP(5815, YPos, ZPos);
|
||||
//MoveToP(7948, YPos, ZPos);
|
||||
//if (xKNow != null)
|
||||
//{
|
||||
// MoveToP(xKNow.MoveX, xKNow.MoveY, xKNow.MoveZ);
|
||||
|
Reference in New Issue
Block a user