diff --git a/lwrserv/SvrHandling.cpp b/lwrserv/SvrHandling.cpp index b280f30..b1d1b1a 100755 --- a/lwrserv/SvrHandling.cpp +++ b/lwrserv/SvrHandling.cpp @@ -957,11 +957,7 @@ void SvrHandling::MoveCartesian(SocketObject& client, string& args) ApRobot = ApSurface ; float* tempVec = NULL; tempVec = matToVec(TRobot); - for (int i=0; i<12; i++) - USTarget[i] = tempVec[i]; //tempVec = matToVec(ApRobot); - for (int i=0; i<12; i++) - USApproach[i] = tempVec[i]; client.Send(SVR_TRUE_RSP); __DOUS2 = true; diff --git a/lwrserv/include/global.h b/lwrserv/include/global.h index 0d39727..3399f10 100644 --- a/lwrserv/include/global.h +++ b/lwrserv/include/global.h @@ -22,8 +22,6 @@ extern double MSRMSRJACOBIAN[42]; extern double MSRMSRFTTCP[6]; extern double MSRCMDJNTPOS[7]; extern double MSRCMDPOSE[3][4]; -extern float USTarget[12]; -extern float USApproach[12]; extern double VELOCITY; extern double ACCELARATION; extern double maxVelJnt[LBR_MNJ];